5

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?

John Sonderson
  • 807
  • 1
  • 11
  • 23
  • Try to logout and login. Second: don't run magento on windows. it is pain in the... – Fabian Blechschmidt Oct 13 '13 at 20:19
  • Hi. I tried your suggestion but am still getting the error message. My installation is a standard XAMPP BitNami installation on Windows 7. Since I need to use Adobe Illustrator and Photoshop for my design work I need Magento working properly on Windows 7 which I am using as a staging platform. Please help. – John Sonderson Oct 14 '13 at 13:30
  • Did you check the Debug-Tutorial and followed it? http://magento.stackexchange.com/a/429/217 Sounds like a problem with the htaccess, but windows is a plattform I have no idea of – Fabian Blechschmidt Oct 14 '13 at 14:21
  • Thank you for the pointer. I went through the list but was not able to resolve the problem. My installation is a plain vanilla installation, no custom theme, no modified php modules, just standard BitNami installation. Others should be experiencing the same problem as well. (?) – John Sonderson Oct 15 '13 at 21:39

1 Answers1

8

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

David Manners
  • 27,241
  • 9
  • 76
  • 220
  • The bugfix on github also seems to say you also need to add a line to MageCurrencySymbol.xml . I've made both changes and it seems to be working now. Thanks. – John Sonderson Oct 16 '13 at 17:05
  • Yes ideally you should make both changes so the dependency is added. I will update my answer. – David Manners Oct 16 '13 at 17:06
  • Is it fine to directly change config.xml file in core to resolve this issue? because, we are not sure if Magento is going to resolve this issue in its next release and on next update the fix done by us will be overwritten. – Rakesh Shewale Apr 08 '14 at 06:19