OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



One click reviewer

General inquiries about the PKP.

Moderators: jmacgreg, btbell, michael, bdgregg, vgabler, barbarah, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

One click reviewer

Postby kayiwa » Thu Apr 25, 2013 11:16 am

We just upgraded to 2.4.2 and the one-click reviewer got broken in the process. The expectation is that the article should allow a reviewer to click on the article received and automatically allow them to access the article without authentication. The token fails and brings the reviewer to the login page. The error we get on the webserver is

Code: Select all
[Thu Apr 25 10:33:40 2013] [error] [client 131.193.153.235] ojs2 has produced an error\n  Message: WARNING: array_keys() expects parameter 1 to be array, null given\n  In file: /var/www/html/ojs/classes/author/form/submit/AuthorSubmitStep1Form.inc.php\n  At line: 103\n  Stacktrace: \n  Server info:\n   OS: Linux\n   PHP Version: 5.3.3\n   Apache Version: Apache/2.2.15 (Red Hat)\n   DB Driver: mysql\n   DB server version: 5.1.36-community-log, referer: http://ojs-staging-lib.cc.uic.edu/ojs/index.php/jhs/author
[Thu Apr 25 10:33:40 2013] [error] [client 131.193.153.235] ojs2 has produced an error\n  Message: WARNING: array_shift() expects parameter 1 to be array, null given\n  In file: /var/www/html/ojs/classes/author/form/submit/AuthorSubmitStep1Form.inc.php\n  At line: 108\n  Stacktrace: \n  Server info:\n   OS: Linux\n   PHP Version: 5.3.3\n   Apache Version: Apache/2.2.15 (Red Hat)\n   DB Driver: mysql\n   DB server version: 5.1.36-community-log, referer: http://ojs-staging-lib.cc.uic.edu/ojs/index.php/jhs/author
[Thu Apr 25 10:33:40 2013] [error] [client 131.193.153.235] ojs2 has produced an error\n  Message: WARNING: in_array() expects parameter 2 to be array, null given\n  In file: /var/www/html/ojs/classes/author/form/submit/AuthorSubmitStep1Form.inc.php\n  At line: 112\n  Stacktrace: \n  Server info:\n   OS: Linux\n   PHP Version: 5.3.3\n   Apache Version: Apache/2.2.15 (Red Hat)\n   DB Driver: mysql\n   DB server version: 5.1.36-community-log, referer: http://ojs-staging-lib.cc.uic.edu/ojs/index.php/jhs/author
[Thu Apr 25 10:33:40 2013] [error] [client 131.193.153.235] ojs2 has produced an error\n  Message: WARNING: in_array() expects parameter 2 to be array, null given\n  In file: /var/www/html/ojs/classes/author/form/submit/AuthorSubmitStep1Form.inc.php\n  At line: 112\n  Stacktrace: \n  Server info:\n   OS: Linux\n   PHP Version: 5.3.3\n   Apache Version: Apache/2.2.15 (Red Hat)\n   DB Driver: mysql\n   DB server version: 5.1.36-community-log, referer: http://ojs-staging-lib.cc.uic.edu/ojs/index.php/jhs/author
[Thu Apr 25 10:33:40 2013] [error] [client 131.193.153.235] ojs2 has produced an error\n  Message: WARNING: in_array() expects parameter 2 to be array, null given\n  In file: /var/www/html/ojs/classes/author/form/submit/AuthorSubmitStep1Form.inc.php\n  At line: 112\n  Stacktrace: \n  Server info:\n   OS: Linux\n   PHP Version: 5.3.3\n   Apache Version: Apache/2.2.15 (Red Hat)\n   DB Driver: mysql\n   DB server version: 5.1.36-community-log, referer: http://ojs-staging-lib.cc.uic.edu/ojs/index.php/jhs/author
[Thu Apr 25 10:33:40 2013] [error] [client 131.193.153.235] ojs2 has produced an error\n  Message: WARNING: in_array() expects parameter 2 to be array, null given\n  In file: /var/www/html/ojs/classes/author/form/submit/AuthorSubmitStep1Form.inc.php\n  At line: 112\n  Stacktrace: \n  Server info:\n   OS: Linux\n   PHP Version: 5.3.3\n   Apache Version: Apache/2.2.15 (Red Hat)\n   DB Driver: mysql\n   DB server version: 5.1.36-community-log, referer: http://ojs-staging-lib.cc.uic.edu/ojs/index.php/jhs/author
[Thu Apr 25 10:34:26 2013] [error] [client 131.193.153.235] PHP Fatal error:  Call to a member function getId() on a non-object in /var/www/html/ojs/classes/submission/sectionEditor/SectionEditorAction.inc.php on line 128, referer: http://ojs-staging-lib.cc.uic.edu/ojs/index.php/jhs/editor/selectReviewer/4689


Can anyone point us to what we would need to do to correct this?

Cheers,
./fxk
kayiwa
 
Posts: 8
Joined: Tue Feb 19, 2013 9:18 am

Re: One click reviewer

Postby asmecher » Thu Apr 25, 2013 12:09 pm

Hi kayiwa,

See http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=8210 for a bug report; I'll post a patch there shortly.

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


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests