You are viewing the PKP Support Forum | PKP Home Wiki

Warning: strtotime()

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
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.

Warning: strtotime()

Postby ianm » Thu Aug 09, 2007 9:01 am

The following message is appearing under one paper in the Editor's list of Submissions in Review:

Warning: strtotime() [function.strtotime]: Called with an empty time parameter.
in /...path.../classes/submission/reviewAssignment/ReviewAssignment.inc.php on line 522

I assume that there is a missing or corrupt date in that particular paper. Could you advise on where I can start looking? Hopefully, it just needs a record in one of the MySQL tables checking, but I don't want to start making changes without expert help!

I am running V2.1.1.0
Posts: 35
Joined: Sat Aug 06, 2005 3:15 am

Re: Warning: strtotime()

Postby asmecher » Thu Aug 09, 2007 9:34 am

Hi ianm,

It looks like some versions of PHP complain about this and others don't. To correct it, try applying the patch linked at http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=2973; it should correct the problem, and no MySQL work is necessary.

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

Re: Warning: strtotime()

Postby ianm » Thu Aug 09, 2007 9:58 am

That's cured it. Great; many thanks, Alec.

Posts: 35
Joined: Sat Aug 06, 2005 3:15 am

Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest