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

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: No registered users and 5 guests