close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Urgent help needed please - Warning: date() []: in mail.php

Thread began 10/13/2009 12:31 pm by rob75685 | Last modified 6/22/2010 7:04 am by Jason Byrnes | 2695 views | 4 replies |


Urgent help needed please - Warning: date() []: in mail.php

hi there

A contact page I've created using Universal Email tested fine on my server, but on posting the page live on another server it comes up with the following errors:

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 'Europe/London' for 'BST/1.0/DST' instead in /Library/WebServer/Documents/dev/WA_Universal_Email/mail_PHP.php on line 169

Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/dev/WA_Universal_Email/mail_PHP.php:169) in /Library/WebServer/Documents/dev/customersatisfaction.php on line 48

Is it related to timestamp differences ?....

Thanks for your help

Sign in to reply to this post

Ray BorduinWebAssist

This means you are missing the default timezone setting in your php.ini.

You can either set it on the top of the page:

or add it to your php.ini:

Sign in to reply to this post
Did this help? Tips are appreciated...


Thanks very much for the quick response Ray

Sign in to reply to this post


Date function

Give me suggestions

Sign in to reply to this post

Jason ByrnesWebAssist

can you provide more details on what you would like suggestions to do?

If you need more information on the php date function, see the date manula page here:

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...