Question

When I login to my account both during checkout process or through the regular login page I get a white page. After refreshing that page I get redirected to my dashboard, but not before.

My .htaccess file has php_value memory_limit 128M and my index.php has ini_set('display_errors', 1); uncommented. Also my apache logs are not showing any errors.

The form is trying to reach http://www.mywebsite.com/customer/account/loginPost/ and that's where it's stuck in a blank page.

EDIT: On the backend Redirect Customer to Account Dashboard after Logging in was checked to No, changed it to Yes but same thing happens

Was it helpful?

Solution

A white page is (usually) a PHP startup error. You need to just check all your corresponding logs, Magento logs, PHP logs etc.

If you're using mod_php then Apache will log the errors, if not, then you'll need to define the cgi wrapper or PHP itself to log errors; as Apache won't be aware of them.

Follow this guide - there is a section specifically about enabling PHP error display and logging.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top