index.php error index.php error
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

index.php error

Started by Leedie, May 19, 2013, 10:33:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Leedie

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  :)

ΑndrĂ©

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.