The visual editor of the TinyMCE and Media plugins is no longer displayed

User avatar
Edi
Site Admin
Posts: 2159
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Please update to Media 0.1.1.
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
User avatar
SamBrishes
Master Bludit
Posts: 96
Joined: Tue Dec 25, 2018 8:07 pm
Location: Austria 'n' Germany
Contact:

That's really odd...

Looking at the Console Messages...

The first error is a Bludit one, which is fixed in the latest master branch (Pull Request)

Code: Select all

jQuery.Deferred exception: $(...).autoComplete is not a function @https://mydomain.com/admin/edit-content/test:494:23
e@https://mydomain.com/bl-kernel/js/jquery.min.js?version=3.12.0:2:29453
l/</t<@https://mydomain.com/bl-kernel/js/jquery.min.js?version=3.12.0:2:29755
 undefined jquery.min.js:2:31008
TypeError: $(...).autoComplete is not a function test:494:23
    <anonymous> https://mydomain.com/admin/edit-content/test:494
    jQuery 2
        e
        t
 
But the second one belongs to the media Plugin, which shouldn't happen. The URL is passed within the "data-action" attribute on the media-list table, generated by the "buildURL" method of the main media admin class which relates to Bludits "DOMAIN_ADMIN" constant.

Code: Select all

Error: No URL provided. dropzone.min.js:1:3311
    C https://mydomain.com/bl-plugins/media-0.1.0/admin/js/dropzone.min.js:1
    <anonymous> https://mydomain.com/bl-plugins/media-0.1.0/admin/js/media.js:430
    jQuery 2
        e
        t
Since I'm still not able to re-produce this error can you please send me the zipped page per eMail at sam@pytes.net. You can save the page using the Context Menu (Right Click on Firefox / Chrome) -> "Save Page as...".

Please don't upload or link this page here in this forum, since it may contain sensitive information.

Sorry for this, but I can't find another way to fix this.

Thanks for your help.
If you really like my projects and want to support me, I would be extremely grateful for a coffee! (Thanks to all Supporters):

Image
User avatar
Edi
Site Admin
Posts: 2159
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Either this is not yet fixed in v0.2.0 or the bug is back...

It happens if "Root Settings" are set either to "Temporary root/pages folder" or "Permanently root/media folder".

The console shows:

Code: Select all

Uncaught TypeError: list is null
    Media https://[...]/bl-plugins/media-plus/admin/js/media.js?ver=0.2.0:35
    <anonymous> https://[...]/bl-plugins/media-plus/admin/js/admin.js?ver=0.2.0:265
    EventListener.handleEvent* https://[...]/bl-plugins/media-plus/admin/js/admin.js?ver=0.2.0:261
    <anonymous> https://[...]/bl-plugins/media-plus/admin/js/admin.js?ver=0.2.0:773
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
User avatar
SamBrishes
Master Bludit
Posts: 96
Joined: Tue Dec 25, 2018 8:07 pm
Location: Austria 'n' Germany
Contact:

Interesting, I'll check it out as soon as possible. Thanks for your information.
If you really like my projects and want to support me, I would be extremely grateful for a coffee! (Thanks to all Supporters):

Image
Post Reply