coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: andover on December 22, 2005, 01:32:59 PM

Title: Parse error: on line 229? madness!
Post by: andover 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.
Title: Re: Parse error: on line 229? madness!
Post by: Abbas Ali on December 22, 2005, 01:41:40 PM
Try removing that comment line.
Title: Re: Parse error: on line 229? madness!
Post by: andover on December 22, 2005, 01:44:02 PM
no luck. :/
Title: Re: Parse error: on line 229? madness!
Post by: Abbas Ali on December 22, 2005, 03:31:22 PM
Attach that file here.
Title: Re: Parse error: on line 229? madness!
Post by: andover on December 22, 2005, 04:13:41 PM
try this, thanks
Title: Re: Parse error: on line 229? madness!
Post by: Nibbler 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.
Title: Re: Parse error: on line 229? madness!
Post by: andover on December 22, 2005, 06:03:14 PM
i can see the code im missing from the fresh file.
cheers nibbler!
Title: Re: Parse error: on line 229? madness!
Post by: andover on December 22, 2005, 06:04:11 PM
and Abbas Ali  :D