forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: Leedie on May 19, 2013, 10:33:28 pm

Title: index.php error
Post by: Leedie on May 19, 2013, 10:33:28 pm
I didn't do anything, I didn't edit the index.php file, but still, I woke up one day with this error: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/hqdesign/public_html/portofolio/index.php on line 211

the 211 line is:

$sUserAgent = strtolower($_SERVER['HTTP_USER_AGENT']); //  Looks for google serch bot

What can possibly be wrong since I didn't edit the file?
Heelp, thanks  :)
Title: Re: index.php error
Post by: Αndré on May 21, 2013, 11:46:11 am
Please replace the index.php file with a clean copy from the Coppermine package. It's hard to tell why it got changed. Maybe your hoster run an automated script, maybe you got hacked, maybe something else happened.

As this seems to be no bridge issue, I'll move your thread accordingly.