It seems that none of the javascript is working when I log into the admin section of my site. I cannot do anything that requires javascript or AJAX : Nextgen thumbnails, Widget organisation, even the admin menu doesn’t work.

The javascript in the front end of the site works as it should.

I looked in firebug for the scripts and found this (obviously loaded in the footer):

<script src="https://kainielsen.web44.net/wp-admin/load-scripts.php?c=1&load=jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,hoverIntent,common,jquery-color,wp-ajax-response,wp-lists,jquery-ui-resizable,quicktags,jquery-query,admin-comments,postbox,dashboard,thickbox,plugin-install,media-upload&ver=e0f647a6df61adcc7200ce17a647db7f" type="text/javascript">

In some way wordpress seems to be trying to load all the scripts at once. Could it be this that is causing the malfunction?

Is this normal WordPress behaviour? Or could it have come about because I was using W 3 Total Cache ?

The ultimate question is that if loading everything at once is the cause, How do I undo it?

5 Answers
5

Script concatenation in admin area is normal behavior, but I am not sure that trying to load that many scripts is.

You can disable concatenation by defining CONCATENATE_SCRIPTS constant to false. In wp-config.php would be fitting:

define('CONCATENATE_SCRIPTS', false);

See Disable_Javascript_Concatenation in Codex.

W3TC shouldn’t affect anything on admin side.

Leave a Reply

Your email address will not be published. Required fields are marked *