Advanced search  

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]

Pages: [1]   Go Down

Author Topic: index.php error  (Read 3094 times)

0 Members and 1 Guest are viewing this topic.

Leedie

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
index.php error
« 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  :)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: index.php error
« Reply #1 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.