Magento Forum

   
Fatal error: Uncaught exception
 
crius
Guru
 
Avatar
Total Posts:  623
Joined:  2007-10-16
Denmark
 

I am trying to install Magento on Mac OS X using the newest version of MAMP (including PHP 5.2).

When turning on PHP errors in php.ini, this is what I get in the browser:

/magento/ :

Fatal errorUncaught exception 'Mage_Eav_Exception' with message 'Invalid entity supplied' in /Users/andersrasmussen/Documents/htdocs/magento/app/Mage.php:290 Stack trace#0 /Users/andersrasmussen/Documents/htdocs/magento/app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php(81): Mage::exception('Mage_Eav', 'Invalid entity ...') #1 /Users/andersrasmussen/Documents/htdocs/magento/app/code/core/Mage/Eav/Model/Entity/Abstract.php(434): Mage_Eav_Model_Entity_Attribute_Abstract->loadByCode(Object(Mage_Eav_Model_Entity_Type), 'entity_type_id') #2 /Users/andersrasmussen/Documents/htdocs/magento/app/code/core/Mage/Eav/Model/Entity/Abstract.php(1176): Mage_Eav_Model_Entity_Abstract->getAttribute('entity_type_id') #3 /Users/andersrasmussen/Documents/htdocs/magento/app/code/core/Mage/Eav/Model/Entity/Abstract.php(195): Mage_Eav_Model_Entity_Abstract->_afterSetConfig() #4 /Users/andersrasmussen/Documents/htdocs/magento/app/code/core/Mage/Customer/Model/Entity/Customer.php(32): Mage_Eav_Model_Entity_Abstract->setType('customer' in /Users/andersrasmussen/Documents/htdocs/magento/app/Mage.php on line 290

/magento/install/ :

Fatal errorUncaught exception 'Zend_Exception' with message 'dbModel read resource does not implement Zend_Db_Adapter_Abstract' in /Users/andersrasmussen/Documents/htdocs/magento/lib/Varien/Data/Collection/Db.php:56 Stack trace#0 /Users/andersrasmussen/Documents/htdocs/magento/lib/Varien/Data/Collection/Db.php(49): Varien_Data_Collection_Db->setConnection(false) #1 /Users/andersrasmussen/Documents/htdocs/magento/app/code/core/Mage/Core/Model/Mysql4/Collection/Abstract.php(63): Varien_Data_Collection_Db->__construct(false) #2 /Users/andersrasmussen/Documents/htdocs/magento/app/code/core/Mage/Core/Model/Config.php(584): Mage_Core_Model_Mysql4_Collection_Abstract->__construct(Array) #3 /Users/andersrasmussen/Documents/htdocs/magento/app/code/core/Mage/Core/Model/Config.php(611): Mage_Core_Model_Config->getModelInstance('core_mysql4/lay...', Array) #4 /Users/andersrasmussen/Documents/htdocs/magento/app/Mage.php(263): Mage_Core_Model_Config->getResourceModelInstance('core/layout_col...', Array) #5 /Users/andersrasmussen/Do in /Users/andersrasmussen/Documents/htdocs/magento/lib/Varien/Data/Collection/Db.php on line 56

I have searched through this forum, and tried to increase php memory_limit, made sure httpd.conf has allowoverride all, changed mysql port to 3306, but nothing works.

Any ideas?

/Anders Rasmussen

 
Magento Community Magento Community
Magento Community
Magento Community
 
crius
Guru
 
Avatar
Total Posts:  623
Joined:  2007-10-16
Denmark
 

It seems there were a problem with 0.6.13110: http://www.magentocommerce.com/blog/magento-0613110-latest-update/

Downloaded the latest update, and it works now.

 
Magento Community Magento Community
Magento Community
Magento Community
 
crius
Guru
 
Avatar
Total Posts:  623
Joined:  2007-10-16
Denmark
 

Well, it works a few steps in the install process. But after filling out the database/host page, I get this:

Fatal errorUncaught exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento.core_resource' doesn't exist' in /Users/andersrasmussen/Documents/htdocs/magento/lib/Zend/Db/Statement/Pdo.php:227 Stack trace: #0 /Users/andersrasmussen/Documents/htdocs/magento/lib/Zend/Db/Statement.php(279): Zend_Db_Statement_Pdo->_execute(Array) #1 /Users/andersrasmussen/Documents/htdocs/magento/lib/Zend/Db/Adapter/Abstract.php(396): Zend_Db_Statement->execute(Array) #2 /Users/andersrasmussen/Documents/htdocs/magento/lib/Zend/Db/Adapter/Pdo/Abstract.php(206): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Select), Array) #3 /Users/andersrasmussen/Documents/htdocs/magento/lib/Zend/Db/Adapter/Abstract.php(677): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Select), Array) #4 /Users/andersrasmussen/Documents/htdocs/magento/app/code/core/Mage/Core/Model/Mysql4/Resource.php(54): Zend_Db_Adapter_Abstract->fetchOne(Object(Zend_Db_Select)) #5 /Users/andersrasmussen/Documents/htdoc in /Users/andersrasmussen/Documents/htdocs/magento/lib/Zend/Db/Statement/Pdo.php on line 227

 
Magento Community Magento Community
Magento Community
Magento Community
 
