coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: Nightwalker on July 18, 2005, 05:32:34 AM

Title: Upgrading to 1.3.3 - Parsing Error When Running update.php
Post by: Nightwalker on July 18, 2005, 05:32:34 AM
After uploading to cpg1.3.3 and running update.php, the "update complete" page comes up. When I clicked on "Let's Continue!", I get to the index.php page with this error message:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home2/sheba67/public_html/Coppermine/include/init.inc.php on line 185

I've already downloaded 1.3.3 again and reloaded it to the server, and I still get the same error. I'm not sure what do next.

site url : http://darthsheba.ripside.com/Coppermine
Title: Re: Upgrading to 1.3.3 - Parsing Error When Running update.php
Post by: Joachim Müller on July 18, 2005, 08:52:36 AM
make sure you have uploaded using an actual FTP app, not some crap solution like MS Frontpage or similar (because MS Frontpage "beautifies" the code when uploading, destroying it this way). Make sure you have used the proper mode in your FTP app (use the "auto" option if available, or "ascii" for php files. If this doesn't help, try uploading the files using "binary" mode).
Title: Re: Upgrading to 1.3.3 - Parsing Error When Running update.php
Post by: Nightwalker on July 18, 2005, 03:45:27 PM
I reloaded every php document in Text mode (same as ASCII for Fetch users). Everything seems to be working fine now.

Thank ye much!  ;D