coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: ritdan on October 22, 2009, 07:43:39 PM

Title: Parse Error
Post by: ritdan on October 22, 2009, 07:43:39 PM
Hello! I've just completed with the installation but it seems that there's an error:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/a1851682/public_html/cpg14x/include/init.inc.php on line 265

What does this mean?


Title: Re: Parse Error
Post by: Joe Carver on October 22, 2009, 09:13:52 PM
The file must be damaged.

Get a clean copy of Coppermine 1.4.25 from here: Downloads (http://sourceforge.net/project/showfiles.php?group_id=89658)

Because you have one damaged file and this looks to be a new installation my best advice would be to use the complete package from Downloads for your installation. This would be better than replacing one file at a time.
Title: Re: Parse Error
Post by: Jeff Bailey on October 22, 2009, 09:20:54 PM
Post a link to your gallery (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616).
Search the board next time. (http://forum.coppermine-gallery.net/index.php?action=search2;params=YWR2YW5jZWR8J3wxfCJ8YnJkfCd8OTAsMTEyLDExMywxMTQsMTA5LDExNSwxMTEsOTcsOTEsOTQsOTUsMTA0LDExNiwxMTAsMTE3LDQ2LDUwLDExOCw1Miw0Nyw5OCw1NCw0OSw1Myw2NiwxMDAsNTEsNjQsNDgsNTksODcsODYsMTQsMzcsMzgsMzksNDEsOTYsNTUsNjcsODksODgsMzAsMzQsMjAsMjEsMjIsMjMsMjQsMjUsMjYsMzEsMjgsNiw2NSwxOCw0LDMsMiw1OCwxMiw4NCw2OSw3Niw3MSw1Nyw3MCw4MCw4Myw4MSw3OCw3NCw3Myw3OSw3Miw4Miw3NywzMyw3NSw3LDQzLDQ1LDM1LDEwMiw2OCw4NSwxMDYsMjksMTA3LDE5LDYyLDEwOCw5OXwifHNob3dfY29tcGxldGV8J3x8InxzdWJqZWN0X29ubHl8J3x8Inxzb3J0X2RpcnwnfGRlc2N8Inxzb3J0fCd8cmVsZXZhbmNlfCJ8c2VhcmNofCd8dW5leHBlY3RlZCBUX0NPTlNUQU5UX0VOQ0FQU0VEX1NUUklORw==)
Did you perform the install as the docs suggest (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#installation) or did you use an auto installer like fantastico?
You probably just have to:
Quote from: Joachim Müller on June 16, 2009, 01:12:14 PM
That error message just means that the file the error message complains about is broken, that's all. ... Restore a copy of that file that isn't broken.