Jump to content
xisto Community
iGuest

Parse Error: Syntax Error, Unexpected T_String, Expecting ',' Or ';' In /home/intelekt/public_Html/configuration.php On Line 20

Recommended Posts

i am new in php :

 

i am write in my web :

 

'http://forums.xisto.com/no_longer_exists/ $log_path 'home','intelekt','public_html','logs';

 

and then out this error :

 

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/intelekt/public_html/configuration.php on line 20

 

what is this means ?..

 

Thank For your attentions.

 

 

Share this post


Link to post
Share on other sites

My first response would be to suggest that you list the entire code from line 1 (or zero if you know Binary :P ) to the line number 20 described in the error message since the error is typically prior to the stated line and not necessarily in that same listed line number.

Are you using the single quoted values as variables? Are you trying to print the values? Are you concatenating the variables?

I suspect you will find that there is a mismatched number of single quotes or a single quote might need to be escaped. That error message means the Parser can not find the End of Statement as defined by the semi-colon.

Posting the code is your next step.

Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.