5 users online. Create an account or sign in to join them.Users

Search

When I deployed a site today, I got the following error:

Warning: Invalid timezone 'localtime' in /home/[client]/domains/[domain.com]/public_html/symphony/lib/core/class.datetimeobj.php on line 6

When I looked into my config file, my region-timezone was set to ‘localtime’. I assume this is a default value? It caused my hosting to throw the above error so how default is ‘localtime’? Changing it to ‘Europe/Amsterdam’ solved the issue.

Is this a bug in Symphony? Or is it a configuration setting at the hosting server?

Nope, it’s PHP 5.3 thing. In PHP 5.3 the timezone has to be defined.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details