Fatal error: Uncaught exception 'Mage_Core_Model_Store_Exception' in /home/jkp/public_html/app/code/core/Mage/Core/Model/App.php:1357 Stack trace: #0 /home/jkp/public_html/app/code/core/Mage/Core/Model/App.php(842): Mage_Core_Model_App->throwStoreException() #1 /home/jkp/public_html/app/code/core/Mage/Core/Model/App.php(491): Mage_Core_Model_App->getStore() #2 /home/jkp/public_html/app/code/core/Mage/Core/Model/App.php(274): Mage_Core_Model_App->_initCurrentStore('default', 'store') #3 /home/jkp/public_html/app/Mage.php(615): Mage_Core_Model_App->init('default', 'store', Array) #4 /home/jkp/public_html/rewrite_old_urls.php(41): Mage::app('default') #5 {main} thrown in /home/jkp/public_html/app/code/core/Mage/Core/Model/App.php on line 1357