Thor
Thor

Reputation: 9

Magento 1.7 customer/account 404 error

I run a webstore using Magento 1.7

Before i had three store views, which i recently changed into three stores (all under the same website)

Everything but one thing works fine, the /customer/account gets a Magento 404 error on all stores. I have been reading pages up and down on the net, but i cant find the solution.

I had some issues with the admin panel earlier when i first divided the storeviews into stores, due to some mixups in the store values in MYSQL core_store. I got this working when the right store-values corresponded. Can it be something similar to this? The admin is set to value 0 in all tables.

Have anybody heard about this issue before? As i said, everything else work fine. At least everything im using in my setup

Upvotes: 0

Views: 1166

Answers (1)

Alana Storm
Alana Storm

Reputation: 166106

Based on the extended comment thread above and the list of different 404 pages available in Magento, it sounds like you're getting the store exception 404 page. This 404 page displays because something bad happened in your store, and Magento threw an Magento exception (as opposed to a plain old PHP Exception exception).

You can debug this my hopping to the following location

#File: app/Mage.php
    //...
    } catch (Mage_Core_Model_Store_Exception $e) {
        require_once(self::getBaseDir() . DS . 'errors' . DS . '404.php');
        die;
    } //...

and adding some var_dump debugging code

    //...
    } catch (Mage_Core_Model_Store_Exception $e) {
        var_dump($e->getMessage());
        //var_dump($e); //ensire exception, may be too large to `var_dump`
        require_once(self::getBaseDir() . DS . 'errors' . DS . '404.php');
        die;
    } //...

This will give you the exception error text, which is often enough to solve the problem, and certainly enough to move you towards a solution.

Upvotes: 1

Related Questions