1.5.48 --> 1.6.07 Parse error message while running update.php 1.5.48 --> 1.6.07 Parse error message while running update.php
 

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

1.5.48 --> 1.6.07 Parse error message while running update.php

Started by cboudier, October 27, 2019, 11:50:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cboudier

Hello
Don't know what went wrong, but my gallery is down now.
I tried to upgrade manually from 1.5.48 to 1.6.07 (made a backup of my SQL database, anycontent.php, albums folder and conf.inc.php and then upload all the 1.6.07 files and folders),
but when running update.php, I get this :
Parse error: syntax error, unexpected ':' in /mnt/136/sdb/b/a/cboudier/update.php on line 458

If now I try to run cpg_installer_stub.php I get this error message :
Parse error: syntax error, unexpected ':' in /mnt/136/sdb/b/a/cboudier/cpg_installer_stub.php on line 227

Any idea ?
Thanks

My Coppermine gallery is here --> http://cboudier.free.fr

ron4mac


cboudier

Thank you for your fast answer !
Unfortunately, I can't do anything about this (it's from my internet provider), so what should I do ?
revert to 1.5.48 ?

ron4mac

Ask your provider to upgrade the PHP version used on your site or revert to 1.5.48

cboudier

Thanks again for your help.
I found a way to force the use of PHP 5.6 (via a .htaccess file) and now it's online again :)

Bye