Hi, I want to upgrade my ojs 2.4.8-4 to 3.1.2 but failed.
i’m using php version 7.0.33 for this upgrade, but previously for running ojs 2.4.8-4 the php version is 5.6.40.
the CLI always ended in
[code]…
[data: dbscripts/xml/upgrade/3.0.0_scheduledTasks.xml]
[code: Installer Installer::localizeCustomBlockSettings]
[code: Installer Installer::convertEditorDecisionNotes]
[code: Installer Installer::convertQueries]
[code: Installer Installer::migrateFiles]
[code: Installer Installer::convertSupplementaryFiles]
C:\wamp64\www\ojs-3.1.2>
with php error log like this
[11-Mar-2019 04:45:58 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb-xmlschema.inc.php on line 106
[11-Mar-2019 04:45:58 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb-xmlschema.inc.php on line 205
[11-Mar-2019 04:45:58 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb-xmlschema.inc.php on line 613
[11-Mar-2019 04:45:58 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb-xmlschema.inc.php on line 774
[11-Mar-2019 04:45:58 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb-xmlschema.inc.php on line 959
[11-Mar-2019 04:45:58 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb-xmlschema.inc.php on line 1217
[11-Mar-2019 04:45:58 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb.inc.php on line 263
[11-Mar-2019 04:45:58 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb.inc.php on line 359
[11-Mar-2019 04:45:58 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb.inc.php on line 2921
[11-Mar-2019 04:45:58 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb.inc.php on line 3939
[11-Mar-2019 04:47:42 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb-xmlschema.inc.php on line 106
[11-Mar-2019 04:47:42 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb-xmlschema.inc.php on line 205
[11-Mar-2019 04:47:42 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb-xmlschema.inc.php on line 613
[11-Mar-2019 04:47:42 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb-xmlschema.inc.php on line 774
[11-Mar-2019 04:47:42 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb-xmlschema.inc.php on line 959
[11-Mar-2019 04:47:42 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb-xmlschema.inc.php on line 1217
[11-Mar-2019 04:47:42 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb.inc.php on line 263
[11-Mar-2019 04:47:42 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb.inc.php on line 359
[11-Mar-2019 04:47:42 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb.inc.php on line 2921
[11-Mar-2019 04:47:42 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 C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb.inc.php on line 3939
[11-Mar-2019 11:47:45 Asia/Jakarta] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CounterReport has a deprecated constructor in C:\wamp64\www\ojs-3.1.2\plugins\reports\counter\classes\CounterReport.inc.php on line 33
[11-Mar-2019 11:47:50 Asia/Jakarta] PHP Notice: Only variables should be assigned by reference in C:\wamp64\www\ojs-3.1.2\lib\pkp\classes\db\DBDataXMLParser.inc.php on line 122
[11-Mar-2019 11:47:50 Asia/Jakarta] PHP Notice: Only variables should be assigned by reference in C:\wamp64\www\ojs-3.1.2\lib\pkp\classes\db\DBDataXMLParser.inc.php on line 122
[11-Mar-2019 11:49:54 Asia/Jakarta] PHP Notice: Only variables should be passed by reference in C:\wamp64\www\ojs-3.1.2\lib\pkp\lib\adodb\adodb-xmlschema.inc.php on line 267
[11-Mar-2019 11:50:22 Asia/Jakarta] PHP Warning: Invalid argument supplied for foreach() in C:\wamp64\www\ojs-3.1.2\classes\install\Upgrade.inc.php on line 2081
[11-Mar-2019 11:50:22 Asia/Jakarta] PHP Warning: Invalid argument supplied for foreach() in C:\wamp64\www\ojs-3.1.2\classes\install\Upgrade.inc.php on line 2240
[11-Mar-2019 11:50:28 Asia/Jakarta] PHP Warning: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in C:\wamp64\www\ojs-3.1.2\lib\pkp\classes\submission\SubmissionKeywordEntryDAO.inc.php on line 20
[11-Mar-2019 11:50:28 Asia/Jakarta] PHP Warning: Declaration of SubmissionLanguageEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in C:\wamp64\www\ojs-3.1.2\lib\pkp\classes\submission\SubmissionLanguageEntryDAO.inc.php on line 46
[11-Mar-2019 11:50:28 Asia/Jakarta] PHP Warning: Declaration of SubmissionAgencyEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in C:\wamp64\www\ojs-3.1.2\lib\pkp\classes\submission\SubmissionAgencyEntryDAO.inc.php on line 44
[11-Mar-2019 11:51:21 Asia/Jakarta] WARNING: Unable to find a match for "149-513-1-CE.pdf" in "files/journals/1//articles/149/". Skipping this file.
[11-Mar-2019 11:51:21 Asia/Jakarta] WARNING: Unable to find a match for "150-515-1-SM.pdf" in "files/journals/1//articles/150/". Skipping this file.
[11-Mar-2019 11:51:21 Asia/Jakarta] WARNING: Unable to find a match for "150-516-1-RV.pdf" in "files/journals/1//articles/150/". Skipping this file.
[11-Mar-2019 11:51:21 Asia/Jakarta] WARNING: Unable to find a match for "150-517-1-CE.pdf" in "files/journals/1//articles/150/". Skipping this file.
[11-Mar-2019 11:51:21 Asia/Jakarta] WARNING: Unable to find a match for "151-519-1-SM.pdf" in "files/journals/1//articles/151/". Skipping this file.
[11-Mar-2019 11:51:21 Asia/Jakarta] WARNING: Unable to find a match for "151-520-1-RV.pdf" in "files/journals/1//articles/151/". Skipping this file.
[11-Mar-2019 11:51:21 Asia/Jakarta] WARNING: Unable to find a match for "151-521-1-CE.pdf" in "files/journals/1//articles/151/". Skipping this file.
[11-Mar-2019 11:51:21 Asia/Jakarta] WARNING: Unable to find a match for "152-523-1-SM.pdf" in "files/journals/1//articles/152/". Skipping this file.
[11-Mar-2019 11:51:21 Asia/Jakarta] WARNING: Unable to find a match for "152-524-1-RV.pdf" in "files/journals/1//articles/152/". Skipping this file.
[11-Mar-2019 11:51:21 Asia/Jakarta] WARNING: Unable to find a match for "152-525-1-CE.pdf" in "files/journals/1//articles/152/". Skipping this file.
[11-Mar-2019 11:51:26 Asia/Jakarta] WARNING: Unable to find a match for "377-1052-2-SM.phtml" in "files/journals/1//articles/377/". Skipping this file.
[11-Mar-2019 11:51:26 Asia/Jakarta] WARNING: Unable to find a match for "426-1103-1-SM.phtml" in "files/journals/1//articles/426/". Skipping this file.
[11-Mar-2019 11:51:26 Asia/Jakarta] WARNING: Unable to find a match for "428-1104-1-SM.phtml" in "files/journals/1//articles/428/". Skipping this file.
[11-Mar-2019 11:51:26 Asia/Jakarta] WARNING: Unable to find a match for "428-1105-1-RV.phtml" in "files/journals/1//articles/428/". Skipping this file.
[11-Mar-2019 11:51:29 Asia/Jakarta] WARNING: Unable to find a match for "675-1580-4-SM.aspx" in "files/journals/1//articles/675/". Skipping this file.
[11-Mar-2019 11:51:33 Asia/Jakarta] PHP Warning: copy(files/journals/1//articles/142/attachment/142-1-491-1-13-20111230.doc): failed to open stream: No such file or directory in C:\wamp64\www\ojs-3.1.2\lib\pkp\classes\file\FileManager.inc.php on line 162
[11-Mar-2019 11:51:33 Asia/Jakarta] PHP Warning: assert(): assert(is_readable($targetFilePath)) failed in C:\wamp64\www\ojs-3.1.2\lib\pkp\classes\submission\SubmissionFileDAODelegate.inc.php on line 123
[11-Mar-2019 11:51:40 Asia/Jakarta] PHP Warning: assert(): assert(is_readable($sourceFile)) failed in C:\wamp64\www\ojs-3.1.2\lib\pkp\classes\submission\SubmissionFileDAODelegate.inc.php on line 112
[11-Mar-2019 11:51:40 Asia/Jakarta] PHP Warning: copy(files/journals/1//articles/142/submission/proof/142-4-491-1-10-20111230.doc): failed to open stream: No such file or directory in C:\wamp64\www\ojs-3.1.2\lib\pkp\classes\file\FileManager.inc.php on line 162
[11-Mar-2019 11:51:40 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to a member function getFileId() on null in C:\wamp64\www\ojs-3.1.2\lib\pkp\classes\file\SubmissionFileManager.inc.php:184
Stack trace:
#0 C:\wamp64\www\ojs-3.1.2\classes\install\Upgrade.inc.php(1476): SubmissionFileManager->copyFileToFileStage('491', 1, 4, NULL, true)
#1 C:\wamp64\www\ojs-3.1.2\lib\pkp\classes\install\Installer.inc.php(421): Upgrade->provideSupplementaryFilesForReview(Object(Upgrade), Array)
#2 C:\wamp64\www\ojs-3.1.2\lib\pkp\classes\install\Installer.inc.php(265): Installer->executeAction(Array)
#3 C:\wamp64\www\ojs-3.1.2\lib\pkp\classes\install\Installer.inc.php(186): Installer->executeInstaller()
#4 C:\wamp64\www\ojs-3.1.2\lib\pkp\classes\cliTool\UpgradeTool.inc.php(88): Installer->execute()
#5 C:\wamp64\www\ojs-3.1.2\lib\pkp\classes\cliTool\UpgradeTool.inc.php(64): UpgradeTool->upgrade()
#6 C:\wamp64\www\ojs-3.1.2\tools\upgrade.php(34): UpgradeTool->execute()
#7 {main}
thrown in C:\wamp64\www\ojs-3.1.2\lib\pkp\classes\file\SubmissionFileManager.inc.php on line 184
what would be the problem for this error?
thank you for any of your help/suggestion.
regards,
Ario.