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

Installation process fails to create database tables
 
Keefe
Jr. Member
 
Total Posts:  3
Joined:  2008-02-14
 

I am trying to install Magento on a Win2003 server. After verifying I had Apache, PHP, and MySQL installed and working, I created a new database. Then I unpacked the zip into an empty website root, and browsed to index.php with IE and began installation. After a very long time of it downloading and installing the packages, I finally clicked OK to continue, but got the error page below. It appears that no database tables were created. What am I missing?

PDOException Object
(
    
[message:protected] => SQLSTATE[42S02]Base table or view not found1146 Table 'magentodb.core_resource' doesn't exist
    [string:private] => 
    [code:protected] => 42S02
    [file:protected] => C:\Sites\laptoppowersystems.com\lib\Varien\Db\Adapter\Pdo\Mysql.php
    [line:protected] => 109
    [trace:private] => Array
        (
            [0] => Array
                (
                    [file] => C:\Sites\laptoppowersystems.com\lib\Varien\Db\Adapter\Pdo\Mysql.php
                    [line] => 109
                    [function] => query
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => replace into core_resource (code, version) values ('
core_setup', '0.7.0')
                        )

                )

            [1] => Array
                (
                    [file] => C:\Sites\laptoppowersystems.com\lib\Varien\Db\Adapter\Pdo\Mysql.php
                    [line] => 140
                    [function] => raw_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => replace into core_resource (code, version) values ('
core_setup', '0.7.0')
                        )

                )

            [2] => Array
                (
                    [file] => C:\Sites\laptoppowersystems.com\app\code\core\Mage\Core\Model\Resource\Setup.php
                    [line] => 459
                    [function] => multi_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => replace into core_resource (code, version) values ('
core_setup', '0.7.0')
                        )

                )

            [3] => Array
                (
                    [file] => C:\Sites\laptoppowersystems.com\app\code\core\Mage\Core\Model\Resource\Setup.php
                    [line] => 253
                    [function] => run
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => replace into core_resource (code, version) values ('
core_setup', '0.7.0')
                        )

                )

            [4] => Array
                (
                    [file] => C:\Sites\laptoppowersystems.com\app\code\core\Mage\Core\Model\Resource\Setup.php
                    [line] => 139
                    [function] => _modifyResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => install
                            [1] => 
                            [2] => 0.7.5
                        )

                )

            [5] => Array
                (
                    [file] => C:\Sites\laptoppowersystems.com\app\code\core\Mage\Core\Model\Resource\Setup.php
                    [line] => 126
                    [function] => _installResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 0.7.5
                        )

                )

            [6] => Array
                (
                    [file] => C:\Sites\laptoppowersystems.com\app\code\core\Mage\Core\Model\Resource\Setup.php
                    [line] => 100
                    [function] => applyUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [7] => Array
                (
                    [file] => C:\Sites\laptoppowersystems.com\app\code\core\Mage\Core\Model\Config.php
                    [line] => 181
                    [function] => applyAllUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [8] => Array
                (
                    [file] => C:\Sites\laptoppowersystems.com\app\code\core\Mage\Core\Model\App.php
                    [line] => 174
                    [function] => init
                    [class] => Mage_Core_Model_Config
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                        )

                )

            [9] => Array
                (
                    [file] => C:\Sites\laptoppowersystems.com\app\Mage.php
                    [line] => 367
                    [function] => init
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => base
                            [1] => 
                        )

                )

There was more to the page but I just hit my character limit.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Keefe
Jr. Member
 
Total Posts:  3
Joined:  2008-02-14
 

CORRECTION: I forgot about the Configuration screen between package downloads and the error page.
The error page occurs after clicking Continue on the Configuration page.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Keefe
Jr. Member
 
Total Posts:  3
Joined:  2008-02-14
 

SOLVED:
I downloaded and installed the sample data. Now everything works fine.

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