I am using a local installation on linux apache2, php 5.6. I upgraded applying line command patch, and it worked fine., but when I tried to update database, I got this message:
sudo php tools/upgrade.php upgrade
[sudo] password for manuel:
PHP Deprecated: Non-static method PKPApplication::defineExposedConstant() should not be called statically in /var/www/html/relatlocal/relat/lib/pkp/classes/core/PKPApplication.inc.php on line 545
PHP Deprecated: Non-static method PKPApplication::getExposedConstants() should not be called statically in /var/www/html/relatlocal/relat/lib/pkp/classes/core/PKPApplication.inc.php on line 513
PHP Fatal error: Cannot use ‘String’ as class name as it is reserved in /var/www/html/relatlocal/relat/lib/pkp/classes/core/String.inc.php on line 57
On home page I get this:
DB Error: Unknown column ‘domain’ in ‘field list’
Thanks
Hi Alec,
Thank you very much. I repeated the process issuing sudo php5.6 tools/upgrade.php upgrade, and it worked right. But, now I have a a new problem: I cannot access to administration pages, though I introduce same user and password as in on-line version, where it works.
Thanks
Hi Alec,
I am Manuel and I am the webmanager of an ojs site.
I am trying to have a local mirror of my website (www.relat.org , ojs 2.4.1.0). Since I made some customizations, I would like to check what happens if I update it locally, then, if needed, repeat or adapt my customizations, and then upload and put it on line.
My system is ubuntu 17.10 with LAMP (Apache/2.4.27 (Ubuntu)
Versión del cliente de base de datos: libmysql - mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
extensión PHP: mysqliDocumentación mbstringDocumentación
Versión de PHP: 5.6.34-1+ubuntu17.10.1+deb.sury.org+1)
Firstly I download all on line files and the database. The site works, though not completely: for instance, there is nor local versions neither buttons to change them. But, when I try to login to access to management pages, I get the error message “wrong user or password”. Database is utf8.
I have followed the update instructions. After issuing php terminal instruction, the message was Successful update.
Thanks in advance
nginx/1.11.10
Versión del cliente de base de datos: libmysql - mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
extensión PHP: mysqliDocumentación curlDocumentación mbstringDocumentación
Versión de PHP: 5.6.30
Hi again,
I have change my laptop and I’ve got it, my localhost copy works fine. So I’m trying to upgrade from 2.4.0 to 3.1.0.1 But in updating by web (localhost/…/InstallUpgrade) I get this error: Specifified key was too long; max key length is 767 bytes"