Fatal error: Call to undefined function
Shane Birley - July 18, 2008 - 19:03
| Project: | Date |
| Version: | 5.x-2.0-rc4 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I just did an update of the Date modules to the latest dev and receive this message during the update.
An unrecoverable error has occured. You can find the error message below. It is advised to copy it to the clipboard for reference.
Fatal error: Call to undefined function content_instance_tablename() in /home/drupal_5x_dev_01/sites/all/modules/date/date/date.install on line 373
#1
Additionally, this message appears.
The update process was aborted prematurely while running update #5201 in date.module.#2
Changing the title to be a little more appropriate.
#3
I can confirm having this identical error when updating from 5.x.1.x to 5.x.2.0-rc3
#4
Yes, this was a stupid copy/paste error when I copied back some code from the D6 version. Fix committed. Thanks!
#5
When is -rc4 coming out, then? :)
Is there any problem with not having whatever this update is supposed to do happening until then?
#6
Download the 5.x-2.x-dev version to test it out.
#7
You rule!
#8
#5 Pretty soon, working through a few more bugs. If you safely got past the update process you don't need to worry about this patch.
#9
Karen,
I had the same problem with 5.x-2.x-rc3, found this thread, downloaded/installed 5.x-2.x-rc4 (which is more recent than the latest DEV code) and am still getting the same error. Suggestions?
#10
That problem is fixed in rc4. I just went and downloaded the tarball from the project page just to be sure and content_instance_tablename() is not anywhere in the code and definitely not on that line. Did you have the 5.1 version of the date module installed previously? If so, you may have old files from that version that are getting used. Clean out your 'date' folder before dumping in the new files. And make sure you don't have date files somewhere else (like in the 'modules' folder where we used to put them).
#11
Karen, the problem I was having in RC4 went away with installation of RC5. FYI.
#12
Automatically closed -- issue fixed for two weeks with no activity.