Login Error Message

4 posts by 2 authors in: Forums > CMS Builder
Last Post: March 4, 2010   (RSS)

By chrisl - March 1, 2010

Client reports that website is down and unable to login - getting following error:

Notice: date_default_timezone_set(): Timezone ID 'US/Pacific-New' is invalid in /home1/domain/public_html/cmsAdmin/lib/init.php on line 142

When I try to login into the admin area I get the same error. No work has been done on this site for some time. Any hints on this one?
cj

Re: [Dave] Login Error Message

By chrisl - March 1, 2010

Hi

Yes got hold of server and sure enough they confirmed software upgrade - modified ../data/settings.dat and changed "timezone = "US/Pacific_new" to timezone = "US/Pacific" - corrected the problem.

All is well.

With thanks
cj

Re: [chrisl] Login Error Message

By Dave - March 4, 2010

Thanks for the update on this. I'm glad to hear it's working.

I'm going to remove the "US/Pacific-New" timezone option from future versions. It's one of the timezones returned by PHP (and Unix), but it's related to a bill passed by the US House in April 1989 to move daylight savings time around on election years, but it was never signed into law.

So basically it's never used, or not meant to be, and as sysadmins update their systems to remove this supposably never used tiemzone it can break things if a user accidentally selected it.

That's one of the stranger bugs I've seen in a while! :)

Reference:
http://catless.ncl.ac.uk/Risks/13.87.html#subj1

Dave Edis - Senior Developer
interactivetools.com