Installation of OJS 3.2.0.3 from softaculous app

Thanks a lot @asmecher for helping me with this. You have turned a non ITian to somehow deal with codes

I followed the instruction that the link says. However, I found that PHP version is 7.2.31. I created a file phpinfo.php as instructed in the link shared by you and found the version.

I am also sharing screenshot of the result
image

Do you think plugins can show http 500 error. There are few plugins in my server which are not there in downloaded ojs3.2.0.3

I think this fatal error will be of some meaning to you
[27-May-2020 03:48:49 Asia/Kolkata] PHP Fatal error: Uncaught Error: Call to a member function getData() on null in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php:54
Stack trace:
#0 /home/japtronl/domains/japtronline.com/public_html/pages/article/ArticleHandler.inc.php(83): PKPSubmission->getBestId()
#1 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/core/PKPRouter.inc.php(388): ArticleHandler->initialize(Object(Request), Array)
#2 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/core/PKPPageRouter.inc.php(231): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)
#3 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/core/Dispatcher.inc.php(143): PKPPageRouter->route(Object(Request))
#4 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/core/PKPApplication.inc.php(278): Dispatcher->dispatch(Object(Request))
#5 /home/japtronl/domains/japtronline.com/public_html/index.php(68): PKPApplication->execute()
#6 {main}
in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 54

Thanks

Hi @joapreditor,

This message:

[27-May-2020 05:15:21 Asia/Kolkata] PHP Parse error: syntax error, unexpected ‘?’, expecting variable (T_VARIABLE) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/notification/PKPNotificationOperationManager.inc.php on line 374

…is definitely caused by a PHP that’s older than 7.1. However, your phpinfo script confirms version 7.2.31. Maybe the errors in the log came while you were changing configuration or something? In any case, let’s see if we can get past them.

This message:

[27-May-2020 03:48:49 Asia/Kolkata] PHP Fatal error: Uncaught Error: Call to a member function getData() on null in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php:54

…suggests that you are trying to run OJS 3.2.0-3 with a database from the older version. What happens when you turn off installed in config.inc.php? Are you able to get to the install/upgrade form?

(As you prepare to upgrade, please make sure you have a complete backup of your database, files_dir, and OJS installation directory.)

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,
Thanks for your assistance. I turn installed off in config file. I am getting this error

chrome

Hi @joapreditor,

That appears to be a problem with your domain name or internet connection, outside of OJS.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,
I apologize, I typed wrong domain name. Corrections lead to http error 500

image

Php error log shows following message

