Hi everyone

I've seen the same error before but with a different version and I thought of reporting the error again as part of supporting this wonderful module

The module was installed nicely using the Install from a URL, I created rotator block smoothly BUT when I tried to add a new slide to this banner I got this error message

Fatal error: Call to undefined function media_include_browser_js() in /home/mysite/public_html/sites/all/modules/rotating_banner/rotating_banner.admin.inc on line 34

Thanks

Comments

AimAdvantage’s picture

Hi Jacob Singh and James Elliott (I think)

I actually had the same issue and had to copy the files from an older "working" site to get this to work on a new site, so for some reason, this admin.inc line 34 issue is still keeping me from installing new forms of this module elsewhere.

Since I don't know Drupal code all that well- I can't fix it or quite understand it though I do know how to add patches that others write up.

Do you guys know why this issue might be recurring?

Thanks
Aaron
http://aimadvantage.com/

james.elliott’s picture

Based on the error message, I would assume that rotating_banner is not compatible with the version of the media module you are using. Can you indicate which version of media you are using so that we can debug this compatibility issue?

AimAdvantage’s picture

I am using 7.x-1.0-beta3 for Media on both sites-

Strange thing is, I installed the rotating banner on this site : http://aimadvantage.com

and it worked fine at the time (still does)

then I installed new from URL for this site http://www.strumviews.com

and I began getting the error on this page-

So i got rid of the module and simply copied the files and unzipped them from the aimadvantage site into the corresponding dirs for the strumviews site- and then it worked fine-

So I am not sure at what place in the dev (with specific patches being added) of the rotating banner I installed it - don't know the dates and where it was in dev process-

Thanks again-
Aaron

i46’s picture

Sorry guys ,, I should've mentioned that earlier

I'm using "Rotating banner 7.x-1.x-dev"
along with Media 7.x-1.0-beta3
and Styles 7.x-2.0-alpha5

Thanks for support guys

Edmund Cluett’s picture

Hi (and Greetings from Norway)

I have the exact same modules installed and am getting the same error message.
A solution would be fantastic, guys!

mcsolas’s picture

Just ran into the same exact error message when I went to create the first slide in the banner rotation.

Fatal error: Call to undefined function media_include_browser_js() in .../sites/all/modules/rotating_banner/rotating_banner.admin.inc on line 34

james.elliott’s picture

There have been some major reorganizations of the media and styles module. This module needs to update its dependencies so that it will work with the new versions of those modules. See #1122334: Media module moved files around, need to update references

ksenzee’s picture

Status: Active » Fixed

The development version of this module should work with the development version of media module. If it doesn't, please feel free to reopen this issue.

Status: Fixed » Closed (fixed)

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