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

Comments

Shane Birley’s picture

Additionally, this message appears.

The update process was aborted prematurely while running update #5201 in date.module. 
Shane Birley’s picture

Title: Fresh Install on Test Site » Fatal error: Call to undefined function

Changing the title to be a little more appropriate.

Anonymous’s picture

I can confirm having this identical error when updating from 5.x.1.x to 5.x.2.0-rc3

KarenS’s picture

Status: Active » Fixed

Yes, this was a stupid copy/paste error when I copied back some code from the D6 version. Fix committed. Thanks!

hyperlogos’s picture

When is -rc4 coming out, then? :)

Is there any problem with not having whatever this update is supposed to do happening until then?

Shane Birley’s picture

Download the 5.x-2.x-dev version to test it out.

Shane Birley’s picture

You rule!

KarenS’s picture

#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.

TallDavid’s picture

Version: 5.x-2.x-dev » 5.x-2.0-rc4
Status: Fixed » Active

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?

KarenS’s picture

Status: Active » Fixed

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).

TallDavid’s picture

Karen, the problem I was having in RC4 went away with installation of RC5. FYI.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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