Hi,
The media module latest dev version has some changes that affect md_slider.
The media_browser_js() function have been removed in favour to simplify the media browser settings. It is now handled in a library. Look here: https://www.drupal.org/node/2454933
This cause "Call to undefined function media_browser_js()" in includes/ckeditor.lib.inc line: 294
There is patch:
diff --git a/sites/all/modules/commercial/md_slider/includes/md_slider.utils.inc b/sites/all/modules/commercial/md_slider/includes/md_slider.utils.inc
index 2ab0dfe..07db57f 100644
--- a/sites/all/modules/commercial/md_slider/includes/md_slider.utils.inc
+++ b/sites/all/modules/commercial/md_slider/includes/md_slider.utils.inc
@@ -291,13 +291,8 @@ function _md_slider_include_media_browser_js() {
}
$included = TRUE;
module_load_include('inc', 'media', 'includes/media.browser');
- $javascript = media_browser_js();
- foreach ($javascript as $key => $definitions) {
- foreach ($definitions as $definition) {
- $function = 'drupal_add_' . $key;
- call_user_func_array($function, $definition);
- }
- }
+ drupal_add_library('media', 'media_browser');
+ drupal_add_library('media', 'media_browser_settings');
// Add wysiwyg-specific settings.
$settings = array('wysiwyg_allowed_attributes' => variable_get('media__wysiwyg_allowed_attributes', array('height', 'width', 'hspace', 'vspace', 'border', 'align', 'style', 'class', 'id', 'usemap', 'data-picture-group', 'data-picture-align')));
drupal_add_js(array('media' => $settings), 'setting');
diff --git a/sites/all/modules/contrib/media b/sites/all/modules/contrib/media
--- a/sites/all/modules/contrib/media
+++ b/sites/all/modules/contrib/media
@@ -1 +1 @@
-Subproject commit 069ba768e69802991401f1031d39a2f5456a276f
+Subproject commit 069ba768e69802991401f1031d39a2f5456a276f-dirty
Hi,
Please check your email
We send you the updated version which works with the latest dev version of media
hi, could you please send me this version, too? thx
Sure Datendrang
Please check your email
Hi Cindy, I'm experiencing the same issue. Could I get the one which works with the latest media dev module?
Thanks in advance.
Sure, please check your email Nonomm
Hi Cindy. Great slider.
I have the same problem with the latest version of Media. Can you update me too?
Please check your email Petyosv
Please send me update. I get:
sites/all/modules/contrib/md_fullscreen_slider/inc/md_fullscreen_slider.utils.inc on line 442
Call to undefined function media_browser_js() /....../sites/all/modules/contrib/md_fullscreen_slider/inc/md_fullscreen_slider.utils.inc on line 442 using both media-2.x-dev and media-2.0-alpha4.
Hi Madman,
We just checked and see you purchased MD Apage. And our Apage uses fullscreen slider but not slider. So we sent to your email an update of fullscreen slider. If you purchased Mega slider please mail back your license key then we can send you update of Mega slider.
Thanks phuonght.
(note: using md_fullscreen_slider)
This still does not work with media 7-2
It calls media_browser_js() which does not exist.
With media-7.1 the admin interface shows all slides on the page
Please advise correct configuration
Hi Madman,
Check your email again :)
Please send me too the newest version
Please check your email
Hi! i have the same issue with MD Fullscreen Sliders included in BiStream template. Can you please send the the newest version?
Sure,
Please check your email Kutula
I have the same problem Could you send me the update?
regards,
Sure,
Please check your email Goblin
Would be glad if you send me the update too.
Thanks in advance
Hi Wiegand,
Doy you mean MD Slider or MD Full screen slider?
MD Full screen - Part of MD Boom.
Thanks.
Please check your email Wiegand
Hi Cindy, I have the same problem in Megamenu (using module Media 7.x-2.0-beta1) Could you send me the update?
Fatal error: Call to undefined function media_browser_js() in C:\inetpub\wwwroot\dominik\sites\all\modules\md_megamenu\includes\md_megamenu.utils.inc on line 627
Thank you
sorry for the previous post, wrong thread ...
Hi Mtrepac,
Has your problem been solved yet? You can go to http://megadrupal.com/forum/module-support/mega-menu to post your problem but we think you can find a solution at that topic: http://megadrupal.com/forum/module-support/mega-menu/1600
Also getting Fatal error: Call to undefined function media_browser_js() in /srv/bindings/2216bbfb956f4cc5abb6670b6c3bbcb7/code/sites/all/modules/custom/md_fullscreen_slider/inc/md_fullscreen_slider.utils.inc on line 442
When trying to update edit the full screen slider. Can you send me the update please.
can you please apply the patch, and provide an updated module in a new install profile so some of us can import just the new module? not everyone knows how to use drush
Please check you email
We send you the updated version of MD Slider and MD fullscreen slider
Please send me too the newest version
Please check your email Gianluca.Glonfoni
Hello,
I have the same "/public_html/modules/md_fullscreen_slider/inc/md_fullscreen_slider.utils.inc on line 442" error
I use latest dev of file_entity and media 2.0 dev
Best regards
Hi Halil Yaman,
If you mentioned problem about md fullscreen slider, there is a new version that you could download from your account page (http://megadrupal.com/user/halil-yaman). Have you tried with it?
Is it possible that I can use this module without using your themes?
Thanks for your concern in our module MD Fullscreen Slider. However, you can not use our module for another theme. It is an illegal usage. Of course, we can not know if you use the module. But, it may conflict with the theme and we will not provide any support or update in that case
Thanks for the reply. I did not use your Mega Slider modulle. Is this an alternative to MD Fullscreen Slider that can be used with any theme? I am using Adaptivethemes custom theme.
We do not sell MD Fullscreen Slider. It is only used in our themes. That's why We can not make sure that our MD Fullscreen Slider can use with any theme.
Hi, I've understood and asked if Mega Slider is ok to use instead of MD Fullscreen slider.
Thx
Hi,
Please take a look at our Mega slider and check if it is match your use purpose. And remember that mega slider has full-width function but not fullscreen function.
Hey there,
I am having same issue as mentioned here.
Can you please send me updated files for?
Hi,
please go to your account page (http://megadrupal.com/user/bpadaria) to download new version of fullscreen slider.
Hello,
My slider (version = "7.x-2.16") does't work with edit, giving me the following error:
Fatal error: Call to undefined function media_browser_js() in /var/www/virtual/kewin/drupal7-spdesign.biz/sites/all/modules/contrib/md_slider/includes/md_slider.utils.inc on line 294
Is there an update on this module? If yes, please provide one somehow.
Thank you,
Hi Kewin
Please check your email. We send you the latest version of MD Slider
Hi Cindy,
It appears that I have the same problem on my website which has the 7.x-2.17 version of the MD Slider module installed.
Fatal error: Call to undefined function media_browser_js() in ...\sites\all\modules\custom\md_fullscreen_slider\inc\md_fullscreen_slider.utils.inc on line 442
Can you, please, send me the new version of the module ?
Nevermind, I downloaded it from my account homepage.