Closed (fixed)
Project:
D7 Media
Version:
7.x-1.0-rc2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2011 at 18:26 UTC
Updated:
10 Feb 2012 at 02:14 UTC
I'm using the latest dev version of entity and I upgraded the media module to rc2 from a older dev version. I disabled all modules requiring it and when I run update.php I get the following fatal error:
An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: http://mydevsite.com/update.php?id=42342&op=do StatusText: OK ResponseText: Fatal error: Call to undefined function file_entity_update_7001() in /home/mysite/public_html/sites/all/modules/media/media.install on line 576
I have the file eneity module (not listed as a depency on rc2) and the newest dev version of entity, what am I missing that's causing this error?
Comments
Comment #1
aaron commentedActually, the file entity module should be listed as a dependency in RC2: http://drupalcode.org/project/media.git/blob/571d287e3dd29293a2bc45e75e7... . In any case, ensure that you're using the file entity module packaged with media, and not from its own project, as long as you're talking about version 1. Version 2 requires the external dependency.
Try installing that before running your update and see what happens.
Comment #2
sol roth commentedHm.. I am now using file entity from the Media module RC2 - version 1, but its' still giving me the same fatal error:
It seems this is failing -
Which is weird, because that function is present in file_entity.install in the file_entity folder in the media module and it's enabled.
Comment #3
dmsmidtI pasted the code from the file_entity.install update 7001 directly in the media.install update 7017 and ran the upgrade without further problem. Maybe the other file isn't referenced?
Comment #4
hyperglide commentedGoing to close this topic on the following grounds: