Our blog

 

Magento Sites Go Down if Magentocommerce.com Goes Down

It looks like Magento sites have a weakness where they throw a fatal error on the admin side if they can not connect to the Magentocommerce site to check for updates.

I will post the solution to this shortly, but Magento – please make sure this is fixed ASAP.

More Reading:

  • no matching posts found..
7 Comments

Nick
May 7th, 2009

Are sure? I can’t seem to replicate working off 1.3.0.

In Mage_AdminNotification_Model_Feed I disabled the cache timing, then tried modifying getFeedUrl() to a non-existent URL.

 

admin
May 8th, 2009

Yes definitely happened, May well be fixed in the latest version. I never did get around to tracking down the problem.

 

admin
May 11th, 2009

magento site is down right now and admin is still working so this bug is evidently fixed :-)

 

admin
June 8th, 2009

OK this bug reared its head again.

To disable the feed get thing

As a quick and dirty fix I have used the following:

PHP:
  1. /**
  2.      * Check feed for modification
  3.      *
  4.      * @return Mage_AdminNotification_Model_Feed
  5.      */
  6.     public function checkUpdate()
  7.     {
  8.         return $this;

in app/code/core/Mage/AdminNotification/Model/Feed.php

 

Sam
June 24th, 2009

I just go in to System->Advanced and disable the Admin Notifications module. That fixes it for me.

 

admin
June 26th, 2009

Ah yeah that sounds cleaner.. only thing is this bug prevents you from getting into the admin which was why i resorted to hacking the core.

But to totally prevent it in future that would work.

 

Rafael Kutscha
January 26th, 2010

Just change URL to your local server in: /app/code/core/Mage/AdminNotification/etc/config.xml

Regards,
Rafael

 

 

Leave a Reply