This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
Getting an error using PHP file
Started 10 years ago by davidlevy | 2 posts |
-
Please check: http://cluckbox.com/order/
I am getting the following error: Strict Standards: 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 'America/New_York' for 'EST/-5.0/no DST' instead in /homepages/26/d400654158/htdocs/CluckBox/machform/includes/view-functions.php on line 1071
All I did was download the PHP file and upload it...
Please help. Thanks,
David
Posted 10 years ago # -
Hi David -- I've just replied to your support ticket and sent you a file.
Basically, the PHP on your server is not being configured to have a specific timezone setting. The fix is by adding this line into your init.php file:date_default_timezone_set(@date_default_timezone_get());
MachForm Founder
Posted 10 years ago #
Reply
You must log in to post.