winans_fred
Sr. Member
 
Total Posts:  83
Joined:  2007-09-06
 

I have the same problem, any resolution on this?

Uncaught exception 'Zend_Exception' with message 'dbModel read resource does not implement Zend_Db_Adapter_Abstract'

Best,

Fred

 
Magento Community Magento Community
Magento Community
Magento Community
 
maratino
Jr. Member
 
Total Posts:  1
Joined:  2007-09-11
 

Me too:

Fatal error: Uncaught exception ‘Exception’ in /Applications/MAMP/htdocs/magento/app/code/core/Mage/Install/Model/Installer/Filesystem.php:43 Stack trace: #0 /Applications/MAMP/htdocs/magento/app/code/core/Mage/Install/Model/Installer.php(47): Mage_Install_Model_Installer_Filesystem->install() #1 /Applications/MAMP/htdocs/magento/app/code/core/Mage/Install/controllers/WizardController.php(181): Mage_Install_Model_Installer->checkServer() #2 /Applications/MAMP/htdocs/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(326): Mage_Install_WizardController->configAction() #3 /Applications/MAMP/htdocs/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(147): Mage_Core_Controller_Varien_Action->dispatch(’config’) #4 /Applications/MAMP/htdocs/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(164): Mage_Core_Controller_Varien_Router_Standard->match(Object(Zend_Controller_Request_Http)) #5 /Applications/MAMP/htdocs/magento/app/Mage.php(378): Mage_Core_Controller_Varien_Front->dispatch() #6 /App in /Applications/MAMP/htdocs/magento/app/code/core/Mage/Install/Model/Installer/Filesystem.php on line 43

 
Magento Community Magento Community
Magento Community
Magento Community
 
crownbacca
Jr. Member
 
Total Posts:  1
Joined:  2007-10-26
 

Same here too!
Fatal error: Uncaught exception ‘Exception’ in /home/jkconsult/domains/jkconsultants.com.my/public_html/magento/app/code/core/Mage/Install/Model/Installer/Filesystem.php:43 Stack trace: #0 /home/jkconsult/domains/jkconsultants.com.my/public_html/magento/app/code/core/Mage/Install/Model/Installer.php(47): Mage_Install_Model_Installer_Filesystem->install() #1 /home/jkconsult/domains/jkconsultants.com.my/public_html/magento/app/code/core/Mage/Install/controllers/WizardController.php(181): Mage_Install_Model_Installer->checkServer() #2 /home/jkconsult/domains/jkconsultants.com.my/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(326): Mage_Install_WizardController->configAction() #3 /home/jkconsult/domains/jkconsultants.com.my/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(147): Mage_Core_Controller_Varien_Action->dispatch(’config’) #4 /home/jkconsult/domains/jkconsultants.com.my/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(164): Mage_Core_Co in /home/jkconsult/domains/jkconsultants.com.my/public_html/magento/app/code/core/Mage/Install/Model/Installer/Filesystem.php on line 43

Are we going through the same ordeal?

 
Magento Community Magento Community
Magento Community
Magento Community
 
manjith
Jr. Member
 
Total Posts:  1
Joined:  2008-11-12
 

Try rename or delete /var/session and /var/cache

...........................................................................................................
http://www.fidussolutions.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
sridharvpy
Jr. Member
 
Total Posts:  4
Joined:  2010-08-24
 

Thanks lot,Unfortunately i try to change the local.xml file,Suddenly i got an error,simply i rename the session and cache folder, The site will appear again. Thanks Lot!!!!!!!!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
paderEpiktet
Member
 
Avatar
Total Posts:  36
Joined:  2010-11-04
Germany
 

Hello,

yes, after trying some change in the app/etc/local.xml the reported exception appeared.

After activaticing the error-reporting by performing

cp local.xml.sample local.xml

in the magento/errors dir the stack trace became visible and by renaming

* magento/var/chache and

* magento/var/session

the exception disappered again.

Thank you!

With best regards

Andreas

 
Magento Community Magento Community
Magento Community
Magento Community
 
frud
Jr. Member
 
Total Posts:  2
Joined:  2011-04-27
NZ
 

Thank you - you’ve saved my life!!!
After deleting the cache and session folders this problem became fixed.
Cheers!
Fred
Northern Distributors

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