forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: cboudier on September 07, 2014, 01:34:45 am
-
Hi everybody,
just uploaded the content of the last package cpg1.5.30 (protecting my "albums" folder and the 2 files "any content.php" and "config.inc.php")
Now, when I try to launch my gallery ( http://cboudier.free.fr ), I get this message in Safari :
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /mnt/136/sdb/b/a/cboudier/include/inspekt.php on line 117
I tried re-uploading everything, but still get the same error...
Any idea ?
Thanks
-
You need to re-upload at least the file include/inspekt.php, as it got corrupted during upload. Maybe your downloaded Coppermine package is already corrupted, so I suggest to download a fresh copy before you re-upload the file(s) to your gallery.
-
Thank you André,
I did download a complete new cpg1.5.30, and I changed my old FTP Client to the last FileZilla.
FileZilla reported no errors.
Unfortunately, I get the same error in the browser :-\
NB1 : I edit the file config.inc.php with TextEdit ; should it be the problem ?
NB2 : my previous cpg version was (1.5.24 I think)
-
Do the files actually get uploaded and overwritten, or does FileZilla report some (permission) issues?
-
The files are actually uploaded.
FileZilla report nothing except everything's fine
I just downloaded the file update.php to check : it's the 1.5.30 version.
-
Please download include/inspekt.php and attach it as zip file to your next reply. Additionally, attach the same file from the extracted Coppermine package on your local disk. Please use self-explaining file names.
-
I'll do that... once I'll be sure the problem isn't on my internet provider side (Free) !
The FTP server disconnects regularly, this may be the cause...
(I have difficulties to upload everything in one "shot", I have do to it folder by folder)
Thank you for your help.
I will keep you informed.
-
Hi, it's me again.
The FTP server seems OK now, but I get the same error message :-\
Type
http://cboudier.free.fr
and you get
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /mnt/136/sdb/b/a/cboudier/include/inspekt.php on line 117
Joined files include/inspekt.php from source forge and from my gallery
thanks
-
What's your PHP version? Try if this fixes the issue: http://forum.coppermine-gallery.net/index.php/topic,76999.msg372030.html#msg372030
-
Solved !
André, you're the best :)
The php version was 4.4.3
I upgraded it to 5.1.3RC4-dev (the highest for Free.fr) and now it works
Thanks