Hi. Installed MD Slider and any attempt to save a change results in "Fatal error: Call to undefined function media_include_browser_js() in /home/cca/public_html/dnews/sites/all/modules/md_slider/includes/md_slider.admin.inc on line 45" Any idea as to how to fix this?
Thank you
TD
Hi,
We are working on your issue and will feedback you asap
Regards,
Hi,
Are you using Media alpha?
Please use the beta version of Media instead
Cindy,
There's not a beta version available. I'm using the Alpha 3 version which is the same version that came with MD Max and that works fine in Max. I tried the newest dev version but that give me a new set of errors.
Ok, so I uninstalled, manually, the Alpha2 V of Media and dropped the tables as necessary and tried to install the 7.1x vers of Media and it broke the site and caused many errors. I fixed that by uninstalling Media, again, and ran update and installed the Alpha3 Media v and all was good. MD Slider now works with the Alpha3 V of Media. And so does my site.
Hi Tedwyer
Thank you very much for your feedback!
Regards,
I too am now getting this error. I am unable to downgrade media as well. Any suggestions.
The error is in the edit page. I could have sworn I had this working and a recent upgrade broke it.
Fatal error: Call to undefined function media_include_browser_js() in /public_html/sites/all/modules/md_slider/includes/md_slider.admin.inc on line 474
Ok I chased the errors. I am using the latest MEDIA 7.x-2.0-alpha4 as well as file entity.
Here is what I had to do:
Replace media_include_browser_js() with media_wysiwyg_include_browser_js();
comment or remove the line include_once drupal_get_path('module', 'media_wysiwyg') . '/wysiwyg_plugins/media.inc';
That got rid of my first errors then allowing me to go to the edit page.
I encountered another unrelated to mdslider error with changing photos because of the Media Youtube module.
Changed:
return media_access('create', $account); to return file_entity_access('create', $account);
From MediaYouTubeBrowser.inc
Everything is working now