A
A
Alex2016-05-26 16:44:10
Magento
Alex, 2016-05-26 16:44:10

Magento 1.7 returns 503 instead of 404?

Hello. Prompt in what direction to dig. The essence of the problem:
A 404 page was created in the admin. In the settings, everything is also according to the manuals. (Earlier everything worked ok)
Now it returns page 404 from the errors folder instead, and with the header 503.
+ Displays the error log.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yuri Gerasimenko, 2016-05-27
@mr_ko

Make sure to set the correct url in the settings :
I was able to reproduce the error by clearing the "Default No-route URL" field .
Enabled the output of the error log according to this manual:
www.templatemonster.com/help/magento-how-to-displa...
This is what the log showed:

Front controller reached 100 router match iterations

Trace:
#0 /home/hide/sites/my.magento1702.com/www/app/code/core/Mage/Core/Controller/Varien/Front.php(183): Mage::throwException('Front controlle...')
#1 /home/hide/sites/my.magento1702.com/www/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#2 /home/hide/sites/my.magento1702.com/www/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#3 /home/hide/sites/my.magento1702.com/www/index.php(87): Mage::run('', 'store')
#4 {main}

Thank you. Everything was ok with this. The problem was in this code
<reference name="head">
  <action method="addItem">
    <type>js</type><script>404error.js</script>
  </action>
</reference>

Removed it and everything worked as it should.

I
imdeveloper, 2016-05-26
@link_web

I advise you to enable the developer mode in your mandzhenta config and you will see what the error is if you go to your page!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question