- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE)
- bkomanet
- Topic Author
- Offline
- New Member
Less
More
2 years 6 months ago - 2 years 6 months ago #220386
by bkomanet
syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) was created by bkomanet
Hi!
After updating my Mint Linux server to v20, MySQL was also updated and my LimeSurvey stopped working completely. So, I decided to move to the newest lime survey software. I downloaded the code, extracted it into /var/www/html/limesurvey. Issued these commands:sudo chown -R www-data:www-data /var/www/html/limesurvey/
sudo chmod -R 755 /var/www/html/limesurvey/
Went to the URL showing the welcome page, clicked next to the license page, clicked next and got this:
syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE)
I can normally figure these things out, but this one is a tough one. Any ideas?
I have PHP 7.4.3 installed and mysql v8.
Thanks in advance!
After updating my Mint Linux server to v20, MySQL was also updated and my LimeSurvey stopped working completely. So, I decided to move to the newest lime survey software. I downloaded the code, extracted it into /var/www/html/limesurvey. Issued these commands:sudo chown -R www-data:www-data /var/www/html/limesurvey/
sudo chmod -R 755 /var/www/html/limesurvey/
Went to the URL showing the welcome page, clicked next to the license page, clicked next and got this:
syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE)
I can normally figure these things out, but this one is a tough one. Any ideas?
I have PHP 7.4.3 installed and mysql v8.
Thanks in advance!
Last edit: 2 years 6 months ago by bkomanet.
The topic has been locked.
- bkomanet
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
2 years 6 months ago #220387
by bkomanet
Replied by bkomanet on topic syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE)
BTW, this was on the newest v5.x version of Lime Survey. When I re-install the LTS version (3.x), the problem went away after enforcing mysql_native_password in mySQL. So, my survey server is back up, but I cannot use the latest 5.x version
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
2 years 6 months ago #220442
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE)
Please : report issue about installation :
community.limesurvey.org/bug-tracker/
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.