Magento admin CSS and javascript path problem

Magento admin CSS and javascript path problem

Sometime after you move Magento from one server to another you find that your admin totally stops working or at least css and javascript files path is incorrect.

If you view source and notice that your javascript paths are totally wrong then it could be that Merge JavaScript Files is causing it.

The answer is:

go to System -> Configuration -> Developer Settings -> Javascript Settings -> Merge JavaScript Files  and set it to “no”.

However – you can’t because your admin it totally not working..

So the other answer is to go to the core_config_data table and set the path dev/js/merge_files to 0 (zero)

Sometime, that row was not even in the core_config_data table.

The final solution was to add a new row, setting the path to dev/js/merge_files and the value to 0.

Finally clear the cache and reload.

You are done.

DOWNLOAD SOLUTION HERE