New installation OJS 3.0.2 - Task and menu not loading

After installation, OJS only displays the “Task” and “Administration” menus, does not load the Task menu, only the circle is spinning.

SO - Centos 6.9
PHP 5.6.31
MySQL 5.5.57

My error log:
[Wed Oct 18 12:48:28 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of ContextGridHandler::getDataElementSequence() should be compatible with GridHandler::getDataElementSequence(&$gridDataElement) in /home//public_html/lib/pkp/controllers/grid/admin/context/ContextGridHandler.inc.php on line 200, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 12:48:28 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of ContextGridHandler::setDataElementSequence() should be compatible with GridHandler::setDataElementSequence($request, $rowId, &$gridDataElement, $newSequence) in /home//public_html/lib/pkp/controllers/grid/admin/context/ContextGridHandler.inc.php on line 200, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 12:48:28 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of ContextGridHandler::authorize() should be compatible with GridHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home//public_html/lib/pkp/controllers/grid/admin/context/ContextGridHandler.inc.php on line 200, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 12:48:28 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of ContextGridHandler::initialize() should be compatible with GridHandler::initialize($request, $args = NULL) in /home//public_html/lib/pkp/controllers/grid/admin/context/ContextGridHandler.inc.php on line 200, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 12:48:28 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of ContextGridHandler::loadData() should be compatible with GridHandler::loadData($request, $filter) in /home//public_html/lib/pkp/controllers/grid/admin/context/ContextGridHandler.inc.php on line 200, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 12:48:28 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of ContextGridHandler::initFeatures() should be compatible with GridHandler::initFeatures($request, &$args) in /home//public_html/lib/pkp/controllers/grid/admin/context/ContextGridHandler.inc.php on line 200, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 12:48:28 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of ValidatorUrl::getRegexp() should be compatible with ValidatorUri::getRegexp($allowedSchemes = NULL) in /home//public_html/lib/pkp/classes/validation/ValidatorUrl.inc.php on line 19, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 12:48:28 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of ContextSiteSettingsForm::fetch() should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home//public_html/lib/pkp/controllers/grid/admin/context/form/ContextSiteSettingsForm.inc.php on line 19, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 12:48:28 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of JournalSiteSettingsForm::execute() should be compatible with Form::execute($object = NULL) in /home//public_html/controllers/grid/admin/journal/form/JournalSiteSettingsForm.inc.php on line 18, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 12:48:28 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of PageHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home//public_html/lib/pkp/controllers/page/PageHandler.inc.php on line 19, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 12:48:28 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of PageHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home//public_html/lib/pkp/controllers/page/PageHandler.inc.php on line 19, referer: http:///index.php/index/admin/contexts

After click “Hosted Jornals” in error log:
[Wed Oct 18 13:01:56 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of PageHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home//public_html/lib/pkp/controllers/page/PageHandler.inc.php on line 19, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 13:01:57 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of ContextGridHandler::getDataElementSequence() should be compatible with GridHandler::getDataElementSequence(&$gridDataElement) in /home//public_html/lib/pkp/controllers/grid/admin/context/ContextGridHandler.inc.php on line 200, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 13:01:57 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of ContextGridHandler::setDataElementSequence() should be compatible with GridHandler::setDataElementSequence($request, $rowId, &$gridDataElement, $newSequence) in /home//public_html/lib/pkp/controllers/grid/admin/context/ContextGridHandler.inc.php on line 200, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 13:01:57 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of ContextGridHandler::authorize() should be compatible with GridHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home//public_html/lib/pkp/controllers/grid/admin/context/ContextGridHandler.inc.php on line 200, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 13:01:57 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of ContextGridHandler::initialize() should be compatible with GridHandler::initialize($request, $args = NULL) in /home//public_html/lib/pkp/controllers/grid/admin/context/ContextGridHandler.inc.php on line 200, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 13:01:57 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of ContextGridHandler::loadData() should be compatible with GridHandler::loadData($request, $filter) in /home//public_html/lib/pkp/controllers/grid/admin/context/ContextGridHandler.inc.php on line 200, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 13:01:57 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of ContextGridHandler::initFeatures() should be compatible with GridHandler::initFeatures($request, &$args) in /home//public_html/lib/pkp/controllers/grid/admin/context/ContextGridHandler.inc.php on line 200, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 13:01:57 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of ValidatorUrl::getRegexp() should be compatible with ValidatorUri::getRegexp($allowedSchemes = NULL) in /home//public_html/lib/pkp/classes/validation/ValidatorUrl.inc.php on line 19, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 13:01:57 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of ContextSiteSettingsForm::fetch() should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home//public_html/lib/pkp/controllers/grid/admin/context/form/ContextSiteSettingsForm.inc.php on line 19, referer: http:///index.php/index/admin/contexts
[Wed Oct 18 13:01:57 2017] [error] [client 10.20.2.31] PHP Strict Standards: Declaration of JournalSiteSettingsForm::execute() should be compatible with Form::execute($object = NULL) in /home//public_html/controllers/grid/admin/journal/form/JournalSiteSettingsForm.inc.php on line 18, referer: http:///index.php/index/admin/contexts

Regards

Hi @lucien

Could you check and post here your browser log either? Probably there is something on rendering about this stuck in spinning circle.

Regards,
Israel Cefrin
Public Knowledge Project Team

Hi @israel.cefrin
This is not a browser fault I checked on Firefox and Edge. And check in debuger in firefox. There are no errors.
Regards

I realized your log has a referer entry:

referer: http:///index.php/index/admin/contexts

How is set your config.inc.php parameters and values to base_url option?

Regards,
Israel Cefrin
Public Knowledge Project Team

The errors are of course mainly cosmetic, but disabling them could help you read the error_logs more easily and maybe find something: http://stackoverflow.com/questions/9983286/disabling-strict-standards-in-php-5-4 (I do recall having similar problems a year ago and chancing the error handling settings maybe fixed them, not sure)

@israel.cefrin
I deleted the full path from the logs.
Full path is http://zpub.uek.krakow.pl/index.php/index/admin/contexts
base_url option is not set in config.inc.php

;base_url

Regards,

@ajnyga
Thanks a lot for the solution helped.
Regards

1 Like