CodeIgniter Forums
I have a problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: I have a problem (/showthread.php?tid=68299)



I have a problem - weserve - 06-21-2017

i have error ==> Parse error: syntax error, unexpected T_CONST in /home/weserveint/domains/weserve.in.th/public_html/WeShop/system/core/CodeIgniter.php on line 58

help me pls. 

remark ==> version 3.1.4  up


RE: I have a problem - skunkbad - 06-21-2017

If it were me, I'd try to replace the file, and if that didn't work I'd try to replace the /system directory.


RE: I have a problem - Paradinight - 06-21-2017

(06-21-2017, 05:30 AM)weserve Wrote: i have error ==> Parse error: syntax error, unexpected T_CONST in /home/weserveint/domains/weserve.in.th/public_html/WeShop/system/core/CodeIgniter.php on line 58

help me pls. 

remark ==> version 3.1.4  up

Update the php version. You php version is too old Smile


RE: I have a problem - AdepDev - 05-24-2018

Hello eveyone!, 

I am having the same problem . I made sure my php version is correct and still no luck. How did you resolve this? 

Parse error: syntax error, unexpected T_CONST ... system/core/CodeIgniter.php on line 58

Thanks, Chase


RE: I have a problem - Paradinight - 05-24-2018

(05-24-2018, 06:48 AM)AdepDev Wrote: Hello eveyone!, 

I am having the same problem . I made sure my php version is correct and still no luck. How did you resolve this? 

Parse error: syntax error, unexpected T_CONST ... system/core/CodeIgniter.php on line 58

Thanks, Chase

Check the phpinfo and say us the phpversion


RE: I have a problem - InsiteFX - 05-24-2018

I don't having any problems running version 3 or 4 with php version 7.2.5

Could be corrupted files on the download or the php version.