Closed (fixed)
Project:
Media Gallery
Version:
7.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2011 at 11:53 UTC
Updated:
18 May 2011 at 08:38 UTC
Jump to comment: Most recent file
Comments
Comment #1
hypertext200Reproduce use 7.x-1.x-beta3 media module and media_gallery
Comment #2
hypertext200Has been working fine with master versions.
Comment #3
vagrant commentedI am getting this same error using 7.x-1.0-beta4 on the media gallery and media modules. The patch from #1 is already installed in the beta4 version. This affects the "add media" link (there isn't one) and breaks the page load.
Any ideas where else to look? Thanks in advance
Comment #4
geert commentedSame fatal error on my site.
How it happened: after installing the modules, I went to the galleries tab that the module installs. As I do not have a gallery yet, I click the add new gallery on that page. upon saving, there is the fatal error: Fatal error: Call to undefined function media_include_browser_js() in C:\xampp\htdocs\Lenske\sites\all\modules\media_gallery\media_gallery.module on line 370
After going back to the site homepage, visiting the gallerie page, clicking the empty gallery, it gives the same error.
I use media beta4 and media gallerie beta 4
Geert
Comment #5
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 #6
triple5 commentedThanks for the advice, since this is already an old post it would be good to have some information about the branch that should be checked out... Which exactly is a working version, and if you, why doesn't this become a beta5.
The other thing I want to remark is that drupal 7 has now a dependency control system, with which you can define exactly which version of the depending (or dependent?) module needs to be installed.
look at:
http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_pa...
that would be very cool...
Comment #7
triple5 commentedIt seems that media_gallery 7.x-1.x-dev from 25.04.2011 is working with media 7.x-1.0-beta4 hooray, it was very difficult to find this information though, please put this somewhere on the pages for the description.
Comment #8
rocbrook commentedThanks triple5
Comment #9
fedik commentedFor fix:
File: media_gallery.module
Need change line ~ 360 from this: module_load_include('inc', 'media', 'media.browser'); to this: module_load_include('inc', 'media', 'includes/media.browser');