Closed (duplicate)
Project:
D7 Media
Version:
7.x-1.0-beta4
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2011 at 05:46 UTC
Updated:
18 Jun 2013 at 11:13 UTC
Beta 3 was working just fine. I updated to Beta 4 and got the following message:
Fatal error: Call to undefined function media_include_browser_js() in /sites/all/modules/media_gallery/media_gallery.module on line 370.
I did a new D7 install and used beta 4 but I still get the same error message.
website is 1.thesports-store.com
Comments
Comment #1
joebest commentedComment #2
kbm065 commentedI get the same error. The update failed, and now I can't post content, because I get the same error as mentioned here.
Comment #3
johntarling commentedI think this will need to be moved to the media gallery queue as this is most likely to be with the update of media to use file entities as noted here #1086958: Switch from Media Entity to File Entity comment #25 states that other modules such as media_gallery will need to be updated to cope with this change.
Comment #4
embloo commentedI agree with #3, i only noted this exact same error after updating the Media module itself. I did note, however, that the 'galleries' work fine once logged out. i tired creating a new gallery to see if it would workaround, and while it completed creating the new gallery, the same error appeared afterwards, when trying to access it. i'm not much of a coder, but thought these symptoms might provide some clues.
Comment #5
camdarley commentedGet the same error. Should we move this to the media_gallery module?
Comment #6
ruski commentedI also get a fatal error after upgrading to beta4, however it is triggered when I click on the "Add Media" Icon in Wysiwyg/CKEditor.
Error as follows:
Fatal error: require_once() [function.require]: Failed opening required '/home/mysite/public_html/client/sites/all/modules/media/media.browser.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/mysite/php') in /home/mysite/public_html/client/includes/menu.inc on line 499
Comment #7
ruski commentedI've since opened up the menu_router table, changed all references of media/media.browser.inc to media/wysiwyg_plugins/media.inc and flushed all caches repeatedly. This seems to have restored media functionality for me. Hope I haven't broken something else :)
Comment #8
Mac Ryan commentedsubscribe
Comment #9
JacobSingh commentedThis is actually because of #1106922: Clean up filenames, standardize on directories and it is already fixed in media_gallery 7.x-1.x: #1122330: Media module moved files around, need to update references
Update to the branch if you want it to work or patch. Another media_gallery release will come sometime soon.
Comment #10
joebest commentedI made a new install using:
media_gallery-7.x-1.x-dev.tar.gz
media_youtube-7.x-1.0-alpha4.tar.gz
media-7.x-1.0-beta4.tar.gz
multiform-7.x-1.0-beta2.tar.gz
styles-7.x-2.x-dev.tar.gz
And It's working fine
Comment #11
ronald577 commentedI tried uninstalling and reinstalling but facing the same error.