After realizing I was getting an error page (thanks to IE), I took a look in the Apache error logs and found this error:
Uncaught exception ‘Mage_Core_Exception’ with message ‘Invalid store requested: “default”
The last thing I did was to change the store view codes for my English and French views, so I tried changing
Mage::run(’default’); in the index.php file to Mage::run(’storeviewcode’);
Now, instead of an HTTP 500 error page, I get:
Notice: Undefined index: storeviewcode in...
and this in the Apache error logs:
Call to a member function getId() on a non-object in /var/www/vhosts/httpdocs/shop/app/code/core/Mage/Core/Model/Url/Rewrite.php on line 139
Do this make any sense to anyone? I would like to be able to resolve this without reinstalling everything as this wouldn’t make sense if the site was in production. Thanks.