Question

I've performed a search for "magento" "currency symbol" but did not find anything related to the problem I am having. Basically, I installed the XAMPP BitNami version of Magento on Windows 7, and most things tried so far work, but when I go to

System -> Manage Currecny -> Symbols

I get the following:

Whoops, our bad...

The page you requested was not found, and we have a fine guess why.

    If you typed the URL directly, please make sure the spelling is correct.
    If you clicked on a link to get here, the link is outdated.

Any idea what is causing this?

Was it helpful?

Solution

The error occurs with the definition of the admin router. It appears not only to be a windows error as I am also getting this on a linux machine. Currently it looks as follows:

<admin>
    <routers>
        <adminhtml>
            <args>
                <modules>
                    <currencysymbol>Mage_CurrencySymbol_Adminhtml</currencysymbol>
                </modules>
            </args>
        </adminhtml>
    </routers>
</admin>

But if you use the "before" tag and specify "Mage_Adminhtml" then it will work.

<admin>
    <routers>
        <adminhtml>
            <args>
                <modules>
                    <currencysymbol before="Mage_Adminhtml">Mage_CurrencySymbol_Adminhtml</currencysymbol>
                </modules>
            </args>
        </adminhtml>
    </routers>
</admin>

You should also add the dependency to the /app/etc/modules/Mage_CurrencySymbol.xml

<config>
    <modules>
        <Mage_CurrencySymbol>
            <active>true</active>
            <codePool>core</codePool>
            <depends>
                <Mage_Adminhtml />
                <Mage_Widget/>
            </depends>
        </Mage_CurrencySymbol>
    </modules>
</config>

There appears to have been a bug/fix raised on github

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