problem while running coppermine after transfer to webserver from localhost problem while running coppermine after transfer to webserver from localhost
 

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]

Main Menu

problem while running coppermine after transfer to webserver from localhost

Started by obay, July 18, 2007, 12:05:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

obay

Help!?

I installed and customized Coppermine (cpg1412) on my localhost (xampplite) under htdocs/mysite/gallery (instead of the default htdocs/cpg1412). Everything beautiful and ready so I uploaded to my server. Everything in my site works, all pages, databases etc.. expect now the Coppermine index.php gives the error:

Parse error: parse error, unexpected $, expecting T_VARIABLE or '$' in /home/content/v/s/o/vsonline/html/demos/mysite/gallery/include/functions.inc.php on line 1681

I check the said file and there doesn't seem to be anything wrong with that line:

global $CONFIG, $AUTHORIZED;

Coppermine doesn't work :( I've tried reinstalling on the web server by deleting the install.lock and running install.php again right on the server. Install fine, but still the error is there. I don't have any idea what could be wrong and I don't know where to start. Any help appreciated, thanks!

Abbas Ali

Reupload index.php file. If the line in question seems fine then there might be some mismatching brace in the code.
Chief Geek at Ranium Systems

obay

there can't be any mismatching brace because i never even opened the file before. i've only edited manually the files inside my customized theme. still having the same problem after reuploding index.php. but still works offline. help?

Joachim Müller

Possible file corruption may not only be caused by user editing the file. Hard disk or transfer (FTP) issues might corrupt the file as well. Do as suggested and replace the file with a clean copy of a fresh package.

Abbas Ali

Chief Geek at Ranium Systems