If you are new to magento and you want to run your Online Business?, but then there’s a big posibility that you could encounter some errors, although magento is not yet well develop but maybe sooner it will be done, but don’t be discouraged of that annoying errors, there’s a lot of people who could help you just search it on the internet :).Now back to our topic, first time in using Magento Connect Manager”? and got the error that looks like this?

Fatal error: Uncaught exception ‘Mage_Core_Model_Store_Exception’in


/home5/heart/public_html/mall1/app/code/core/Mage/Core/Model/App.php:1194 Stack trace: #0 /home5/heart/public_html/mall1/app/code/core/Mage/Core/Model/App.php(595): Mage_Core_Model_App->throwStoreException() #1 /home5/heart/public_html/mall1/app/code/core/Mage/Core/Model/Cookie.php(69): Mage_Core_Model_App->getStore() #2 /home5/heart/public_html/mall1/app/code/core/Mage/Core/Model/Cookie.php(129): Mage_Core_Model_Cookie->getStore() #3 /home5/heart/public_html/mall1/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php(72): Mage_Core_Model_Cookie->getLifetime() #4 /home5/heart/public_html/mall1/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php(147): Mage_Core_Model_Session_Abstract_Varien->start(NULL) #5 /home5/heart/public_html/mall1/app/code/core/Mage/Core/Model/Session/Abstract.php(53): Mage_Core_Model_Session_Abstract_Varien->init(‘admin’, NULL) #6 /home5/heart/public_html/mall1/app/code/core/Mage/Admin/Model/Sessio in /home5/heart/public_html/mall1/app/code/core/Mage/Core/Model/App.php on line 1194

Now here’s the solution for that and I hope it works to you.;


1.Fix your App.php, in line 588 (this is for version 1.2.1) (/app/code/core/Mage/Core/Model)
if (is_null($id) || ”===$id || $id === true) {
//$id = $this->_currentStore;
$id = $this->_currentStore ? $this->_currentStore : “default”;
}

2. Update your PHP.ini be sure that it would be like this;
… …
extension=mcrypt.so
extension=pdo.so
extension=pdo_mysql.so
extension=pdo_sqlite.so

3. Leave a copy of your PHP.ini to /downloader
Or necessarily clear your session.

I Hope this simple tutorial helps you, thanks for dropping my site.click here to view my other helpful site.
edit post
Bookmark and Share