The first link ends with a 500 server error page, the second link displays context sensitive help.
Looking at the server error log it looks like the view() function in HelpHandler.inc.php is being called without the second parameter, $request.
The errors returned are:
- Code: Select all
[Thu Sep 27 13:38:58 2012] [error] [client 184.108.40.206] ojs2 has produced an error\n Message: WARNING: Missing argument 2 for HelpHandler::view(), called in /var/www/html/ojs/lib/pkp/pages/help/HelpHandler.inc.php on line 39 and defined\n In file: /var/www/html/ojs/lib/pkp/pages/help/HelpHandler.inc.php\n At line: 58\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.3.3\n Apache Version: Apache/2.2.3 (CentOS)\n DB Driver: mysql\n DB server version: 5.0.95, referer: http://www.ias-iss.org/ojs/IAS/about/editorialPolicies
[Thu Sep 27 13:38:58 2012] [error] [client 220.127.116.11] NOTICE: Undefined variable: request (/var/www/html/ojs/lib/pkp/pages/help/HelpHandler.inc.php:63), referer: http://www.ias-iss.org/ojs/IAS/about/editorialPolicies
[Thu Sep 27 13:38:58 2012] [error] [client 18.104.22.168] PHP Fatal error: Call to a member function getUserVar() on a non-object in /var/www/html/ojs/lib/pkp/pages/help/HelpHandler.inc.php on line 63, referer: http://www.ias-iss.org/ojs/IAS/about/editorialPolicies
I tried to see how the help function is called from problematic pages, but I couldn't find where the right column is generated, I have no idea what template I should look at. Two places, that generate errors after clicking on Journal help is the Article view page and some About pages (but not all).
I start noticing this after the upgrade of OJS to 2.4.0, but I'm not sure if the problem existed before - I just started to examine our server logs more closely now, after the upgrade, I ignored them before.
With kind regards,