CodeIgniter Forums
Parse error: syntax error in system/core/Security.php on line 620 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19)
+--- Thread: Parse error: syntax error in system/core/Security.php on line 620 (/showthread.php?tid=1587)



Parse error: syntax error in system/core/Security.php on line 620 - olde86 - 03-23-2015

Hi, I keep hitting this error on my production server.


Code:
Parse error: syntax error, unexpected '?' system/core/Security.php on line 620

My local testing machine running mamp does not produce this error.

Does anyone know what the problem could be?


RE: Parse error: syntax error in system/core/Security.php on line 620 - John_Betong - 03-23-2015

I am running CI RC3 and I checked my Online ./CodeIgniter-3-0rc3/system/core/Security.php

and this was the line 620:

* @param string $charset Character set

I think you should first check to ensure you have the correct file version and also upload your local Security.php