• What could prevent the activated Insert Media Library gallery to NOT show anything? The wheel is spinning and spinning….
    The AJAX call populating the gallery:
    https://dummy.eu/wpcms/wp-admin/admin-ajax.php
    returns 0. Under latest WP it returns a 400 status as well.

    Is this part in any way influenced by your plugin? It seems that a namespace/token for the action is missing for showing the gallery. Would be quite sad, if I could not use the Media browser!

    Any hint is welcome.
    Thanks!

    • This topic was modified 6 years, 10 months ago by Cars10. Reason: Added more info, clearer
    • This topic was modified 6 years, 10 months ago by Cars10.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Cars10

    (@shonu)

    The console error:

    XHR failed loading: POST “https://…/wpcms/wp-admin/admin-ajax.php”.

    send	@	jquery.js?ver=1.12.4:4
    ajax	@	jquery.js?ver=1.12.4:4
    (anonymous)	@	wp-util.min.js?ver=4.9.2:1
    a.Deferred	@	jquery-migrate.min.js?ver=1.4.1:2
    send	@	wp-util.min.js?ver=4.9.2:1
    sync	@	media-models.min.js?ver=4.9.2:1
    fetch	@	backbone.min.js?ver=1.2.3:1
    more	@	media-models.min.js?ver=4.9.2:1
    more	@	media-models.min.js?ver=4.9.2:1
    prepare	@	media-views.min.js?ver=4.9.2:3
    render	@	wp-backbone.min.js?ver=4.9.2:1
    (anonymous)	@	wp-backbone.min.js?ver=4.9.2:1
    (anonymous)	@	underscore.min.js?ver=1.8.3:5
    m.each.m.forEach	@	underscore.min.js?ver=1.8.3:5
    _attach	@	wp-backbone.min.js?ver=4.9.2:1
    set	@	wp-backbone.min.js?ver=4.9.2:1
    add	@	wp-backbone.min.js?ver=4.9.2:1
    createAttachments	@	media-views.min.js?ver=4.9.2:3
    initialize	@	media-views.min.js?ver=4.9.2:3
    e.View	@	backbone.min.js?ver=1.2.3:1
    constructor	@	wp-backbone.min.js?ver=4.9.2:1
    constructor	@	media-views.min.js?ver=4.9.2:1
    n	@	backbone.min.js?ver=1.2.3:1
    browseContent	@	media-views.min.js?ver=4.9.2:1
    _	@	backbone.min.js?ver=1.2.3:1
    m	@	backbone.min.js?ver=1.2.3:1
    f	@	backbone.min.js?ver=1.2.3:1
    u.trigger	@	backbone.min.js?ver=1.2.3:1
    c.(anonymous function)	@	media-views.min.js?ver=4.9.2:1
    trigger	@	media-views.min.js?ver=4.9.2:1
    render	@	media-views.min.js?ver=4.9.2:1
    mode	@	media-views.min.js?ver=4.9.2:1
    click	@	media-views.min.js?ver=4.9.2:2
    _click	@	media-views.min.js?ver=4.9.2:2
    dispatch	@	jquery.js?ver=1.12.4:3
    r.handle	@	jquery.js?ver=1.12.4:3
    ?
    • This reply was modified 6 years, 10 months ago by Cars10.
    • This reply was modified 6 years, 10 months ago by Cars10. Reason: formatting and url removal
    Thread Starter Cars10

    (@shonu)

    It’s a security server block preventing access to a admin function on the public front end.
    I guess, the internal MCE was just added into frontend without bothering about this security feature?
    Can you do anything to get it running without compromising the admin ajax api?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot browse Media Library’ is closed to new replies.