Closed (fixed)
Project:
Date
Version:
6.x-2.4
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2009 at 18:44 UTC
Updated:
7 Jan 2011 at 13:10 UTC
I just upgraded Drupal to 6.14 (which seems to have worked fine), followed immediately by an upgrade of the Date module to 6.x-2.4. Trying to run the 'update.php' script I get nothing but a blank page. The logs show this error:
[17-Sep-2009 12:34:31] PHP Fatal error: Call to undefined function date_get_format_types() in /home/tactusca/public_html/intranet/sites/all/modules/date/date.module on line 289
What is wrong ?
Thanks,
Comments
Comment #1
stefan_seefeld commentedUpdate: I tried to downgrade back to date-6.x-2.3, but am now seeing the same error with that version, too. May the upgrade process itself have done something irreversible (such as disable the module entirely, so it now isn't seen by the rest of my drupal modules) ?
Thanks,
Comment #2
stefan_seefeld commentedOK, I managed to solve the problem. For whatever reason, the 'date_api' module was disabled, leading to the above missing function error. (Whether it was disabled because of a bug in the date upgrade process, or because I did something stupid I have no idea.)
Switching the appropriate flag on in the database allowed me to run the update.php script, which ran to completion without further issues.
Comment #3
lhugg commentedI'm having the same issue, and was glad to find your comment here. How exactly did you change the flag in the database? Since my site is down like yours, I can't do it through the modules interface, and I have no idea where that info lives in the tables. Your help would be very much appreciated.
-larry
Comment #4
lhugg commentedComment #5
bfr commentedUPDATE 'system' SET status='1' WHERE name='date_api'
or however it goes, anyway, the table is system, change status from 0 to 1.
Comment #6
lhugg commentedThank you.
Comment #7
arlinsandbulte commented