I've just installed Magento on my website, but I can't access the backend. The frontend works fine, but in the backend once I successfully login, it takes me to a blank screen. I've read there's an issue with cookies and I've tried a range of commenting out lines in varien.php, but didn't work.
A:
Blank screen is almost always a PHP error of some kind (as opposed to a Magento Exception). Check/turn-on your PHP error logs and you should find the error you're looking for.
Alan Storm
2010-03-25 22:03:57
A:
goto
/var/log/exception.log and check for any errors.
alternatively in the index.php just before the last line :
Mage::run($mageRunCode, $mageRunType);
put this
Mage::setIsDeveloperMode(true);
ini_set('display_errors', 1);
it should throw some sort of error now and go from there.
Elzo Valugi
2010-03-29 17:10:20
After checking for errors, the problem was that the php.ini file only allocated 24MB of memory. It says Magento needs at least 64, but I set it to 32 and all is fine now. Thanks for the responses.
Eric Di Bari
2010-03-30 20:08:15
I have set mine to 512M in order to have a decent speed.
Elzo Valugi
2010-03-30 21:35:06
A:
For the cookies issue, install and access Magento using ht*p://127.0.0.1/magento/ instead of ht*p://localhost/magento/
Hendy Irawan
2010-06-10 11:10:44