Closed (fixed)
Project:
Event
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jul 2008 at 15:27 UTC
Updated:
14 Jul 2012 at 23:27 UTC
When I tried to upgrade from 5.x to 6.x today, I got this error during the upgrade:
An error occurred. http://staffspace/update.php?id=1&op=do <br /> <b>Fatal error</b>: Call to undefined function _event_user_time() in <b>/var/www/sites/all/modules/event/event.install</b> on line <b>321</b>
I'm baffled because I can see the function _event_user_time() on line 1534 in event.module.
PHP version: 5.2.1
mySQL version: 5.0.38
Comments
Comment #1
emilyf commentedYou need to turn on/enable the event module first, then run update.php. This should fix it.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
karunadave commentedI just experienced the same error.
Workflow:
Event module is present but not enabled.
run update.php
Error: "Undefined function _event_user_time() on install"
This should not happen. If the module is not enabled, the update.php process must ignore the module, rather than interrupting the update with "Undefined function _event_user_time() on install".
For example, a multisite install of Drupal may have several instances that use Event, and one that does not. Updating the instance that does not use Event would be a problem with this bug as it is now.
Comment #4
killes@www.drop.org commentedThat seems to be a core bug?
Comment #5
killes@www.drop.org commentedI've worked around this bug in event.install.