Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Errors on admin login page and frontend
 
AKWeb
Jr. Member
 
Total Posts:  1
Joined:  2008-08-26
 

When i tried to login to the admin panel or view the frontend of the magento shopping cart, I am getting the following two errors:
1)
Fatal error: Uncaught exception ‘Mage_Core_Model_Store_Exception’ in /home/greenfue/public_html/cart/app/code/core/Mage/Core/Model/App.php:1056 Stack trace: #0 /home/greenfue/public_html/cart/app/code/core/Mage/Core/Model/App.php(545): Mage_Core_Model_App->throwStoreException() #1 /home/greenfue/public_html/cart/app/Mage.php(577): Mage_Core_Model_App->getStore() #2 /home/greenfue/public_html/cart/app/Mage.php(439): Mage::printException(Object(Zend_Db_Adapter_Exception)) #3 /home/greenfue/public_html/cart/index.php(40): Mage::run() #4 {main} thrown in /home/greenfue/public_html/cart/app/code/core/Mage/Core/Model/App.php on line 1056

2)
Whoops, it looks like you have an invalid PHP version.

Magento supports PHP 5.2.0 or newer. Find out how to install Magento using PHP-CGI as a work-around.

I did a system requirement check and this is what it says:

# You need PHP 5.2.0 (or greater)’; } else { $pass .=’You have PHP 5.2.0 (or greater)
# ‘; } if(!ini_get(’safe_mode’)) { $pass .=’Safe Mode is off
# ‘; preg_match(’/[0-9]\.[0-9]+\.[0-9]+/’, shell_exec(’mysql -V’), $version); if(version_compare($version[0], ‘4.1.20’, ‘<’)) { $fail .= ‘You need MySQL 4.1.20 (or greater)
# ‘; } else { $pass .=’You have MySQL 4.1.20 (or greater)
# ‘; } } else { $fail .= ‘Safe Mode is on
# ‘; } foreach($extensions as $extension) { if(!extension_loaded($extension)) { $fail .= ‘ You are missing the ‘.$extension.’ extension
# ‘; } else{ $pass .= ‘You have the ‘.$extension.’ extension
‘; } } if($fail) { echo ‘

Your server does not meet the following requirements in order to install Magento.’; echo ‘
The following requirements failed, please contact your hosting provider in order to receive assistance with meeting the system requirements for Magento:’; echo ‘

‘.$fail.’

‘; echo ‘The following requirements were successfully met:’; echo ‘

‘.$pass.’

‘; } else { echo ‘

Congratulations! Your server meets the requirements for Magento.
‘; echo ‘

‘.$pass.’

‘; } } ?>

I am at a loss.  Please Help.

 
Magento Community Magento Community
Magento Community
Magento Community
 
fivestar
Sr. Member
 
Total Posts:  115
Joined:  2008-06-18
 

I think your host will probably update PHP to its latest version for you if only you request them to. The same happened to me, and just three phone calls later I was back on track. You also need to have GD library enabled.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top