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

Page 2 of 2
.12510 - Installation Issue? 
 
anas
Jr. Member
 
Total Posts:  10
Joined:  2007-09-14
 

Below trace with error message you ask:

exception 'Mage_Core_Exception' with message 'Error in file: "/usr/home/ftpuser/magento/www/app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-0.6.26-0.6.27.php" - Mysqli prepare error: Table 'magento.eav_attribute' doesn't exist' in /usr/home/ftpuser/magento/www/app/Mage.php:290
Stack trace:
#0 /usr/home/ftpuser/magento/www/app/code/core/Mage/Core/Model/Resource/Setup.php(242): Mage::exception('
Mage_Core', 'Error in file: ...')
#1 /usr/home/ftpuser/magento/www/app/code/core/Mage/Core/Model/Resource/Setup.php(133): Mage_Core_Model_Resource_Setup->_modifyResourceDb('
upgrade', '0.6.25', '0.6.27')
#2 /usr/home/ftpuser/magento/www/app/code/core/Mage/Core/Model/Resource/Setup.php(99): Mage_Core_Model_Resource_Setup->_upgradeResourceDb('
0.6.25', '0.6.27')
#3 /usr/home/ftpuser/magento/www/app/code/core/Mage/Core/Model/Resource/Setup.php(82): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 /usr/home/ftpuser/magento/www/app/code/core/Mage/Core/Model/Config.php(151): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 /usr/home/ftpuser/magento/www/app/Mage.php(328): Mage_Core_Model_Config->init(NULL)
#6 /usr/home/ftpuser/magento/www/app/Mage.php(349): Mage::init(NULL)
#7 /usr/home/ftpuser/magento/www/index.php(27): Mage::run('
base')
#8 {main}
 
Magento Community Magento Community
Magento Community
Magento Community
 
dalshim
Jr. Member
 
Total Posts:  3
Joined:  2007-09-13
 

erf ... sorry, but I can’t help you…

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

@anas: I wonder if it was some glitch during database installation.

Is it possible to drop all tables in database, delete app/etc/local.xml, and re-run install?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
anas
Jr. Member
 
Total Posts:  10
Joined:  2007-09-14
 

Hello.

Same problem after steps you wrote.

Maybe this additional info helps.

When I have error on screen, url points to: http://myhost/install/wizard/installDb/

Error message is:

[message:protected] => Mysqli prepare error: Table ‘magento.eav_attribute’ doesn’t exist

and that is true - this table in database don’t exist. The only one table that wizard create is: core_resource

Dump of this table below:

INSERT INTO `core_resource` (`code`, `version`) VALUES ('admin_setup''0.5.3'),
(
'catalogrule_setup''0.1.3'),
(
'catalogsearch_setup''0.1.2'),
(
'catalog_setup''0.6.25'),
(
'cms_setup''0.5.4'),
(
'core_setup''0.6.5'),
(
'cron_setup''0.2.0'),
(
'customer_setup''0.5.13'),
(
'directory_setup''0.5.8'),
(
'eav_setup''0.5.16'),
(
'giftcert_setup''0.1.0'),
(
'googleanalytics_setup''0.1.0'),
(
'log_setup''0.5.0'),
(
'newsletter_setup''0.5.5'),
(
'paygate_setup''0.1.0'),
(
'poll_setup''0.5.2'),
(
'rating_setup''0.5.5'),
(
'review_setup''0.5.6'),
(
'salesrule_setup''0.1.4'),
(
'sales_setup''0.5.19'),
(
'shipping_setup''0.1.5'),
(
'tag_setup''0.5.3'),
(
'tax_setup''0.5.3'),
(
'usa_setup''0.2.3'),
(
'wishlist_setup''0.5.2');
In my www server error log, there is no messages, in access log when I click continue (after putting all information about database) this info:

x.x.153.10 - - [17/Sep/2007:19:19:10 +0200] "GET /install/wizard/checkHost/ HTTP/1.1" 200 19
x
.x.153.10 - - [17/Sep/2007:19:19:11 +0200] "GET /install/wizard/checkHost/ HTTP/1.1" 200 19
x
.x.153.190 - - [17/Sep/2007:19:19:11 +0200] "POST /install/wizard/configPost/ HTTP/1.1" 302 5
x
.x.153.190 - - [17/Sep/2007:19:19:11 +0200] "GET /install/wizard/installDb/ HTTP/1.1" 200 12848

Maybe in my situation sequence of creating tables and updating it structure is wrong, what do you think about this? Some other suggestions how to test it, or debug, profile application to find the way how to repair this bug?

Thx, anas

-----------------------
EDIT:

I add whole error message as a HTML file i attachemnt

My MySQL Server Version: 5.1.21-beta

Same error with PDO and MySQLi drivers.

File Attachments
installDb.htm  (File Size: 14KB - Downloads: 252)
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 2 of 2