coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: mikeall on January 24, 2005, 09:53:23 PM

Title: Parse error: parse error, unexpected $ in /include/init.inc.php on line 263
Post by: mikeall on January 24, 2005, 09:53:23 PM
I am getting this after doing an upgrade.
Parse error: parse error, unexpected $ in /home/craftcards/public_html/cards/include/init.inc.php on line 263
http://craftcards.82au.com/cards/
Followed all the steps explained in the doc but something isn't right?
Title: Re: Parse error: parse error, unexpected $ in /include/init.inc.php on line 263
Post by: Casper on January 24, 2005, 10:06:32 PM
Did you make sure to replace ALL the files in your install except the 2 mentioned in the docs, include/config.inc.php and anycontent.php.  Install.lock should also be saved, but would not cause this error.

It sounds as if some files were not replaced.
Title: Re: Parse error: parse error, unexpected $ in /include/init.inc.php on line 263
Post by: mikeall on January 25, 2005, 06:44:51 AM
Quote from: Casper on January 24, 2005, 10:06:32 PM
It sounds as if some files were not replaced.
All better now!

When I was originally uploading the upgrade files I was getting an error saying the disk quota was full. I had the site limited to 10mb so it was full. The file dates were being changed and not the files themselves. So I asked the ftp app to sync the files but it went off the dates and the ones on the server were newer so nothing got updated. When I looked at the file sizes on the  server and my computer, I noticed the server files were always smaller. I then re uploaded all the files (after addressing the quota issue 0 removing the limitation) and then the site worked fine!
Title: Re: Parse error: parse error, unexpected $ in /include/init.inc.php on line 263
Post by: Joachim Müller on January 25, 2005, 09:11:47 AM
see http://coppermine.sourceforge.net/faq.php#minimumInstall as well

Joachim