Hello,
I had ojs 3.0.3 which run with php 5.6. I have to switch php to 7.4 therefore trying to upgrade ojs to as latest version as possible. However I was able to upgrade only to 3.1.1-4.
Now I’m trying to upgrade to next version 3.1.2 and I’m on php 7.0.
When I click “Upgrade OJS” page just turned to http error 500.
Please help me to read error_log and point to the direction what has to be fixed.
This is install page: https://revista.ibdh.org.br/index.php/index/install/upgrade
error_log:
[31-Jan-2023 08:25:47 UTC] PHP Warning: Declaration of InstallHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /home/milasx10/public_html/ojs/lib/pkp/pages/install/InstallHandler.inc.php on line 118
[31-Jan-2023 08:25:47 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dbObject has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 106
[31-Jan-2023 08:25:47 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dbTable has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 205
[31-Jan-2023 08:25:47 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dbIndex has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 613
[31-Jan-2023 08:25:47 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dbData has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 774
[31-Jan-2023 08:25:47 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dbQuerySet has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 959
[31-Jan-2023 08:25:47 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; adoSchema has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 1217
[31-Jan-2023 08:25:47 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 263
[31-Jan-2023 08:25:47 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 359
[31-Jan-2023 08:25:47 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[31-Jan-2023 08:25:47 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[31-Jan-2023 08:25:51 UTC] PHP Warning: Declaration of InstallHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /home/milasx10/public_html/ojs/lib/pkp/pages/install/InstallHandler.inc.php on line 118
[31-Jan-2023 08:25:51 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dbObject has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 106
[31-Jan-2023 08:25:51 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dbTable has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 205
[31-Jan-2023 08:25:51 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dbIndex has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 613
[31-Jan-2023 08:25:51 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dbData has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 774
[31-Jan-2023 08:25:51 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dbQuerySet has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 959
[31-Jan-2023 08:25:51 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; adoSchema has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 1217
[31-Jan-2023 08:25:51 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 263
[31-Jan-2023 08:25:51 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 359
[31-Jan-2023 08:25:51 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[31-Jan-2023 08:25:51 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[31-Jan-2023 08:25:54 UTC] PHP Warning: Declaration of InstallHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /home/milasx10/public_html/ojs/lib/pkp/pages/install/InstallHandler.inc.php on line 118
[31-Jan-2023 08:25:54 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dbObject has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 106
[31-Jan-2023 08:25:54 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dbTable has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 205
[31-Jan-2023 08:25:54 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dbIndex has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 613
[31-Jan-2023 08:25:54 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dbData has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 774
[31-Jan-2023 08:25:54 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; dbQuerySet has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 959
[31-Jan-2023 08:25:54 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; adoSchema has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php on line 1217
[31-Jan-2023 08:25:54 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 263
[31-Jan-2023 08:25:54 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 359
[31-Jan-2023 08:25:54 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[31-Jan-2023 08:25:54 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[31-Jan-2023 08:25:54 UTC] PHP Deprecated: Non-static method PKPRequest::isPost() should not be called statically in /home/milasx10/public_html/ojs/lib/pkp/classes/form/validation/FormValidatorPost.inc.php on line 38
[31-Jan-2023 08:25:54 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically in /home/milasx10/public_html/ojs/lib/pkp/classes/core/PKPRequest.inc.php on line 396
[31-Jan-2023 08:25:54 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/drivers/adodb-mysql.inc.php:456
Stack trace:
#0 /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php(558): ADODB_mysql->_connect(‘localhost’, ‘removed’, ‘removed’, ‘removed’)
#1 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(151): ADOConnection->Connect(‘localhost’, ‘removed’, removed’, ‘removed’, false)
#2 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(126): DBConnection->connect()
#3 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(83): DBConnection->initConn()
#4 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(52): DBConnection->initDefaultDBConnection()
#5 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(227): DBConnection->__construct()
#6 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(238): DBConnection::getIn in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/drivers/adodb-mysql.inc.php on line 456
[31-Jan-2023 08:26:08 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 263
[31-Jan-2023 08:26:08 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 359
[31-Jan-2023 08:26:08 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[31-Jan-2023 08:26:08 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[31-Jan-2023 08:26:08 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/drivers/adodb-mysql.inc.php:456
Stack trace:
#0 /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php(558): ADODB_mysql->_connect(‘localhost’, ‘removed’, ‘removed’, ‘removed’)
#1 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(151): ADOConnection->Connect(‘localhost’, ‘removed’, ‘removed’, ‘removed’, false)
#2 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(126): DBConnection->connect()
#3 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(83): DBConnection->initConn()
#4 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(52): DBConnection->initDefaultDBConnection()
#5 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(227): DBConnection->__construct()
#6 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(238): DBConnection::getIn in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/drivers/adodb-mysql.inc.php on line 456
[31-Jan-2023 08:26:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 263
[31-Jan-2023 08:26:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 359
[31-Jan-2023 08:26:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[31-Jan-2023 08:26:18 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[31-Jan-2023 08:26:18 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/drivers/adodb-mysql.inc.php:456
Stack trace:
#0 /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/adodb.inc.php(558): ADODB_mysql->_connect(‘localhost’, ‘removed’, ‘removed’, ‘removed’)
#1 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(151): ADOConnection->Connect(‘localhost’, ‘removed’, ‘removed’, ‘removed’, false)
#2 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(126): DBConnection->connect()
#3 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(83): DBConnection->initConn()
#4 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(52): DBConnection->initDefaultDBConnection()
#5 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(227): DBConnection->__construct()
#6 /home/milasx10/public_html/ojs/lib/pkp/classes/db/DBConnection.inc.php(238): DBConnection::getIn in /home/milasx10/public_html/ojs/lib/pkp/lib/adodb/drivers/adodb-mysql.inc.php on line 456
Thank you.