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: Parse error: on line 229? madness!  (Read 6153 times)

0 Members and 1 Guest are viewing this topic.

andover

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Parse error: on line 229? madness!
« on: December 22, 2005, 01:32:59 pm »

Greetings,
I recently had a problem with uploading images and it was down to the server being in Safe Mode apparently, I followed the steps here:

http://forum.coppermine-gallery.net/index.php?topic=23342.0

I added it to both GD1 and GD2, that seemed to have cleared, but now i'm getting the error:

Parse error: parse error, unexpected $ in /var/www/web address/htdocs/cpg132/include/picmgmt.inc.php on line 229

I checked the code and line 229 is the last comment on the last line of the code. Which says "// We check that"

Anyone have any ideas?

Thanking you in advance.
« Last Edit: December 22, 2005, 07:10:00 pm by Abbas Ali »
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Parse error: on line 229? madness!
« Reply #1 on: December 22, 2005, 01:41:40 pm »

Try removing that comment line.
Logged
Chief Geek at Ranium Systems

andover

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Parse error: on line 229? madness!
« Reply #2 on: December 22, 2005, 01:44:02 pm »

no luck. :/
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Parse error: on line 229? madness!
« Reply #3 on: December 22, 2005, 03:31:22 pm »

Attach that file here.
Logged
Chief Geek at Ranium Systems

andover

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Parse error: on line 229? madness!
« Reply #4 on: December 22, 2005, 04:13:41 pm »

try this, thanks
Logged

Nibbler

  • Guest
Re: Parse error: on line 229? madness!
« Reply #5 on: December 22, 2005, 05:07:53 pm »

The file is truncated. Get a fresh copy of the file from the package, modify it as in the thread and then upload it again.
Logged

andover

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Parse error: on line 229? madness!
« Reply #6 on: December 22, 2005, 06:03:14 pm »

i can see the code im missing from the fresh file.
cheers nibbler!
Logged

andover

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Parse error: on line 229? madness!
« Reply #7 on: December 22, 2005, 06:04:11 pm »

and Abbas Ali  :D
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 16 queries.