@abstr4kt wrote:
Hi there,
i'm trying to upgrade ojs from 2.4.8 to 3.0.2 but i'm encountering various error that make me stuck on 2.4.8:
First of all i falled in trouble with the database charset, i got my ojs database charset in latin1 so the first step i did was to convert the charset and collation from latin1 to utf8 using iconv and manual altering table, after that i tryed to upgrade the database using cli command (php tools/update.php upgrade) but the upgrade (leaving the thousand PHP Strict Standards Warning) hangs returning this error:Fatal error: Call to a member function getCategory() on null ../../....PKPSubmissionFileDAO.inc.php on line 755
Because i'm also upgrading the mysql server from Ver 14.14 Distrib 5.1.61 to Ver 15.1 Distrib 10.0.26-MariaDB i also tryed to upgrade ojs using the old mysql server (Ver 14.14 Distrib 5.1.61) and finally i get:
Successfully upgraded to version 3.0.2.0
But despite the happy ending message the ojs have lost many of it's functionallity as well as users roles (my user is not admin any more) also exporting the new "succesfully" upgraded database in the more recent mysql server i get the same result.
Looking at the apache2 error log i found many of this message:ojs2 has produced an error\n Message: WARNING: Cannot use a scalar value as an array\n In file: /var/www/ojs/classes/journal/JournalSettingsDAO.inc.php\n At line: 83\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.23-pl0-gentoo\n Apache Version: Apache\n DB Driver: mysql\n DB server version: 10.0.26-MariaDB-wsrep,
any help?am i missing something?
thanks in advanceP.S. sorry for my bad english
Posts: 2
Participants: 2