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

During Installation - Mage_Core_Exception
 
nummer31
Jr. Member
 
Total Posts:  6
Joined:  2012-10-31
 

Trying to setup Magento on my PC (localhost:81) using XAMPP
1. Created database ‘magento’
2. Imported Sample Data sql file on the database which worked fine
3. Visited http://localhost:81/magento/install
4. Provided necessary information according to my settings

After ‘Next’, the page keeps loading and from PhpMyAdmin I can see that ‘magento’ database is being updated since no. of tables is increasing but then i get stuck with the following error:

Mage_Core_Exception Object
(
    
[_messages:protected] => Array
        (
        )

    
[message:protected] => Can't retrieve entity config: sales/quote_shipping_rate
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => D:\Installed Programs\xampp\htdocs\magento\app\Mage.php
    [line:protected] => 594
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => D:\Installed Programs\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource.php
                    [line] => 272
                    [function] => throwException
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => Can'
t retrieve entity configsales/quote_shipping_rate
                        
)

                )

            
[1] => Array
                (
                    
[file] => D:\Installed Programs\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Resource\Setup.php
                    [line] 
=> 184
                    [function] 
=> getTableName
                    [class] 
=> Mage_Core_Model_Resource
                    [type] 
=> ->
                    
[args] => Array
                        (
                            
[0] => sales/quote_shipping_rate
                        
)

                )

Full error is attached as a text file with this post
I would really appreciate if someone could point me to the right direction here

NOTE: The installation works fine if I start with an empty database instead of filled with Sample Data.

File Attachments
Error.txt  (File Size: 8KB - Downloads: 73)
 
Magento Community Magento Community
Magento Community
Magento Community
 
BelVG
Guru
 
Avatar
Total Posts:  306
Joined:  2011-02-16
Minsk, Belarus
 

Hi,

Such error appears when someone imports the test data of earlier Magento version and install the new one.
Check for which version of Magento you have the test data.

 
Magento Community Magento Community
Magento Community
Magento Community
 
nummer31
Jr. Member
 
Total Posts:  6
Joined:  2012-10-31
 
BelVG - 05 November 2012 04:30 AM

Hi,

Such error appears when someone imports the test data of earlier Magento version and install the new one.
Check for which version of Magento you have the test data.

Thank you for your reply. That would explain my situation.
I have downloaded Sample data for 1.1.2 but Magento is 1.7.0.2
But I don’t see any Sample Data for Magento 1.7.0.2 !?!
What should I do?

 
Magento Community Magento Community
Magento Community
Magento Community
 
BelVG
Guru
 
Avatar
Total Posts:  306
Joined:  2011-02-16
Minsk, Belarus
 

Hi,

http://www.magentocommerce.com/download Go to Sample Data section and select the required format

Sample data 1.6 is compatible with 1.7

 
Magento Community Magento Community
Magento Community
Magento Community
 
nummer31
Jr. Member
 
Total Posts:  6
Joined:  2012-10-31
 
BelVG - 06 November 2012 02:33 AM

Hi,

http://www.magentocommerce.com/download Go to Sample Data section and select the required format

Sample data 1.6 is compatible with 1.7

Thanks. Silly of me not to notice it in Download Section.

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