• Resolved TJ Kelly

    (@tjkelly)


    I’m not sure if this is a theme or core problem. I think it’s a core problem, but please correct me if I’m wrong. If this post belongs elsewhere I apologize.

    I’m getting a javascript error in my console — http://i.imgur.com/NLcilGO.png — which is blocking some ajax. The ajax is used to edit content on certain pages (that’s a theme feature, of course) and now I can’t edit those pages.

    I think it’s a core problem because of the following:

    • load-scripts.php (where the error comes from) is a /wp-admin core file.
    • The scripts being loaded are all standards
    1. jquery-core
    2. jquery-migrate
    3. jquery-ui-core
    4. utils
    5. farbtastic

    However, it could potentially be a theme problem because the error only appears on my Theme Options page: .com/wp-admin/admin.php?page=themeple

    I’m using Maximus by Themeple and I have a support ticket open in their support forum as well.

    I only began having this problem when I upgraded to 4.1.1 last week. Did anything in load-scripts.php change from 4.1 to 4.1.1?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Does it happen with any other theme? Have you tried using a bundled theme like Twenty Fourteen|Fifteen?

    Thread Starter TJ Kelly

    (@tjkelly)

    I haven’t tried. This is a live site and I don’t want to swap out themes in live-traffic if I can avoid it. I’ll talk to my team and see if we can experiment with it late night. Thanks for the suggestion.

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Gotcha! Makes sense. 🙂

    Hi TJ Kelly, do you have news about it? I’ve the same issue, load_scripts.php is blocking everything..

    Thread Starter TJ Kelly

    (@tjkelly)

    It did end up being a theme problem. Updated the theme and the error was resolved.

    My host has pointed me towards this thread because the Visual editor is not working in a WordPress version 4.3.1. I was using the latest version of the Twenty Sixteen theme, but have activated the current version of Twenty Twelve it has not resolved the issue. I have also tried to see if using the TinyMCE Advanced plug-in would resolve the problem, it does not.

    I’ve used the Console log to try and determine the issue. I get these errors when I’m at an existing post and trying to use the Visual editor. (NOTE: I changed the “domain” name to keep bots away)

    Failed to load resource: the server responded with a status of 403 (Forbidden)
    http://www.domain.com/wp/wp-includes/js/tinymce/skins/lightgray/content.min.css?wp-mce-4205-20150910 Failed to load resource: the server responded with a status of 403 (Forbidden)
    http://www.domain.com/wp/wp-content/themes/twentytwelve/editor-style.css?wp-mce-4205-20150910 Failed to load resource: the server responded with a status of 403 (Forbidden)
    http://www.domain.com/wp/wp-includes/js/tinymce/skins/lightgray/content.min.css?wp-mce-4205-20150910 Failed to load resource: the server responded with a status of 403 (Forbidden)
    http://www.domain.com/wp/wp-includes/js/tinymce/skins/lightgray/skin.min.css?wp-mce-4205-20150910 Failed to load resource: the server responded with a status of 403 (Forbidden)
    http://www.domain.com/wp/wp-content/themes/twentytwelve/editor-style.css?wp-mce-4205-20150910 Failed to load resource: the server responded with a status of 403 (Forbidden)

    If I go to New Post these are the errors:

    Navigated to http://www.domain.com/wp/wp-admin/post-new.php
    wp-tinymce.php?c=1&ver=4205-20150910:4 GET http://www.domain.com/wp/wp-includes/js/tinymce/skins/lightgray/skin.min.css?wp-mce-4205-20150910 (anonymous function) @ wp-tinymce.php?c=1&ver=4205-20150910:4n @ wp-tinymce.php?c=1&ver=4205-20150910:3f.loadCSS @ wp-tinymce.php?c=1&ver=4205-20150910:4j @ wp-tinymce.php?c=1&ver=4205-20150910:15k.renderUI @ wp-tinymce.php?c=1&ver=4205-20150910:15S.init @ wp-tinymce.php?c=1&ver=4205-20150910:10(anonymous function) @ wp-tinymce.php?c=1&ver=4205-20150910:10(anonymous function) @ wp-tinymce.php?c=1&ver=4205-20150910:5n @ wp-tinymce.php?c=1&ver=4205-20150910:3n.loadScripts.p @ wp-tinymce.php?c=1&ver=4205-20150910:5n.loadScripts @ wp-tinymce.php?c=1&ver=4205-20150910:5n.loadQueue @ wp-tinymce.php?c=1&ver=4205-20150910:5t @ wp-tinymce.php?c=1&ver=4205-20150910:10S.render @ wp-tinymce.php?c=1&ver=4205-20150910:10r @ wp-tinymce.php?c=1&ver=4205-20150910:11(anonymous function) @ wp-tinymce.php?c=1&ver=4205-20150910:11n @ wp-tinymce.php?c=1&ver=4205-20150910:3a @ wp-tinymce.php?c=1&ver=4205-20150910:11i @ wp-tinymce.php?c=1&ver=4205-20150910:3m @ wp-tinymce.php?c=1&ver=4205-20150910:3o @ wp-tinymce.php?c=1&ver=4205-20150910:3
    wp-tinymce.php?c=1&ver=4205-20150910:10 GET http://www.domain.com/wp/wp-content/themes/twentytwelve/editor-style.css?wp-mce-4205-20150910 S.initContentBody @ wp-tinymce.php?c=1&ver=4205-20150910:10S.init @ wp-tinymce.php?c=1&ver=4205-20150910:10(anonymous function) @ wp-tinymce.php?c=1&ver=4205-20150910:10(anonymous function) @ wp-tinymce.php?c=1&ver=4205-20150910:5n @ wp-tinymce.php?c=1&ver=4205-20150910:3n.loadScripts.p @ wp-tinymce.php?c=1&ver=4205-20150910:5n.loadScripts @ wp-tinymce.php?c=1&ver=4205-20150910:5n.loadQueue @ wp-tinymce.php?c=1&ver=4205-20150910:5t @ wp-tinymce.php?c=1&ver=4205-20150910:10S.render @ wp-tinymce.php?c=1&ver=4205-20150910:10r @ wp-tinymce.php?c=1&ver=4205-20150910:11(anonymous function) @ wp-tinymce.php?c=1&ver=4205-20150910:11n @ wp-tinymce.php?c=1&ver=4205-20150910:3a @ wp-tinymce.php?c=1&ver=4205-20150910:11i @ wp-tinymce.php?c=1&ver=4205-20150910:3m @ wp-tinymce.php?c=1&ver=4205-20150910:3o @ wp-tinymce.php?c=1&ver=4205-20150910:3
    wp-tinymce.php?c=1&ver=4205-20150910:10 GET http://www.domain.com/wp/wp-includes/js/tinymce/skins/lightgray/content.min.css?wp-mce-4205-20150910 403 (Forbidden)S.initContentBody @ wp-tinymce.php?c=1&ver=4205-20150910:10S.init @ wp-tinymce.php?c=1&ver=4205-20150910:10(anonymous function) @ wp-tinymce.php?c=1&ver=4205-20150910:10(anonymous function) @ wp-tinymce.php?c=1&ver=4205-20150910:5n @ wp-tinymce.php?c=1&ver=4205-20150910:3n.loadScripts.p @ wp-tinymce.php?c=1&ver=4205-20150910:5n.loadScripts @ wp-tinymce.php?c=1&ver=4205-20150910:5n.loadQueue @ wp-tinymce.php?c=1&ver=4205-20150910:5t @ wp-tinymce.php?c=1&ver=4205-20150910:10S.render @ wp-tinymce.php?c=1&ver=4205-20150910:10r @ wp-tinymce.php?c=1&ver=4205-20150910:11(anonymous function) @ wp-tinymce.php?c=1&ver=4205-20150910:11n @ wp-tinymce.php?c=1&ver=4205-20150910:3a @ wp-tinymce.php?c=1&ver=4205-20150910:11i @ wp-tinymce.php?c=1&ver=4205-20150910:3m @ wp-tinymce.php?c=1&ver=4205-20150910:3o @ wp-tinymce.php?c=1&ver=4205-20150910:3

    I am at a loss as to what the issue is. I had originally thought it was a permissions issue. I guess the host disagrees, since I was sent to this post.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Admin JS console error: load-scripts.php – Blocking ajax & can't edit pages’ is closed to new replies.