forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 upgrading => Topic started by: cboudier on October 27, 2019, 11:50:24 pm

Title: 1.5.48 --> 1.6.07 Parse error message while running update.php
Post by: cboudier on October 27, 2019, 11:50:24 pm
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
Title: Re: 1.5.48 --> 1.6.07 Parse error message while running update.php
Post by: ron4mac on October 28, 2019, 12:02:32 am
You must be using PHP 5.3 or newer.
Title: Re: 1.5.48 --> 1.6.07 Parse error message while running update.php
Post by: cboudier on October 28, 2019, 12:10:43 am
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 ?
Title: Re: 1.5.48 --> 1.6.07 Parse error message while running update.php
Post by: ron4mac on October 28, 2019, 12:17:56 am
Ask your provider to upgrade the PHP version used on your site or revert to 1.5.48
Title: Re: 1.5.48 --> 1.6.07 Parse error message while running update.php
Post by: cboudier on October 28, 2019, 12:36:09 am
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