Quantcast
Channel: PKP Community Forum - Latest topics
Viewing all articles
Browse latest Browse all 27313

2.4.5 upgrade to 3.1.1-2 fails

$
0
0

@Lolekbolek wrote:

Greetings!

I am trying to move a journals from OJS 2.4.5 on Ubuntu to 3.1.1-2 in XAMPP on Windows Server 2016 on a test VMWare Workstation. I copied the new OJS files into XAMPP/htdocs/journals, removed the “read only” attribute from the prescribed folders and imported mysqldump into MariaDB.

Server type: MariaDB 10.1.32
Web server: Apache/2.4.33 (Win32) OpenSSL/1.1.0h PHP/7.2.5
PHP extension: mysqli, curl, mbstring

Now, when I run upgrade in a browser, after 45 minutes it shows me:

DB Error: Column ‘user_id’ cannot be null.

After setting “installed” to “on” in config.inc.php, I can see that the journal lost all its visual formatting, but I can login into the admin interface and see that I am still on the same 2.4.5 version. I read through similar upgrade question in the forum, but I am still lost. What should I try to successfully upgrade?

Bellow is the php_error_log:

[18-Jul-2018 19:08:20] PHP Notice: Only variables should be assigned by reference in C:\xampp\htdocs\journal\index.php on line 63
[18-Jul-2018 19:08:20] ojs2: DB Error: Unknown column ‘context_id’ in ‘on clause’
[18-Jul-2018 19:08:55] PHP Notice: Only variables should be assigned by reference in C:\xampp\htdocs\journal\index.php on line 63
[18-Jul-2018 19:08:56] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in C:\xampp\htdocs\journal\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php on line 386
[18-Jul-2018 19:08:56] PHP Notice: Only variables should be assigned by reference in C:\xampp\htdocs\journal\index.php on line 63
[18-Jul-2018 19:08:56] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in C:\xampp\htdocs\journal\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php on line 386
[18-Jul-2018 19:08:56] PHP Warning: Declaration of InstallHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in C:\xampp\htdocs\journal\lib\pkp\pages\install\InstallHandler.inc.php on line 118
[18-Jul-2018 19:08:57] PHP Notice: Only variables should be assigned by reference in C:\xampp\htdocs\journal\index.php on line 63
[18-Jul-2018 19:08:57] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in C:\xampp\htdocs\journal\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php on line 386
[18-Jul-2018 19:08:59] PHP Notice: Only variables should be assigned by reference in C:\xampp\htdocs\journal\index.php on line 63
[18-Jul-2018 19:08:59] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in C:\xampp\htdocs\journal\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php on line 386
[18-Jul-2018 19:09:00] PHP Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\journal\cache\t_compile\e8ea13aa559bf8604ca823015b397a28d8666486^%%8B^8BC^8BC56207%%usernav.tpl.php on line 100
[18-Jul-2018 19:09:06] PHP Notice: Only variables should be assigned by reference in C:\xampp\htdocs\journal\index.php on line 63
[18-Jul-2018 19:09:06] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in C:\xampp\htdocs\journal\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php on line 386
[18-Jul-2018 19:09:06] PHP Warning: Declaration of InstallHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in C:\xampp\htdocs\journal\lib\pkp\pages\install\InstallHandler.inc.php on line 118
[18-Jul-2018 19:09:09] PHP Notice: Only variables should be assigned by reference in C:\xampp\htdocs\journal\index.php on line 63
[18-Jul-2018 19:09:09] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in C:\xampp\htdocs\journal\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php on line 386
[18-Jul-2018 19:09:09] PHP Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\journal\cache\t_compile\e8ea13aa559bf8604ca823015b397a28d8666486^%%8B^8BC^8BC56207%%usernav.tpl.php on line 100
[18-Jul-2018 19:09:48] PHP Notice: Only variables should be assigned by reference in C:\xampp\htdocs\journal\index.php on line 63
[18-Jul-2018 19:09:48] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in C:\xampp\htdocs\journal\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php on line 386
[18-Jul-2018 19:09:48] PHP Warning: Declaration of InstallHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in C:\xampp\htdocs\journal\lib\pkp\pages\install\InstallHandler.inc.php on line 118
[18-Jul-2018 19:10:08] PHP Notice: Only variables should be assigned by reference in C:\xampp\htdocs\journal\lib\pkp\classes\db\DBDataXMLParser.inc.php on line 122
<… the DBDataXMLParser.inc.php message repeats a dozen times …>
[18-Jul-2018 19:10:13] PHP Notice: Only variables should be assigned by reference in C:\xampp\htdocs\journal\lib\pkp\classes\db\DBDataXMLParser.inc.php on line 122
[18-Jul-2018 19:51:03] PHP Warning: Declaration of SubmissionLanguageEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in C:\xampp\htdocs\journal\lib\pkp\classes\submission\SubmissionLanguageEntryDAO.inc.php on line 20
[18-Jul-2018 19:51:04] PHP Warning: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in C:\xampp\htdocs\journal\lib\pkp\classes\submission\SubmissionKeywordEntryDAO.inc.php on line 45
[18-Jul-2018 19:51:08] PHP Warning: Declaration of SubmissionDisciplineEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in C:\xampp\htdocs\journal\lib\pkp\classes\submission\SubmissionDisciplineEntryDAO.inc.php on line 44
[18-Jul-2018 19:51:09] PHP Warning: Declaration of SubmissionAgencyEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in C:\xampp\htdocs\journal\lib\pkp\classes\submission\SubmissionAgencyEntryDAO.inc.php on line 44
[18-Jul-2018 19:51:31] PHP Warning: Declaration of SubmissionSubjectEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in C:\xampp\htdocs\journal\lib\pkp\classes\submission\SubmissionSubjectEntryDAO.inc.php on line 44
[18-Jul-2018 19:52:51] ojs2: DB Error: Column ‘user_id’ cannot be null

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 27313

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>