Software Hosting and Development Services available at PKP Publishing Services
As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:
As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.
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, michael, jheckman, barbarah, btbell, bdgregg, 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.
by linredec » Wed Jan 16, 2013 7:33 am
I found that
this
viewtopic.php?f=8&t=2163&hilit=WARNING%3A+strtotimeand
this
viewtopic.php?f=8&t=469&hilit=WARNING%3A+strtotimedoesn't look like my error, so seems like different case. Plus those two are kinda old.
Running ojs 2.3.6, and trying to run this ../tools/runScheruledTasks.php file. At first everything was ok, until one day i started to receive emails from system, that there's an error. It was configured in Cron to run this file every 5min.
error looks like this, just repeats nine times. What may be wrong? System didn't have anything major changed at the time this started to happen.
- Code: Select all
ojs2 has produced an error
Message: WARNING: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EET/2.0/no DST' instead
In file: /usr/home/ojs/public_html/lib/pkp/classes/scheduledTask/ScheduledTaskDAO.inc.php
At line: 38
Stacktrace:
Server info:
OS: FreeBSD
PHP Version: 5.3.10
Apache Version: N/A
DB Driver: mysql
DB server version: 5.5.20
-
linredec
-
- Posts: 2
- Joined: Wed Jan 16, 2013 5:45 am
by asmecher » Wed Jan 16, 2013 10:33 am
Hi linredec,
To suppress this message, you need to set the date.timezone setting in your php.ini. See
http://php.net/manual/en/datetime.configuration.php for details. (The warning is cosmetic, i.e. it hasn't stopped your cron job from running, it's just made it noisier.)
Regards,
Alec Smecher
Public Knowledge Project Team
-
asmecher
-
- Posts: 5768
- Joined: Wed Aug 10, 2005 12:56 pm
-
by linredec » Thu Jan 17, 2013 2:04 am
And it worked!
Thank you very much : )
-
linredec
-
- Posts: 2
- Joined: Wed Jan 16, 2013 5:45 am
Return to OJS Technical Support
Who is online
Users browsing this forum: Google [Bot] and 7 guests