Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM Warning: date()
#1
Hi there,

I am completely new to GS, and have just installed it on my hosted webspace with PHP5.4.

The following error message keeps popping up in various places:
Quote:Warning: 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/web269/html/plugins/getsimple_contact/process/process.php on line 11

It's already appeared in the admin backend, it's appeared in the frontend. This particular error message appears when I hit the refresh button on the contact form which is created with the GS Contact plugin.

Any thoughts? I've entered a time zone in the settings already.
Thx.
Reply
#2
you need to set a timezone in gsconfig
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
(2014-03-29, 23:46:40)shawn_a Wrote: you need to set a timezone in gsconfig

I don't think this is the problem. I just checked the gsconfig file, and there already IS a timezone in it (even if it isn't the right one). And when I change it, the error remains.
Reply
#4
you can to uncomment it
remove the #
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#5
OK. A fresh start this morning. I checked gsconfig again, made sure everything I need is uncommented. Timezone is set AND uncommented. But the error still pops up when I hit refresh on the contact form. I emptied the cache on my browser, I used a different browser, but to no avail.
Reply
#6
That is odd is it the same error?
If this is a production server, you should have errors turned off anyway. Enable supresserrors in gsconfig also.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)