Community & Support

Call to undefined function in date_create in date_api.module ???

I moved a drupal site to another server. Everything else works fine, but I get this error when I log in for the first time.

Also I do not see the timezone_open function in the date_api.module?

Comments

See http://drupal.org/requirements

See http://drupal.org/requirements
Recommended: PHP 5.2.x
Required: PHP version 4.3.5 or higher

http://php.net/manual/en/function.timezone-open.php
(PHP 5 >= 5.1.0)
timezone_open — Returns new DateTimeZone object

http://php.net/manual/en/function.date-create.php
(PHP 5 >= 5.2.0)
date_create — Returns new DateTime object