CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Warning: date() [function.date]:

Print topic Send  topic

Author Message
Waspman

Posts: 948
Posted: 10/30/2013, 11:42 AM

Php has been updated on my server and this happened...

Warning: date() [function.date]: 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 'UTC' for 'GMT/0.0/no DST' instead in /home/partsman/public_html/VPPS_V2/Common.php on line 669


Anyone know how to fix it?

Ta:)
_________________
http://www.waspmedia.co.uk
View profile  Send private message
enko


Posts: 74
Posted: 10/30/2013, 12:48 PM

I fix that putting this line
date_default_timezone_set('Europe/Rome');
at top of file in common.php
_________________
Italy - CodeCargeStudio (5.1.1.18992) - Dephi RIO - Lazarus (Free Pascal) - www.egsoft.it - www.egauto.it - www.egcourier.it - www.egestetica.it - Windows, Linux, Raspberry Apps.
View profile  Send private message
Waspman

Posts: 948
Posted: 10/30/2013, 1:01 PM

Thank you enko ;-)
_________________
http://www.waspmedia.co.uk
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.