4images Forum & Community

General / Allgemeines => Programming => Topic started by: ccsakuweb on October 03, 2011, 01:50:44 PM

Title: Problem after update php to 5.3.3 unexpected T_CONSTANT_ENCAPSED_STRING
Post by: ccsakuweb on October 03, 2011, 01:50:44 PM
After the update from php 5.1 to 5.3.3 my website doesn't work.

I have this error in the error log.

Quote
[Mon Oct 03 04:03:25 2011] [error] [client 65.99.235.248] PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_STRING in .../httpdocs/tophits3.php on line 29

I need help to fix it, I don't know where is the error to fix.
Title: Re: Problem after update php to 5.3.3 unexpected T_CONSTANT_ENCAPSED_STRING
Post by: Rembrandt on October 03, 2011, 02:39:18 PM
i think you have a problem with single and double quotes
Title: Re: Problem after update php to 5.3.3 unexpected T_CONSTANT_ENCAPSED_STRING
Post by: V@no on October 03, 2011, 02:53:24 PM
You forgot attach the file (tophits3.php) or show first 50 lines from that file.
Title: Re: Problem after update php to 5.3.3 unexpected T_CONSTANT_ENCAPSED_STRING
Post by: ccsakuweb on October 03, 2011, 07:51:44 PM
wow  You are right Rembrandt. It was that. A bad double quote with concatenation.
But I don't understand, why this error has happened after the installation of php 5.3. I have not changed tophits3.php for years. Now I have fear that it happens again in another php file and in another page, with no notice of me.