views:

290

answers:

3

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
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
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
I have set mine to 512M in order to have a decent speed.
Elzo Valugi
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