OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Stanford OJS Page Down

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Stanford OJS Page Down

Postby jshap » Sat May 03, 2014 9:22 pm

Hi everyone,

I'm having trouble opening my OJS journal at intersect.stanford.edu. I think there might be some sort of server error with our university's configuration.

The PHP info is here: http://ojs.stanford.edu/phpinfo.php

Adding: ini_set('display_errors', 'Off'); didn't work. I put the following in the .user.ini:
display_errors = Off
error_reporting = E_ALL & ~(E_STRICT|E_NOTICE)

I would appreciate any help that you can provide!
jshap
 
Posts: 2
Joined: Sat May 03, 2014 9:16 pm

Re: Stanford OJS Page Down

Postby jalperin » Sat May 03, 2014 11:04 pm

Jordan is talking about this page: http://ojs.stanford.edu/ojs/index.php/intersect

Which is giving these types of errors:
Code: Select all
Strict Standards: Non-static method Registry::set() should not be called statically, assuming $this from incompatible context in /afs/ir.stanford.edu/group/ojs/cgi-bin/ojs/lib/pkp/classes/core/PKPApplication.inc.php on line 91

Strict Standards: Non-static method Registry::getRegistry() should not be called statically, assuming $this from incompatible context in /afs/ir.stanford.edu/group/ojs/cgi-bin/ojs/lib/pkp/classes/core/Registry.inc.php on line 54

Strict Standards: Non-static method Config::getVar() should not be called statically in /afs/ir.stanford.edu/group/ojs/cgi-bin/ojs/lib/pkp/classes/xml/XMLParser.inc.php on line 22

Strict Standards: Non-static method Config::getData() should not be called statically in /afs/ir.stanford.edu/group/ojs/cgi-bin/ojs/lib/pkp/classes/config/Config.inc.php on line 35

Strict Standards: Non-static method Registry::get() should not be called statically in /afs/ir.stanford.edu/group/ojs/cgi-bin/ojs/lib/pkp/classes/config/Config.inc.php on line 44

Strict Standards: Non-static method Registry::getRegistry() should not be called statically in /afs/ir.stanford.edu/group/ojs/cgi-bin/ojs/lib/pkp/classes/core/Registry.inc.php on line 36

Strict Standards: Non-static method Config::getVar() should not be called statically in /afs/ir.stanford.edu/group/ojs/cgi-bin/ojs/lib/pkp/classes/xml/XMLParser.inc.php on line 23
jalperin
 
Posts: 155
Joined: Thu Jul 06, 2006 1:03 pm
Location: Buenos Aires

Re: Stanford OJS Page Down

Postby asmecher » Mon May 05, 2014 8:16 am

Hi Jordan,

This is probably caused by a new release of PHP which handles warnings differently. Can you try applying the attached patch from within the lib/pkp subdirectory? Please report back.

Thanks,
Alec Smecher
Public Knowledge Project Team
Attachments
warnings.diff
Proposed correction to deprecation warnings
(1.46 KiB) Downloaded 12 times
asmecher
 
Posts: 8815
Joined: Wed Aug 10, 2005 12:56 pm

Re: Stanford OJS Page Down

Postby jshap » Mon May 05, 2014 1:39 pm

Turns out there was

error_reporting(E_ALL);
ini_set('display_errors', true);

Removing it solved the issue without needed to apply the patch. Do you think I should still apply it?
jshap
 
Posts: 2
Joined: Sat May 03, 2014 9:16 pm

Re: Stanford OJS Page Down

Postby asmecher » Mon May 05, 2014 2:27 pm

Hi Jordan,

Do you mean that there was a local modification to your OJS containing those lines? If so, remove them and never mind about the patch.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8815
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 2 guests