coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: koobos on March 25, 2005, 07:59:59 PM

Title: Parse error: parse error, unexpected $ in /home/johnston/public_html/pics/includ
Post by: koobos on March 25, 2005, 07:59:59 PM
Hi

I did a cpanel upgrade a few months ago. Every since, I've been getting this error on my index.php page:

Parse error: parse error, unexpected $ in /home/johnston/public_html/pics/include/functions.inc.php on line 1142

Can anyone tell my why this is happening and what I might do to fix it?

Thanks!

Scott
Title: Re: Parse error: parse error, unexpected $ in /home/johnston/public_html/pics/includ
Post by: Tranz on March 25, 2005, 08:11:48 PM
Easiest thing is to download a fresh copy from the CVS.
http://cvs.sourceforge.net/viewcvs.py/coppermine/stable/index.php?rev=1.16&view=log
Title: Re: Parse error: parse error, unexpected $ in /home/johnston/public_html/pics/includ
Post by: koobos on March 25, 2005, 10:27:26 PM
Thanks for the response. I had done that originally after seeing that suggestion elsewhere on the board. Any other suggestions?

Thank you!
Title: Re: Parse error: parse error, unexpected $ in /home/johnston/public_html/pics/includ
Post by: Tranz on March 25, 2005, 10:46:13 PM
Did you do it for functions.inc.php? I thought the error was on the index page but the error message points to functions.inc.php
Title: Re: Parse error: parse error, unexpected $ in /home/johnston/public_html/pics/in
Post by: koobos on March 26, 2005, 12:58:28 AM
Yes, I did both.
Title: Re: Parse error: parse error, unexpected $ in /home/johnston/public_html/pics/in
Post by: koobos on March 26, 2005, 01:01:36 AM
The first error I got was similar untill I replaced the index.php then I got the functions.inc.php error.