Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: index.php error  (Read 3117 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.019 seconds with 20 queries.