Title: Javascript in Admin Tool Not Loading Properly
Last modified: August 19, 2016

---

# Javascript in Admin Tool Not Loading Properly

 *  Resolved [lorisir](https://wordpress.org/support/users/lorisir/)
 * (@lorisir)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/javascript-in-admin-tool-not-loading-properly/)
 * Hello,
 * When I login to the admin tool on my site using 2.8, I noticed none of the CSS
   or Javascript was working. I used Firefox’s web developer toolbar to “View CSS”
   and it came back gobbledy-gook (all corrupt).
 * I replaced all CSS files with fresh ones in the /wp-admin/css/ directory, but
   that didn’t help at all.
 * I then decided to try to upgrade to 2.8.1 to see if that would just fix my problem.
 * When I tried to click on the Upgrade to 2.8.1 link in the footer of the admin
   tool, I got the error:
 *     ```
       Warning: gzuncompress() [function.gzuncompress]: data error in /[my full path]/wp-includes/http.php on line 1792
       ```
   
 * So I upgraded via my dreamhost account which does the back-up and then replaces
   the files. That seemed to work, kinda.
 * CSS was restored, but Javascript (including AJAX, JQuery) are not working in 
   Admin tool.
 * When I look at the Error Console in Firefox, I find this javascript error:
 *     ```
       Error: illegal character
       Source File: http://www.jctonline.org/wp-admin/load-scripts.php?c=1&load=jquery,utils&ver=d24248fe4b0cd62086633fd42ef1019b
       Line: 1
       Source Code:
       �is�H�&����"M����;Ӥa���M��͔����*�T��e�����y��L$@JU}cf�x+�-H$r9y�e��_
       ```
   
 * My users have come to rely on the user-friendly nature of the admin tool in wordpress.
 * How can I get the javascript to come back?
 * Thanks,
    Lori

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

 *  Thread Starter [lorisir](https://wordpress.org/support/users/lorisir/)
 * (@lorisir)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/javascript-in-admin-tool-not-loading-properly/#post-1138908)
 * Okay, so I tried removing the version from the querystring and accessing the 
   javascript directly via this URL:
 * [http://www.jctonline.org/wp-admin/load-scripts.php?c=1&load=jquery,utils](http://www.jctonline.org/wp-admin/load-scripts.php?c=1&load=jquery,utils)
 * And some javascript now loads, but I’m not sure if it is all of it or how to 
   remove the version from within the application.
 * Any suggestions?
 *  Thread Starter [lorisir](https://wordpress.org/support/users/lorisir/)
 * (@lorisir)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/javascript-in-admin-tool-not-loading-properly/#post-1138924)
 * I was able to fix this by replacing the http.php file as sbruner suggested in
   this thread:
 * [http://wordpress.org/support/topic/278585?replies=35](http://wordpress.org/support/topic/278585?replies=35)
 * He uploaded http.php replacement here:
 * [http://www.slipfire.com/download/http.txt](http://www.slipfire.com/download/http.txt)
 * The only weird thing remaining for me is that I already was up to 2.8.1 but I
   replaced the http.php with what he provided anyway and it seemed to make the “
   Warning: gzuncompress() [function.gzuncompress]….” errors go away.
 * I then closed all browsers and reopened. My javascript seems to be loading properly
   now as well as CSS.

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

The topic ‘Javascript in Admin Tool Not Loading Properly’ is closed to new replies.

## Tags

 * [http.php](https://wordpress.org/support/topic-tag/http-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [lorisir](https://wordpress.org/support/users/lorisir/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/javascript-in-admin-tool-not-loading-properly/#post-1138924)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
