CodeIgniter Forums

Full Version: Parse error: syntax error, unexpected '$autoload' (T_VARIABLE) in
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Parse error: syntax error, unexpected '$autoload' (T_VARIABLE) in /opt/lampp/htdocs/codeigniter-login-registration/application/config/autoload.php on line 106
A PHP Error was encountered
Severity: Parsing Error
Message: syntax error, unexpected '$autoload' (T_VARIABLE)
Filename: config/autoload.php
Line Number: 106
Backtrace:

How is purticular error msg in my program.......
It sounds like your config/autoload.php has a syntax error in it.
Your should post it here, with bbcode markup and with any sensitive information redacted.
can be a missing semi-colon quote mark etc;
(02-19-2018, 10:08 PM)aravind Wrote: [ -> ]Parse error: syntax error, unexpected '$autoload' (T_VARIABLE) in /opt/lampp/htdocs/codeigniter-login-registration/application/config/autoload.php on line 106
A PHP Error was encountered
Severity: Parsing Error
Message: syntax error, unexpected '$autoload' (T_VARIABLE)
Filename: config/autoload.php
Line Number: 106
Backtrace:

How is purticular error msg in my program.......
there are many cases when the i faced the very same error and SEMI-COLON (;) was the reason check 105 line of your code there is a big possiblilty that you messed up with semi colon or with name of your variable. hope this will resolve your issue . Heart