Moved your Magento install, admin section broken

If you’ve moved your Magento install to another folder and assume you’ve covered all your bases, but for some reason the admin section just won’t work, then I have a fix for you. Specifically if you can log into the admin section, but once you click on any link it gives you an error.

My first suggestion would be to enable error logs first to see what the error is. Usually this can be done by going to the /errors folder and renaming local.xml.sample to local.xml. Make sure you return it to its original state when you’re done due to security reasons. The error page should give a full print out of what’s wrong.

If you see “Could not determine temp directory, please specify a cache_dir manually”

  1. Find and edit this file: /lib/Zend/Cache/Backend/File.php
  2. Find the ‘cache_dir’ setting.
  3. Modify it so it looks like: ‘cache_dir’ => ‘var/tmp’,

Credit to ScreencastWorld for pointing me in the right direction.

Leave a Reply

Next ArticleComputer shuts off after one second