index.php error index.php error
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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.