Cannot access Administration pages

As far as I see you have version OJS 3.0.2.

Did you change anything prior to this error in configuration/settings, deleted some files or in phpmysql?

No I didn’t.
I don’t know whether they have done anything at a hosting level.
But I’ve done nothing
Do you suggest replacing or adding any ojs file?

I would strongly suggest upgrade to OJS 3.1.0-1 since OJS 3.0.2 has a lot of issues. I see that your installation is fresh so it is better to do upgrade now and add issues and articles later than work with OJS 3.02 and do upgrade later.

I understand that the update is necessary. The question is whether it is safe to perform such update if the current system has problems, it operates abnormally.
We also use 3.0.2 and two days ago faced with an unexpected problem. Elements of the administrative interface are not loaded, just rotating circle:
image

image

I checked all the logs, no fatal PHP errors. I will be happy for any help in solving this problem :frowning:

When you do upgrade all files are replaced and database upgraded so if there is any issue with any of files it will disappear since upgrade replaces old files with new ones.

I agree with resolving files issues during upgrade, but I’m afraid that in my case there’s some inconsistent data in our database :frowning:
I remember another problem (https://forum.pkp.sfu.ca/t/tasks-not-loading-for-certain-users/32074/6) with “permanent loading”. Now I checked the solution proposed then and found 3 submissions without section_id. I corrected this in the database. But this did not change anything - as before, nothing is working inside the system :frowning:

Please be specific. Post screenshot and phperror log.

OJS 3.0.2
PHP version 5.5.38
show_stacktrace = On

Public sites of all journals work correctly. After login all users (admin, editors, managers, reviewers, etc.) see only basic menu items, no data (submissions, tasks, user lists, etc.) is loaded. I’ve provided screenshots in the post above.

FF Web Developer Console shows the following error:

SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 2894 of the JSON data

jQuery.parseJSON https://.../lib/pkp/lib/components/jquery/jquery.js:8517:10
$.pkp.controllers.TabHandler.prototype.dataFilter https://.../lib/pkp/js/controllers/TabHandler.js:250:34
$.pkp.classes.Handler.prototype.callbackWrapper/< https://.../lib/pkp/js/classes/Handler.js:268:11
ajaxConvert https://.../lib/pkp/lib/components/jquery/jquery.js:8789:15
done https://.../lib/pkp/lib/components/jquery/jquery.js:9260:15
.send/callback https://.../lib/pkp/lib/components/jquery/jquery.js:9720:8

PHP log does not contain PHP fatal errors or warnings, only PHP Strict Standards.

[error] PHP Strict Standards:  Declaration of PageHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /var/www/js/data/www/.../lib/pkp/controllers/page/PageHandler.inc.php on line 19, referer: https://.../submissions
[error] PHP Strict Standards:  Declaration of PageHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /var/www/js/data/www/.../lib/pkp/controllers/page/PageHandler.inc.php on line 19, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../classes/core/Request.inc.php on line 68, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../classes/core/Request.inc.php on line 68, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../classes/core/Request.inc.php on line 68, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../classes/core/Request.inc.php on line 68, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../classes/core/Request.inc.php on line 68, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../classes/core/Request.inc.php on line 68, referer: https://.../submissions
[error] PHP Strict Standards:  Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /var/www/js/data/www/.../plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130, referer: https://.../submissions
[error] PHP Strict Standards:  Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /var/www/js/data/www/.../plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130, referer: https://.../submissions
[error] PHP Strict Standards:  Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /var/www/js/data/www/.../plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130, referer: https://.../submissions
[error] PHP Strict Standards:  Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /var/www/js/data/www/.../plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315, referer: https://.../submissions
[error] PHP Strict Standards:  Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /var/www/js/data/www/.../lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114, referer: https://.../submissions
[error] PHP Strict Standards:  Declaration of DashboardHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /var/www/js/data/www/.../lib/pkp/pages/dashboard/DashboardHandler.inc.php on line 17, referer: https://.../submissions
[error] PHP Strict Standards:  Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /var/www/js/data/www/.../plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130, referer: https://.../submissions
[error] PHP Strict Standards:  Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /var/www/js/data/www/.../plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130, referer: https://.../submissions
[error] PHP Strict Standards:  Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /var/www/js/data/www/.../plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130, referer: https://.../submissions
[error] PHP Strict Standards:  Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /var/www/js/data/www/.../plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130, referer: https://.../submissions
[error] PHP Strict Standards:  Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /var/www/js/data/www/.../plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130, referer: https://.../submissions
[error] PHP Strict Standards:  Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /var/www/js/data/www/.../plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130, referer: https://.../submissions
[error] PHP Strict Standards:  Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /var/www/js/data/www/.../plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130, referer: https://.../submissions
[error] PHP Strict Standards:  Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /var/www/js/data/www/.../plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130, referer: https://.../submissions

Thanks for any help!

Hello, Upgrade your php to version 5.6.30 and try again.

OK, we switched to PHP Version 7.0.27 and enabled display_errors and error_reporting = E_ALL.

Nothing has changed after users login :frowning: Here is a fragment of the log.

[error] PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /var/www/js/data/www/.../lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64, referer: https://.../
[error] 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 /var/www/js/data/www/.../lib/pkp/lib/adodb/adodb.inc.php on line 263, referer: https://.../
[error] 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 /var/www/js/data/www/.../lib/pkp/lib/adodb/adodb.inc.php on line 359, referer: https://.../
[error] 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 /var/www/js/data/www/.../lib/pkp/lib/adodb/adodb.inc.php on line 2921, referer: https://.../
[error] 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 /var/www/js/data/www/.../lib/pkp/lib/adodb/adodb.inc.php on line 3939, referer: https://.../
[error] PHP Deprecated:  Non-static method Request::getContext() should not be called statically in /var/www/js/data/www/.../lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409, referer: https://.../
[error] PHP Deprecated:  Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/js/data/www/.../classes/core/Request.inc.php on line 68, referer: https://.../
[error] PHP Deprecated:  Non-static method Request::getContext() should not be called statically in /var/www/js/data/www/.../lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409, referer: https://.../
[error] PHP Deprecated:  Non-static method PKPRequest::_checkThis() should not be called statically in /var/www/js/data/www/.../classes/core/Request.inc.php on line 68, referer: https://.../
[error] PHP Warning:  Declaration of DevelopedByBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /var/www/js/data/www/.../plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 20, referer: https://.../
[error] PHP Warning:  Declaration of DevelopedByBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /var/www/js/data/www/.../plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 20, referer: https://.../
[error] PHP Warning:  Declaration of DevelopedByBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /var/www/js/data/www/.../plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 20, referer: https://.../
[error] PHP Warning:  Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /var/www/js/data/www/.../plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130, referer: https://.../
[error] PHP Warning:  Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /var/www/js/data/www/.../plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130, referer: https://.../
[error] PHP Warning:  Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /var/www/js/data/www/.../plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130, referer: https://.../
[error] PHP Warning:  Declaration of CustomBlockPlugin::getContents(&$templateMgr, $request = NULL) should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /var/www/js/data/www/.../plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130, referer: https://.../
[error] PHP Deprecated:  Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically in /var/www/js/data/www/.../lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315, referer: https://.../
[error] PHP Deprecated:  Non-static method ScheduledTaskHelper::_isInRange() should not be called statically in /var/www/js/data/www/.../lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114, referer: https://.../
[error] PHP Deprecated:  Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically in /var/www/js/data/www/.../lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315, referer: https://.../
[error] PHP Deprecated:  Non-static method ScheduledTaskHelper::_isInRange() should not be called statically in /var/www/js/data/www/.../lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114, referer: https://.../
[error] PHP Deprecated:  Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically in /var/www/js/data/www/.../lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315, referer: https://.../
[error] PHP Deprecated:  Non-static method ScheduledTaskHelper::_isInRange() should not be called statically in /var/www/js/data/www/.../lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114, referer: https://.../
[error] PHP Deprecated:  Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically in /var/www/js/data/www/.../lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315, referer: https://.../
[error] PHP Deprecated:  Non-static method ScheduledTaskHelper::_isInRange() should not be called statically in /var/www/js/data/www/.../lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114, referer: https://.../
[error] PHP Deprecated:  Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically in /var/www/js/data/www/.../lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315, referer: https://.../
[error] PHP Deprecated:  Non-static method ScheduledTaskHelper::_isInRange() should not be called statically in /var/www/js/data/www/.../lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114, referer: https://.../
[error] PHP Warning:  Declaration of PKPLoginHandler::authorize($request, &$args, $roleAssignments) should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /var/www/js/data/www/.../lib/pkp/pages/login/PKPLoginHandler.inc.php on line 19, referer: https://.../
[error] PHP Warning:  Declaration of LoginHandler::_setMailFrom($request, &$mail) should be compatible with PKPLoginHandler::_setMailFrom($request, $mail, $site) in /var/www/js/data/www/.../pages/login/LoginHandler.inc.php on line 19, referer: https://.../

Did you deleted all links related to referrer?

I just replaced the real domain names by “…” when I posted the log here. No files in OJS were deleted, nothing changed in addresses, URLs, links, etc. All public sites for all journals work perfectly, absolutely no problems. Problems start after login…

I Think that @asmecher can help to solve this issue.

Any help would be greatly appreciated, thank you! We are really in trouble now. We were going to update OJS in early March, but in this state of the system I’m really afraid to update :frowning:

Please be always consistent in all requirements since , in my experience, many people use obsolete php version, do upgrade on the top of existing files , not setting php.ini properly and they do have a number of issues.
Thus, high quality preparation is 90% of work.
I upgraded several installations and mostly it went easily.

By the way, I do not see anything serious in log that you posted.
Did you deleted all files except config.inc.php and folders with data and /public folder before update?

Thanks

Actually we did not update to 3.1. Our 3.0.2 was installed last April and since then it has been working properly. We were preparing for the upgrade, but we faced with this problem on the running system. I believe that we need to solve it before updating to 3.1.

What kind of changes have been made on server since it worked properly?
Do you have option to set php as 5.6.30?

We discovered the problem last Saturday. No changes were made on the server side, only the regular work of editors and managers in different journals.

Did anyone changed something in database such as collation or collation of connection with server? You can check that by comparing charsert/collation of connection with server and collation of tables in database. if you use phpmyadmin you can check that easily.

No, we did not make any changes from our side at the database level.