Title: Admin Area Javascript Not working
Last modified: August 22, 2016

---

# Admin Area Javascript Not working

 *  Resolved [peterod](https://wordpress.org/support/users/peterod/)
 * (@peterod)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/admin-area-javascript-not-working-1/)
 * Hi
 * I believe my problem to be javascript in mhy admin area. It means i get the following
   errors:
 * Not being able to drag and drop widgets
    Not being able to right click on the
   expand function in menu pages to rename them or delete them Not being able to
   add images from my media library
 * I have done the usual of turning off all plugins and even deleted all of them.
 * I deleted my theme (otimizpress two)and went to the default themes and that was
   no good.
    I have read lots of posts where this type of thing has hapened and 
   it appears to be a js error which people have identified with firebug. I dont
   know how to do that but do have it installed.
 * All help appreciated!

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/admin-area-javascript-not-working-1/#post-5921956)
 * Try adding `define('CONCATENATE_SCRIPTS', false);` to your `wp-config.php` file
   just below the `define('DB_HOST'` line.
 * [https://codex.wordpress.org/Editing_wp-config.php#Disable_Javascript_Concatenation](https://codex.wordpress.org/Editing_wp-config.php#Disable_Javascript_Concatenation)
 *  Thread Starter [peterod](https://wordpress.org/support/users/peterod/)
 * (@peterod)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/admin-area-javascript-not-working-1/#post-5922050)
 * James
 * Unfortunately this doesn’t solve this.
 * /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’); define(‘CONCATENATE_SCRIPTS’,
   false);
 * That’s what I did. Any other ideas?
 * Peter
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/admin-area-javascript-not-working-1/#post-5922053)
 * Yes, try [downloading WordPress](https://wordpress.org/download/) again and delete
   then replace your copies of everything **except** the `wp-config.php` file and
   the `/wp-content/` directory with fresh copies from the download. This will effectively
   replace all of your core files without damaging your content and settings. Some
   uploaders tend to be unreliable when overwriting files, so don’t forget to delete
   the original files before replacing them.
 *  Thread Starter [peterod](https://wordpress.org/support/users/peterod/)
 * (@peterod)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/admin-area-javascript-not-working-1/#post-5922063)
 * James -Did all as instructed and still no joy. It is a little frustrating. Appreciate
   the help to now. Any other ideas?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/admin-area-javascript-not-working-1/#post-5922074)
 * Hm, ok before we dig a bit deeper into WordPress, first please make sure that
   your browser is up to date by visiting [http://whatbrowser.org/](http://whatbrowser.org/)
 * If it is not, please try updating your browser or switching to a different browser.
 * If it is, please do these two things:
 * 1. Try clearing your browser’s cache and cookies.
 * 2. Try with all browser extensions or add-ons temporarily disabled.
 * Please let us know how each step goes for you, and which browser (and version
   of) you’re using if you’re still having trouble.
 *  Thread Starter [peterod](https://wordpress.org/support/users/peterod/)
 * (@peterod)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/admin-area-javascript-not-working-1/#post-5922076)
 * James -0 i’m using chrome and it is the latest. I have tried firefox ansd IE 
   too.
 * I have tried chrome with no extensions also. Noting is working there.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/admin-area-javascript-not-working-1/#post-5922102)
 * Ok, first make sure that Javascript is enabled in Chrome: [https://support.google.com/chrome/answer/114662?hl=en](https://support.google.com/chrome/answer/114662?hl=en)
 * Now, it’s time to dig a bit deeper and see what JavaScript errors you can identify:
   [https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors](https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors)
 *  Thread Starter [peterod](https://wordpress.org/support/users/peterod/)
 * (@peterod)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/admin-area-javascript-not-working-1/#post-5922104)
 * The debug code didnt work but the next stage gave this
 * nav-menus.php:26Consider using ‘dppx’ units, as in CSS ‘dpi’ means dots-per-CSS-
   inch, not dots-per-physical-inch, so does not correspond to the actual ‘dpi’ 
   of a screen. In media query expression: print, not all, (-webkit-min-device-pixel-
   ratio: 1.25), (min-resolution: 120dpi)
    jquery-migrate.js:21 JQMIGRATE: Logging
   is active jquery-migrate.js:41 JQMIGRATE: jQuery.browser is deprecated jquery-
   migrate.js:43 console.trace()jquery-migrate.js:43 migrateWarn 3https://www.theprospectingsystem.
   com/wp-admin/dapmycontent.css Failed to load resource: the server responded with
   a status of 404 (Not Found)
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/admin-area-javascript-not-working-1/#post-5922112)
 * Well, first of all, dapmycontent.css is not part of WordPress, so something is
   up there.
 * Try it again, but this time with all plugins deactivated and the Twenty Fifteen
   theme active.
 * Let us know if Javascript functions work, and what the debug reports.
 *  Thread Starter [peterod](https://wordpress.org/support/users/peterod/)
 * (@peterod)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/admin-area-javascript-not-working-1/#post-5922113)
 * The javascript functions arent working after doing that. The debug report isn’t
   showing any errors or warnings. So i’m not sure what to post
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/admin-area-javascript-not-working-1/#post-5922115)
 * Ok, so just to get all the facts together:
 * * No Javascript functions with all plugins deactivated, the Twenty Fifteen theme
   enabled, and all browser extensions deactivated.
 * * Javascript is enabled in your browser.
 * * Defining `CONCATENATE_SCRIPTS` as `false` did nothing.
 * If still yes to all of the above, are you using any sort of caching plugin, or
   do you see a “Clear/Purge Cache” button in your Dashboard or admin bar? If so,
   would you please try clearing the cache?
 * Note: You do not need to install a caching plugin at this point just to clear
   a cache you don’t have. If you don’t have a caching plugin or a way to clear 
   a server-level cache, just say so. 🙂
 *  Thread Starter [peterod](https://wordpress.org/support/users/peterod/)
 * (@peterod)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/admin-area-javascript-not-working-1/#post-5922150)
 * Hey – I wanted to thank you for your help and advise this is not sorted.
 * I had a malware on my host that was causing the JS issue.
 * Thanks
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/admin-area-javascript-not-working-1/#post-5922151)
 * Excellent, thanks for letting us know what it was! 🙂

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

The topic ‘Admin Area Javascript Not working’ is closed to new replies.

## Tags

 * ["js error"](https://wordpress.org/support/topic-tag/js-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 13 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/admin-area-javascript-not-working-1/#post-5922151)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
