cancel
Showing results for 
Search instead for 
Did you mean: 

404 Error when generating Google Sitemap

404 Error when generating Google Sitemap

Hello. Looking for help with this issue; trying to generate a Google Sitemap throws up a 404 error. Our web hosting provider has tried to help, saying the following error message is printed:

 

PHP Fatal error: Uncaught exception 'Mage_Core_Model_Store_Exception' in /home/gtorigin/public_html/app/code/core/Mage/Core/Model/App.php:1377
Stack trace:
#0 /home/gtorigin/public_html/app/code/core/Mage/Core/Model/App.php(848): Mage_Core_Model_App->throwStoreException()
#1 /home/gtorigin/public_html/app/code/core/Mage/Core/Model/Resource/Session.php(108): Mage_Core_Model_App->getStore()
#2 /home/gtorigin/public_html/app/code/core/Mage/Core/Model/Resource/Session.php(239): Mage_Core_Model_Resource_Session->getLifeTime()
#3 [internal function]: Mage_Core_Model_Resource_Session->write('q775jvreh6rq1hg...', 'core|a:3:{s:23:...')
#4 /home/gtorigin/public_html/app/code/core/Mage/Core/Model/Resource/Session.php(97): session_write_close()
#5 [internal function]: Mage_Core_Model_Resource_Session->__destruct()
#6 {main}
thrown in /home/gtorigin/public_html/app/code/core/Mage/Core/Model/App.php on line 1377

 

Any help provided is much appreciated.

Tags (3)
2 REPLIES

Re: 404 Error when generating Google Sitemap

Hi @GTLTD,

 

Have you recently changed or deleted a store?

It seems Magento can't find the default store.

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: 404 Error when generating Google Sitemap

Hello. The problem was caused by an extension, and we've already informed the extension developer. Thanks anyway.