Browser error after update to 1.5.30 Browser error after update to 1.5.30
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Browser error after update to 1.5.30

Started by cboudier, September 07, 2014, 01:34:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cboudier

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

Αndré

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.

cboudier

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)

Αndré

Do the files actually get uploaded and overwritten, or does FileZilla report some (permission) issues?

cboudier

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.

Αndré

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.

cboudier

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.

cboudier

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

Αndré


cboudier

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