 |
? |
Author |
Message |
Cosmetic
Joined: 11 Mar 2014
Posts: 1
|
Posted: Tue Mar 11, 2014 7:44 pm |

|
We have implemented the RSS2HTML script on our server but the script is triggering multiple date related warnings;
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings.
Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings.
Warning: mktime() [function.mktime]: It is not safe to rely on the system's timezone settings.
My previous post on this subject was removed and the posting account was blocked without any explanation, also support do not respond to emails on this subject.
Is there a reason why you do not want to discuss this?
|
|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2694
|
Posted: Wed Mar 12, 2014 8:09 am |

|
If the name you previously registered was close to Cosmetic or something similar, your previous account and thread probably got deleted unintentionally as a potential spam thread.
With regards to the errors you're seeing about the timezone settings, it's indicating that you have the script configured to rely on the local server's timezone settings and that isn't particularly safe.
So, if you would, please go to this section of the script:
//
// Timezone - If your server is not in the same timezone as you are the timezone
// of the times and dates produced in the above from can be controlled with the
// below code. Just uncomment the following line and change to the correct
// zonename. A full list is available here, http://www.php.net/manual/en/timezones.php
// You town.city probably isn't listed, so look for a neighboring major city
// putenv("TZ=America/New_York");
and remove the comments on the last line. So, change this line:
// putenv("TZ=America/New_York");
to this:
putenv("TZ=America/New_York")
Then save and re-publish the script and let's see if that error goes away.
|
_________________
Create RSS Feeds
Audio Recording and Editing
|
|
 |
 |
|
|
|