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
Form cannot be send because of the message below
Started 11 years ago by Sunmoon | 4 posts |
-
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 'Europe/Berlin' for 'CEST/2.0/DST' instead in /homepages/xx/xxxxxxxxx/htdocs/xxxxxxx/machform/includes/post-functions.php on line 1632
What can i do?
Posted 11 years ago # -
Try to edit your "machform/includes/init.php" file. Search for this line of code:
session_start();
below that line, add this code:
date_default_timezone_set(@date_default_timezone_get());
that should fix it.
MachForm Founder
Posted 11 years ago # -
Hi yuniar,
thank you for the answer, but the entry:
date_default_timezone_set(@date_default_timezone_get());
is there in the file init.php already.
Do you have another idea?Thank you!
Posted 11 years ago # -
If the line already exist, then you'll need to edit the php.ini file.
I suggest to contact your hosting tech support and ask their help to set the correct timezone within your php.ini (PHP configuration) file.They should be able to do it easily.
MachForm Founder
Posted 11 years ago #
Reply
You must log in to post.