Jump to content

what is firefox browser problem with date();


Notretsam

Recommended Posts

my website works perfectly on chrome and other browsers, but was checking something and went on firefox, an discovered this outputted error.

 

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.

 

 

what is fireforx problem with using date(); and this nonsense about setting a timezone and not using systems timezone.

Link to comment
Share on other sites

That's not Firefox's problem, that's PHP's problem. Firefox has no idea what errors are going on at the server-side.

 

You'll get a warning if you try to use the date() function without specifying a time zone first.

Link to comment
Share on other sites

yup just figured that out about 5 mins ago

 

lol its funny

 

I went to my hosting live chat about a issue earlier, turns out they upgraded our PHP version from 5.2 to 5.5 without telling me

 

so all of a sudden I had errors galore on my website, starting with the date issue which showed up on firefox but not chrome , then everything on my site went to after that, and now I got a lot of error fixing as turns out I need to use 5.5 at least now.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...