OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Review upload issue with fatal error

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

Moderators: jmacgreg, michael, 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.

Review upload issue with fatal error

Postby bronskyblu » Thu Feb 03, 2011 7:39 am

Hi James,
as promised a my conference reviewer found another issue: evidently the upgrade from 2.1.2.1 to 2.3.3.1 was not perfect. Anyway I prefere to refer to his own words (he's a reviewer that try to upload his comments on a paper):

"The problem is when I try to save the recommendation (accept,.....reject) and the score from 0 to 100. When I try to save the message is the following:

Fatal error: Call to a member function getDateAssigned() on a non-object in /ocs/classes/submission/reviewAssignment/ReviewAssignmentDAO.inc.php on line 486"

I saw the bug report http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=5373 that seems quite similar (and I hope the similar solution).

Any idea to solve it or go around? My bigger problem, as you know, is that I cannot access the server as admin (so I can play in someway with the configuration but I am not enabled to use command line tools and to run any exe prog) and this limit me with patches use.


Thanks
bronskyblu
 
Posts: 14
Joined: Sun Oct 03, 2010 4:36 am

Re: Review upload issue with fatal error

Postby jmacgreg » Sun Feb 06, 2011 10:24 pm

Hi Gabriele,

Strange -- I don't think that that is the same problem, unfortunately, as the bug report and fix was assigned against an older version of OCS. Could you open the problem file (/ocs/classes/submission/reviewAssignment/ReviewAssignmentDAO.inc.php) via FTP, and see what is on line 486?

Cheers,
James
jmacgreg
 
Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Re: Review upload issue with fatal error

Postby bronskyblu » Thu Feb 10, 2011 5:14 am

Hi James, luckily it seems that this problem does not persist anymore: when I tried to submit the review (as reviewer) anything went fine. So now I don't know how that issue arise.

Anyway, this is what I found on line 486 of the selected file (/ocs/classes/submission/reviewAssignment/ReviewAssignmentDAO.inc.php):

$this->datetimeToDB($reviewAssignment->getDateAssigned()), $this->datetimeToDB($reviewAssignment->getDateNotified()), $this->datetimeToDB($reviewAssignment->getDateConfirmed()), $this->datetimeToDB($reviewAssignment->getDateCompleted()), $this->datetimeToDB($reviewAssignment->getDateAcknowledged()), $this->datetimeToDB($reviewAssignment->getDateDue()), $this->datetimeToDB($reviewAssignment->getDateRated()), $this->datetimeToDB($reviewAssignment->getLastModified()), $this->datetimeToDB($reviewAssignment->getDateReminded())),

Thanks,
bronskyblu
 
Posts: 14
Joined: Sun Oct 03, 2010 4:36 am


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest