Cron Job spitting out weird error msg

When my cron job runs I get an email that repeats the same error 7 times in one msg. The weird thing is the cron job is actually working as videos are being processed. See error below...

 

PHP Warning:  getdate(): 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 'Asia/Manila' for 'PHT/8.0/no DST' instead in /var/www/vhosts/my.xxxxxxxx.com/httpdocs/periodic/cron.php on line 162

 

Any ideas?

Quote · 25 Apr 2010

Hello you will need write this string into you inc/header.inc.php after <?php


date_default_timezone_set('Europe/Dublin');

instead of - Europe/Dublin write you place

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 25 Apr 2010

Thanks Sasha, but I cannot seem to find the code you mentioned in the inc/header.inc.php

<?php does not appear anywhere in the file.

Quote · 25 Apr 2010

Then place it under the first <? you see should be on line one of the file.  Must have forgotten they switched to short open tags or something.

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 25 Apr 2010

Thanks Sasha and Jay... that fixed it.

Quote · 25 Apr 2010

For a list of parameters (places):

http://www.php.net/manual/en/timezones.php

 

Thanks you all for your help.Wink

Quote · 10 Feb 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.