Everytime cron runs I get the following message in my system log:

[16-Jun-2011 14:32:02] PHP Fatal error:  Call to undefined function date_default_timezone_name() in [...]/drupal-7.2/sites/all/modules/signup/includes/date.inc on line 328

I have the latest core, date, and signup versions installed.

Maybe relevant -- one of my signup nodes has a date field and value used for signup. That date field is set to NOT use a timezone.

Comments

magnusk’s picture

magnusk’s picture

Title: Fatal error during cron » Call to undefined function date_default_timezone_name
roborn’s picture

Status: Active » Needs review
StatusFileSize
new1.11 KB

Yeap, date_default_timezone_name() was renamed to date_default_timezone()

sillygwailo’s picture

Got this in an Ajax error when using Panels.

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /panels/ajax/editor/select-content/panel_context%3Apage-front_page%3Apage_front_page_panel_context/center
StatusText: OK
ResponseText: [long JavaScript object code]
Fatal error:  Call to undefined function date_default_timezone_name() in [drupal]sites/all/modules/signup/includes/date.inc on line 328

The patch fixed this and I was able to add content again.

sgabe’s picture

Status: Needs review » Reviewed & tested by the community

The patch in #3 applies fine and eliminates the error.

sgabe’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.