[27-May-2020 22:41:18 Asia/Kolkata] PHP Warning: Declaration of TranslatorPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/translator/TranslatorPlugin.inc.php on line 149
[27-May-2020 22:42:42 Asia/Kolkata] PHP Warning: Declaration of TranslatorPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/translator/TranslatorPlugin.inc.php on line 149
[27-May-2020 22:42:42 Asia/Kolkata] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/addThis/AddThisPlugin.inc.php on line 174
[27-May-2020 22:42:42 Asia/Kolkata] PHP Notice: Undefined index: url_path in /home/japtronl/domains/japtronline.com/public_html/classes/issue/IssueDAO.inc.php on line 318
[27-May-2020 22:46:14 Asia/Kolkata] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/addThis/AddThisPlugin.inc.php on line 174
[27-May-2020 22:46:14 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 22:46:14 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 22:46:14 Asia/Kolkata] PHP Notice: Constant STATUS_QUEUED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 26
[27-May-2020 22:46:14 Asia/Kolkata] PHP Notice: Constant STATUS_PUBLISHED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 27
[27-May-2020 22:46:14 Asia/Kolkata] PHP Notice: Constant STATUS_DECLINED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 28
[27-May-2020 22:46:14 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_LICENSE_URL already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 32
[27-May-2020 22:46:14 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_HOLDER already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 33
[27-May-2020 22:46:14 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_YEAR already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 34
[27-May-2020 22:46:14 Asia/Kolkata] PHP Fatal error: Cannot declare class Submission, because the name is already in use in /home/japtronl/domains/japtronline.com/public_html/classes/submission/Submission.inc.php on line 34
[27-May-2020 22:49:42 Asia/Kolkata] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/addThis/AddThisPlugin.inc.php on line 174
[27-May-2020 22:49:42 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 22:49:42 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 22:49:42 Asia/Kolkata] PHP Notice: Constant STATUS_QUEUED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 26
[27-May-2020 22:49:42 Asia/Kolkata] PHP Notice: Constant STATUS_PUBLISHED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 27
[27-May-2020 22:49:42 Asia/Kolkata] PHP Notice: Constant STATUS_DECLINED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 28
[27-May-2020 22:49:42 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_LICENSE_URL already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 32
[27-May-2020 22:49:42 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_HOLDER already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 33
[27-May-2020 22:49:42 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_YEAR already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 34
[27-May-2020 22:49:42 Asia/Kolkata] PHP Fatal error: Cannot declare class Submission, because the name is already in use in /home/japtronl/domains/japtronline.com/public_html/classes/submission/Submission.inc.php on line 34
[27-May-2020 22:52:01 Asia/Kolkata] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/addThis/AddThisPlugin.inc.php on line 174
[27-May-2020 22:52:01 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 22:52:01 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 22:52:01 Asia/Kolkata] PHP Notice: Constant STATUS_QUEUED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 26
[27-May-2020 22:52:01 Asia/Kolkata] PHP Notice: Constant STATUS_PUBLISHED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 27
[27-May-2020 22:52:01 Asia/Kolkata] PHP Notice: Constant STATUS_DECLINED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 28
[27-May-2020 22:52:01 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_LICENSE_URL already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 32
[27-May-2020 22:52:01 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_HOLDER already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 33
[27-May-2020 22:52:01 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_YEAR already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 34
[27-May-2020 22:52:01 Asia/Kolkata] PHP Fatal error: Cannot declare class Submission, because the name is already in use in /home/japtronl/domains/japtronline.com/public_html/classes/submission/Submission.inc.php on line 34
[27-May-2020 22:55:13 Asia/Kolkata] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/addThis/AddThisPlugin.inc.php on line 174
[27-May-2020 22:55:13 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 22:55:13 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 22:55:13 Asia/Kolkata] PHP Notice: Constant STATUS_QUEUED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 26
[27-May-2020 22:55:13 Asia/Kolkata] PHP Notice: Constant STATUS_PUBLISHED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 27
[27-May-2020 22:55:13 Asia/Kolkata] PHP Notice: Constant STATUS_DECLINED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 28
[27-May-2020 22:55:13 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_LICENSE_URL already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 32
[27-May-2020 22:55:13 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_HOLDER already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 33
[27-May-2020 22:55:13 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_YEAR already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 34
[27-May-2020 22:55:13 Asia/Kolkata] PHP Fatal error: Cannot declare class Submission, because the name is already in use in /home/japtronl/domains/japtronline.com/public_html/classes/submission/Submission.inc.php on line 34
[27-May-2020 22:58:13 Asia/Kolkata] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/addThis/AddThisPlugin.inc.php on line 174
[27-May-2020 22:58:13 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 22:58:13 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 22:58:13 Asia/Kolkata] PHP Notice: Constant STATUS_QUEUED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 26
[27-May-2020 22:58:13 Asia/Kolkata] PHP Notice: Constant STATUS_PUBLISHED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 27
[27-May-2020 22:58:13 Asia/Kolkata] PHP Notice: Constant STATUS_DECLINED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 28
[27-May-2020 22:58:13 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_LICENSE_URL already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 32
[27-May-2020 22:58:13 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_HOLDER already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 33
[27-May-2020 22:58:13 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_YEAR already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 34
[27-May-2020 22:58:13 Asia/Kolkata] PHP Fatal error: Cannot declare class Submission, because the name is already in use in /home/japtronl/domains/japtronline.com/public_html/classes/submission/Submission.inc.php on line 34
[27-May-2020 23:00:59 Asia/Kolkata] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/addThis/AddThisPlugin.inc.php on line 174
[27-May-2020 23:00:59 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 23:00:59 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 23:00:59 Asia/Kolkata] PHP Notice: Constant STATUS_QUEUED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 26
[27-May-2020 23:00:59 Asia/Kolkata] PHP Notice: Constant STATUS_PUBLISHED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 27
[27-May-2020 23:00:59 Asia/Kolkata] PHP Notice: Constant STATUS_DECLINED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 28
[27-May-2020 23:00:59 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_LICENSE_URL already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 32
[27-May-2020 23:00:59 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_HOLDER already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 33
[27-May-2020 23:00:59 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_YEAR already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 34
[27-May-2020 23:00:59 Asia/Kolkata] PHP Fatal error: Cannot declare class Submission, because the name is already in use in /home/japtronl/domains/japtronline.com/public_html/classes/submission/Submission.inc.php on line 34
[27-May-2020 23:01:04 Asia/Kolkata] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/addThis/AddThisPlugin.inc.php on line 174
[27-May-2020 23:01:04 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 23:01:04 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 23:01:04 Asia/Kolkata] PHP Notice: Constant STATUS_QUEUED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 26
[27-May-2020 23:01:04 Asia/Kolkata] PHP Notice: Constant STATUS_PUBLISHED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 27
[27-May-2020 23:01:04 Asia/Kolkata] PHP Notice: Constant STATUS_DECLINED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 28
[27-May-2020 23:01:04 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_LICENSE_URL already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 32
[27-May-2020 23:01:04 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_HOLDER already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 33
[27-May-2020 23:01:04 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_YEAR already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 34
[27-May-2020 23:01:04 Asia/Kolkata] PHP Fatal error: Cannot declare class Submission, because the name is already in use in /home/japtronl/domains/japtronline.com/public_html/classes/submission/Submission.inc.php on line 34
[27-May-2020 23:01:58 Asia/Kolkata] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/addThis/AddThisPlugin.inc.php on line 174
[27-May-2020 23:01:58 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 23:01:58 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 23:01:58 Asia/Kolkata] PHP Notice: Constant STATUS_QUEUED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 26
[27-May-2020 23:01:58 Asia/Kolkata] PHP Notice: Constant STATUS_PUBLISHED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 27
[27-May-2020 23:01:58 Asia/Kolkata] PHP Notice: Constant STATUS_DECLINED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 28
[27-May-2020 23:01:58 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_LICENSE_URL already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 32
[27-May-2020 23:01:58 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_HOLDER already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 33
[27-May-2020 23:01:58 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_YEAR already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 34
[27-May-2020 23:01:58 Asia/Kolkata] PHP Fatal error: Cannot declare class Submission, because the name is already in use in /home/japtronl/domains/japtronline.com/public_html/classes/submission/Submission.inc.php on line 34
[27-May-2020 23:05:09 Asia/Kolkata] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/addThis/AddThisPlugin.inc.php on line 174
[27-May-2020 23:05:09 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 23:05:09 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 23:05:09 Asia/Kolkata] PHP Notice: Constant STATUS_QUEUED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 26
[27-May-2020 23:05:09 Asia/Kolkata] PHP Notice: Constant STATUS_PUBLISHED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 27
[27-May-2020 23:05:09 Asia/Kolkata] PHP Notice: Constant STATUS_DECLINED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 28
[27-May-2020 23:05:09 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_LICENSE_URL already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 32
[27-May-2020 23:05:09 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_HOLDER already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 33
[27-May-2020 23:05:09 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_YEAR already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 34
[27-May-2020 23:05:09 Asia/Kolkata] PHP Fatal error: Cannot declare class Submission, because the name is already in use in /home/japtronl/domains/japtronline.com/public_html/classes/submission/Submission.inc.php on line 34
[27-May-2020 23:05:45 Asia/Kolkata] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/addThis/AddThisPlugin.inc.php on line 174
[27-May-2020 23:05:45 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 23:05:45 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 23:05:45 Asia/Kolkata] PHP Notice: Constant STATUS_QUEUED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 26
[27-May-2020 23:05:45 Asia/Kolkata] PHP Notice: Constant STATUS_PUBLISHED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 27
[27-May-2020 23:05:45 Asia/Kolkata] PHP Notice: Constant STATUS_DECLINED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 28
[27-May-2020 23:05:45 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_LICENSE_URL already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 32
[27-May-2020 23:05:45 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_HOLDER already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 33
[27-May-2020 23:05:45 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_YEAR already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 34
[27-May-2020 23:05:45 Asia/Kolkata] PHP Fatal error: Cannot declare class Submission, because the name is already in use in /home/japtronl/domains/japtronline.com/public_html/classes/submission/Submission.inc.php on line 34
[27-May-2020 23:06:37 Asia/Kolkata] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/addThis/AddThisPlugin.inc.php on line 174
[27-May-2020 23:06:37 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 23:06:37 Asia/Kolkata] PHP Warning: Declaration of IntegrationApiPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /home/japtronl/domains/japtronline.com/public_html/plugins/generic/OJSAuthoringIntegrationplugin/IntegrationApiPlugin.inc.php on line 575
[27-May-2020 23:06:38 Asia/Kolkata] PHP Notice: Constant STATUS_QUEUED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 26
[27-May-2020 23:06:38 Asia/Kolkata] PHP Notice: Constant STATUS_PUBLISHED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 27
[27-May-2020 23:06:38 Asia/Kolkata] PHP Notice: Constant STATUS_DECLINED already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 28
[27-May-2020 23:06:38 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_LICENSE_URL already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 32
[27-May-2020 23:06:38 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_HOLDER already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 33
[27-May-2020 23:06:38 Asia/Kolkata] PHP Notice: Constant PERMISSIONS_FIELD_COPYRIGHT_YEAR already defined in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/submission/PKPSubmission.inc.php on line 34
[27-May-2020 23:06:38 Asia/Kolkata] PHP Fatal error: Cannot declare class Submission, because the name is already in use in /home/japtronl/domains/japtronline.com/public_html/classes/submission/Submission.inc.php on line 34

Hi @joapreditor,

I think you have mixed together the codebases for the two versions of OJS. Did you FTP or unpack the .tar.gz over top of where you already had a copy of OJS installed? That will result in errors like these. See the “Full Package” instructions in docs/UPGRADE.md.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,

I think I messed up. apology. Do you suggest I request service provider to format my server and then install OJS 3.2.0.3 and then import database backup?

Hi @joapreditor,

You won’t need your service provider to be involved here; just follow the steps in docs/UPGRADE.md. If Softaculous is confusing things, you can do all of this without involving it.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,
Thanks for your assistance. I have gone through the upgrade.md file. I already have installed newer version of ojs (3.2.0.3) on to older version (3.0.2.0). Can those steps still applicable? Moreover, what I understood is that I need to unpack OJS 3.2.03 into a new folder for example say in public_html, ojs3.2. Then I need to replace config.nic.php and make necessary changes. Replace all the content of ojs3.2 into public_html (This step will again leave few files and folders which are not in ojs3.2 and were previously available in public_html folder)

Please help

Hi @asmecher,

  1. I uploaded and extracted ojs 3.2.0.3 in a new folder in public_html. Then I made necessary changes to config.nic.php (database, email, files_dir was outside public_html earlier also, only i had updated the link). Installed = Off in config.nic.php
  2. Removed all the content of public_html folder which are already there in ojs 3.2.0.3 (other files and folders were kept unchanged)
  3. Copied the content of ojs 3.2.0.3 with updated config.nic.in into public_html folder

Then I tried to open my domain, japtronline.com, it was automatically redirected to install page and then I got these error message

Warning : include(/home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/composer/…/smarty/smarty/libs/sysplugins/smarty_internal_parsetree_dqcontent.php): failed to open stream: No such file or directory in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/composer/ClassLoader.php on line 444

Warning : include(/home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/composer/…/smarty/smarty/libs/sysplugins/smarty_internal_parsetree_dqcontent.php): failed to open stream: No such file or directory in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/composer/ClassLoader.php on line 444

Warning : include(): Failed opening ‘/home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/composer/…/smarty/smarty/libs/sysplugins/smarty_internal_parsetree_dqcontent.php’ for inclusion (include_path=’.:/opt/alt/php72/usr/share/pear’) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/composer/ClassLoader.php on line 444

Fatal error : Uncaught Error: Class ‘Smarty_Internal_ParseTree_DqContent’ not found in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php:3457 Stack trace: #0 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php(3472): Smarty_Internal_Templateparser->yy_r186() #1 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php(3564): Smarty_Internal_Templateparser->yy_reduce(186) #2 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php(128): Smarty_Internal_Templateparser->doParse(60, ‘"’) #3 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(481): Smarty_Internal_SmartyTemplateCompiler->doCompile(’{**\n * template. in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php on line 3457

image

PHP error log in showing these messages repeatedly
[28-May-2020 04:42:33 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/index.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 243
[28-May-2020 04:42:33 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/Default.zipThemesPlugin.inc.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 252
[28-May-2020 04:42:35 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/index.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 243
[28-May-2020 04:42:35 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/Default.zipThemesPlugin.inc.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 252
[28-May-2020 04:42:35 Asia/Kolkata] PHP Warning: include(/home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/composer/…/smarty/smarty/libs/sysplugins/smarty_internal_parsetree_dqcontent.php): failed to open stream: No such file or directory in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/composer/ClassLoader.php on line 444
[28-May-2020 04:42:35 Asia/Kolkata] PHP Warning: include(/home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/composer/…/smarty/smarty/libs/sysplugins/smarty_internal_parsetree_dqcontent.php): failed to open stream: No such file or directory in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/composer/ClassLoader.php on line 444
[28-May-2020 04:42:35 Asia/Kolkata] PHP Warning: include(): Failed opening ‘/home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/composer/…/smarty/smarty/libs/sysplugins/smarty_internal_parsetree_dqcontent.php’ for inclusion (include_path=’.:/opt/alt/php72/usr/share/pear’) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/composer/ClassLoader.php on line 444
[28-May-2020 04:42:35 Asia/Kolkata] PHP Fatal error: Uncaught Error: Class ‘Smarty_Internal_ParseTree_DqContent’ not found in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php:3457
Stack trace:
#0 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php(3472): Smarty_Internal_Templateparser->yy_r186()
#1 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php(3564): Smarty_Internal_Templateparser->yy_reduce(186)
#2 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php(128): Smarty_Internal_Templateparser->doParse(60, ‘"’)
#3 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(481): Smarty_Internal_SmartyTemplateCompiler->doCompile(’{**\n * template. in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php on line 3457

Hi @joapreditor,

It looks like lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_parsetree_dqcontent.php is missing from your installation directory.

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks a lot @asmecher,
The file was there however with 000644 added in file name. I renamed it to smarty_internal_parsetree_dqcontent.php and it worked.
I could see upgrade page :smile:. I clicked upgrade and then again there was an error

A database error has occurred: Table ‘submission_galley_settings’ already exists
I am sharing screenshot of the same
image

Hi @joapreditor,

Much closer! The message Table 'submission_galley_settings' already exists suggests that you’re trying to run an upgrade after an upgrade to 3.2.0-x has already failed. After an upgrade attempt fails, make sure to restore your database (and files_dir) from the backup you took before running the upgrade. (Make sure to drop and re-create the database fully, as just loading an old back-up over an existing database will cause problems.)

Regards,
Alec Smecher
Public Knowledge Project Team

Great @asmecher.
I restored files_dir and restored database. However still new error shows up

A database error has occurred: Table ‘review_assignments_tmp’ already exists

Please help

Hi @joapreditor,

Can you check whether a table called review_assignments_tmp exists in your database backup?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher

May be, I do not know, I found a database, that i had exported from phpmyadmin just before starting softaculous installation. However, when I am trying to upload that sql file in existing database, I get an error
“Unable to restore database japtronl_new : sh: /home/tmp/japtronl_ojs: No such file or directory”.
I then uploaded database with little bit older exported file from phpmyadmin. Then it uploads successfully. However, while upgrading these errors like review_assignments_tmp exist appears. I dropped this table, user_tmp exists appear, I dropped this table also, then authors_tmp exists appears. Then it shows that subkission_galley_settings exists, then, I dropped this too.
Then email id duplicate column error message appears. How to correct this

Hi@asmecher,

Thanks for all the support. I could correct all the errors mentioned above in my last post. The upgradation took some time and then http 500 appeared.

image

PHP error logs shows following errors:
[29-May-2020 05:13:09 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/index.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 243
[29-May-2020 05:13:09 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/Default.zipThemesPlugin.inc.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 252
[29-May-2020 05:13:10 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/index.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 243
[29-May-2020 05:13:10 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/Default.zipThemesPlugin.inc.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 252
[29-May-2020 05:13:13 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/index.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 243
[29-May-2020 05:13:13 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/Default.zipThemesPlugin.inc.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 252
[29-May-2020 05:13:15 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/index.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 243
[29-May-2020 05:13:15 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/Default.zipThemesPlugin.inc.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 252
[29-May-2020 05:13:17 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/index.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 243
[29-May-2020 05:13:17 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/Default.zipThemesPlugin.inc.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 252
[29-May-2020 05:13:17 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/index.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 243
[29-May-2020 05:13:17 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/Default.zipThemesPlugin.inc.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 252
[29-May-2020 05:13:17 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/index.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 243
[29-May-2020 05:13:17 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/Default.zipThemesPlugin.inc.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 252
[29-May-2020 05:13:35 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/index.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 243
[29-May-2020 05:13:35 Asia/Kolkata] PHP Warning: file_exists(): open_basedir restriction in effect. File(plugins/themes/default.zip/Default.zipThemesPlugin.inc.php) is not within the allowed path(s): (/home/japtronl/:/tmp:/var/tmp:/opt/alt/php72/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php72/lib/php/) in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginRegistry.inc.php on line 252
[29-May-2020 05:13:51 Asia/Kolkata] PHP Fatal error: Uncaught Error: Call to a member function getId() on null in /home/japtronl/domains/japtronline.com/public_html/classes/install/Upgrade.inc.php:2502
Stack trace:
#0 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/install/Installer.inc.php(417): Upgrade->fixGenreIdInFileNames(Object(Upgrade), Array)
#1 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/install/Installer.inc.php(263): Installer->executeAction(Array)
#2 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/install/Installer.inc.php(186): Installer->executeInstaller()
#3 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/install/form/UpgradeForm.inc.php(42): Installer->execute()
#4 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/pages/install/InstallHandler.inc.php(106): UpgradeForm->execute()
#5 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/core/PKPRouter.inc.php(391): InstallHandler->installUpgrade(Array, Object(Request))
#6 /home/japtronl/domains/ja in /home/japtronl/domains/japtronline.com/public_html/classes/install/Upgrade.inc.php on line 2502

Please help me

Hi @joapreditor,

I still think this is happening because the backup you’re using was taken after an attempt to upgrade to OJS 3.2.0 already failed. Are you sure you don’t have a backup from before the first upgrade attempt? If not, this can be a difficult problem to resolve.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,
Thanks for replying… I do not back up other than this. Apology. Can I install a fresh copy, then import the existing database.? Will this result in import of articles and users, existing submission? Information about journal and other things, I will write again. Will this help

Hi @asmecher,

I have installed a fresh copy of OJS 3.2.0.3 with a new database and again updating every thing. However, still there is an error in php error logs. Moreover, I cannot install plugin from plugin gallery. When I click install in plugin gallery, nothing happens. PHP error log shows following errors

[30-May-2020 19:42:37 Asia/Kolkata] PHP Fatal error: Uncaught Error: Call to a member function getProductType() on string in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginHelper.inc.php:113
Stack trace:
#0 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/controllers/grid/plugins/PluginGalleryGridHandler.inc.php(283): PluginHelper->installPlugin(NULL, ‘The tar command…’)
#1 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/core/PKPRouter.inc.php(391): PluginGalleryGridHandler->installPlugin(Array, Object(Request))
#2 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/core/PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array)
#3 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/core/Dispatcher.inc.php(143): PKPComponentRouter->route(Object(Request))
#4 /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/core/PKPApplication.inc.php(278): Dispatcher->dispatch(Object(Request))
#5 /home/japtronl/domain in /home/japtronl/domains/japtronline.com/public_html/lib/pkp/classes/plugins/PluginHelper.inc.php on line 113

Please help me to resolve this