I recently installed OJS 3.0 but when I login to change the appearence of website, there is a blank page as follows:
When I refresh the page, the page loads without problems. But when I try to visit the submission page, there says that the page is loading but although I wait a long time, the page does not load properly:
I now checked the error logs, there are some errors like these, but I dont know what they mean:
[28-Nov-2016 09:11:29 America/Chicago] PHP Strict Standards: Declaration of SearchHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home/jarfeorg/public_html/pages/search/SearchHandler.inc.php on line 19
[28-Nov-2016 09:11:29 America/Chicago] PHP Strict Standards: Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /home/jarfeorg/public_html/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 372
[28-Nov-2016 09:11:29 America/Chicago] PHP Strict Standards: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/jarfeorg/public_html/classes/core/Request.inc.php on line 68
I checked “config.inc.php”, display_errors and deprecation_warnings were off. On the other hand In the PHP Option Page; “display_errors Off” is selected. But the problem continues. In the submission page (… workflow/index/2/1) only “Loading” appears but nothing happens.
I suspect your browser is getting PHP error messages served to it during a page subrequest. You can explore for these by installing a tool like Firebug for Firefox and looking at the responses OJS gives to the browser – I suspect you’ll see error messages in one of these.
Regards,
Alec Smecher
Public Knowledge Project Team
@veli It seems we have the similar problem right now with OJS 3.1. I wonder if you get this solved. Could you please share some tips if you have this fixed?
I had same problem of slow loading in admin panel after upgrade OJS to 3’s version. I try to contact my hosting provider but they said ‘Oke, no problem in server side’. Please help for this problem. I’ve upgraded two of my website with OJS 3, but now just ‘Loading’. Thanks.
Is your server configured to display errors to the end user? If so, I would suggest configuring it to send errors and warnings to the log file instead. Messages being sent to the browser will interfere with subrequests. The warnings in the log are cosmetic and can otherwise be ignored.
Regards,
Alec Smecher
Public Knowledge Project Team
After my site was uploaded to the server, the site began to work very slowly. The log file contains the following errors many times:
ojs2: 404 Not Found
with the different IPs. And a lot of warnings
PHP Warning: fsockopen(): unable to connect to pkp.sfu.ca:80 (Connection timed out) in /lib/pkp/classes/file/wrappers/HTTPFileWrapper.inc.php on line 77
PHP Warning: array_flip(): Can only flip STRING and INTEGER values! in /lib/pkp/classes/core/PKPApplication.inc.php on line 702
with my IP. I can not see php.ini, I do not have access to any server settings except a files in the home directory. Can you help me to solve this problem?
Is your server firewalled from accessing pkp.sfu.ca? There are a few features that won’t work in that case (e.g. the plugin gallery), and depending on how your system is firewalled, OJS might delay for a while as it tries to contact the server.
Regards,
Alec Smecher
Public Knowledge Project Team