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: [chrisl] Login Error Message

By Dave - March 1, 2010

Hi Chris,

Sounds like the web host may have upgraded PHP and broke something.

Try this:
- Edit /cmsAdmin/settings.dat.php
- Find this line: timezone = "US/Pacific-New"
- And change it to: timezone = "UTC"
- Once you get it working, update your timezone again under: Admin > General

Hope that helps! Let me know if that fixes it.
Dave Edis - Senior Developer
interactivetools.com

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