Hi,

I used rotating banner module (rotating_banner 7.x-1.0-alpha4 ) for creating rotaing banner.

While trying to add a picture i am getting below error:
Fatal error: Call to undefined function media_include_browser_js() in C:\xampp\htdocs\drupal\sites\all\modules\rotating_banner\rotating_banner.admin.inc on line 35

please help fix this problem.

regards,
DPMALLIA

Comments

bboldi’s picture

I don't know if this helps, but I have found few solutions to this problem by googling

"Fatal error: Call to undefined function media_include_browser_js() in" rotating_banner.admin.inc
1kubik’s picture

hi bboldi

i did google this prob
and i found a bunch of tries to solve it
but nothing helped out...
do you still remember witch ones worked for you?

thank you a lot
regards
stef

bboldi’s picture

Sorry Man, I don't remember, so the procedure is "trial by error" :(

scottcarlton’s picture

Open rotating_banner.admin.inc and go to line 35
replaced:

include_once drupal_get_path('module', 'media') . '/media.browser.inc';
media_include_browser_js();

To

include_once drupal_get_path('module', 'media') . '/includes/media.browser.inc';
media_browser_js();

Should work after that.

scottcarlton’s picture

worked now stopped.