• Resolved adicerni

    (@adicerni)


    Hi I have some broken dashboard issues since my upgrade to WordPress 3.5. I’ve tried deactivating plugins with no luck. I’ve changed themes to twenty 11 with no change. It seems that it’s all the buttons not working right when you hover and also you can’t upload media or post anything.

    I do have Bulletproof plugin running on Default so that should be okay too according to WordPress 3.5 Master List.

    What I did find is that when I Enable SCRIPT_DEBUG it works fine. I’ve since turned of SCRIPT_DEBUG and it’s broken again.

    Please help. 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    If you have the BulletProof plugin, even on default, check to see if there is an .htaccess in your /wp-admin folder with those rules. Removing it will remove the problem if it’s there.

    Thread Starter adicerni

    (@adicerni)

    Okay I removed it and the problem persists. The .htaccess file was not likely the problem.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Check your Javascript console in the browser, see what kind of error messages you are getting.

    Thread Starter adicerni

    (@adicerni)

    Samuel, Javascript console in Firefox 17.0.1 would be where?

    Thread Starter adicerni

    (@adicerni)

    Is this the kind of thing you’re looking for?

    Timestamp: 11/12/2012 7:08:38 PM
    Error: ReferenceError: jQuery is not defined
    Source File: http://hmb-watch.ca/wp-content/plugins/sidebar-login/js/blockui.js?ver=1.0
    Line: 17

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    You definitely have a problem with the htaccess somewhere, because this URL doesn’t work:

    http://hmb-watch.ca/wp-admin/load-scripts.php?c=1&load[]=jquery&ver=3.5

    That URL should work and give back a script. Are you missing files from your wp-admin directory?

    Thread Starter adicerni

    (@adicerni)

    I’ll have a look and see.

    Why then does it work perfectly when I run Enable SCRIPT_DEBUG?

    There are no errors reported other than this one when I Enable SCRIPT_DEBUG and the entire dashboard work fine. Otherwise I get a page full of errors on Statpress visitor as well as side bar login etc etc.

    Timestamp: 11/12/2012 7:16:27 PM
    Error: Exposing chrome JS objects to content without __exposedProps__ is insecure and deprecated. See https://developer.mozilla.org/en/XPConnect_wrappers for more information.
    Source File: resource://jid1-yzwvfzbsyfmrqq-at-jetpack/api-utils/lib/cuddlefish.js -> resource://jid1-yzwvfzbsyfmrqq-at-jetpack/api-utils/lib/sandbox.js -> resource://jid1-yzwvfzbsyfmrqq-at-jetpack/lavasoft_search_plugin/data/pagemod.js
    Line: 36

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Turning on SCRIPT_DEBUG disables the script concatenation features, meaning that it’s not trying to go through load-scripts.php anymore and loading the scripts directly. This makes it easier to debug the code, but it also makes the site slower since a lot more HTTP requests have to happen.

    Thread Starter adicerni

    (@adicerni)

    Ok found the problem, sort of.

    Bullet Proof Plugin just sent an update for WordPress 3.5 and everything is fine now.

    Thank you for your help. I guess the instructions to run it in Default didn’t fix it.

    Have a good night.

    Thread Starter adicerni

    (@adicerni)

    I’ll close this topic as resolved.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Script Debug problem’ is closed to new replies.