Upgrade failed from 3.1.0 to 3.1.1-2

Hello,

I tried to upgrade our OJS site from 3.1.0 to 3.1.1-2 but the upgrade process isn’t running either through the web installation or through the command line process. Clicking ‘Upgrade Open Journal Systems’ on the web install leads to a 500 page. Running it on the command line produces no errors but doesn’t produce any success messages either.

The error_log doesn’t seem to say anything relevant. The only lines from my last attempt were:

[02-Jul-2018 10:09:12 UTC] PHP Strict Standards: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/radicall/public_h
tml/journal/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[02-Jul-2018 10:09:12 UTC] PHP Strict Standards: Declaration of InstallHandler::validate() should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /home/radica
ll/public_html/journal/lib/pkp/pages/install/InstallHandler.inc.php on line 118
[02-Jul-2018 10:09:12 UTC] PHP Deprecated: Non-static method PKPRequest::isPost() should not be called statically, assuming $this from incompatible context in /home/radicall/public_html/journal/li
b/pkp/classes/form/validation/FormValidatorPost.inc.php on line 38
[02-Jul-2018 10:09:12 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/radicall/public_html/journa
l/lib/pkp/classes/core/PKPRequest.inc.php on line 396
[02-Jul-2018 10:09:12 UTC] PHP Deprecated: Non-static method VersionCheck::getCurrentCodeVersion() should not be called statically, assuming $this from incompatible context in /home/radicall/publi
c_html/journal/lib/pkp/classes/install/form/MaintenanceForm.inc.php on line 37
[02-Jul-2018 10:09:12 UTC] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/radicall/public_html/journa
l/lib/pkp/classes/form/Form.inc.php on line 369
[02-Jul-2018 10:09:12 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/radicall/public_html/journa
l/lib/pkp/classes/core/PKPRequest.inc.php on line 592
[02-Jul-2018 10:09:12 UTC] PHP Strict Standards: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/radicall/public_h
tml/journal/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[02-Jul-2018 10:09:48 UTC] PHP Strict Standards: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/radicall/public_h
tml/journal/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[02-Jul-2018 10:09:51 UTC] PHP Strict Standards: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/radicall/public_h
tml/journal/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[02-Jul-2018 10:10:22 UTC] PHP Strict Standards: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/radicall/public_h
tml/journal/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[02-Jul-2018 10:14:48 UTC] PHP Strict Standards: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/radicall/public_h
tml/journal/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386
[02-Jul-2018 10:15:00 UTC] PHP Strict Standards: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/radicall/public_h
tml/journal/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386

We’re running PHP v5.6.

Any assistance would be much appreciated.

Hi,

I managed to resolve this. We’re using CPanel and our version of PHP did not have the ‘mysql’ module enabled; only the ‘mysqli’ module. The command line upgrade worked after enabled this PHP module.

Thanks.

1 Like

I was able to solve this by editing the config.inc.php file and changing the driver to mysqli instead of mysql.