i’m trying to moving my magento to another account in my host provider (I’m not changing host ....just accounts..)
so i restore the old database to my new account and copy my old /media/catalog folder to /media/ folder in the new account
if i check my frontend from the real path http://www.p.rimarydom.ain .co.m/magentofolder everything works fine
but this error is comming up when i test a category from the frontend with a new domain name that i bought earlier and assigned to the magento folder.. http://www.new domain.com
Do i have to configure it in the Configuration --> Web --> Base URL??? What is the correct format...??
For clean transfer:
Before dumping the database for new domain, set in Configuration > Web > (both Unsecure and Secure) > Base URL to {{base_url}}
After restoring the backup on new domain, do not forget to set the correct domain names there.
Alternatively, you could edit Magento database on new server, table core_config_data, and update records where path like ‘web/%/base_url’
I did that and here is my error after importing all my database…
Notice: Undefined index: 0 in /home/menuempi/public_html/app/code/core/Mage/Core/Model/Mysql4/Config.php on line 88[0] in Mage_Core_Model_Mysql4_Config->loadToXml(Mage_Core_Model_Config) in /home/menuempi/public_html/app/code/core/Mage/Core/Model/Config.php on line 185[1] in Mage_Core_Model_Config->init(NULL) in /home/menuempi/public_html/app/code/core/Mage/Core/Model/App.php on line 205[2] in Mage_Core_Model_App->init("default", "store", NULL) in /home/menuempi/public_html/app/Mage.php on line 402[3] in Mage::app("default", "store", NULL) in /home/menuempi/public_html/app/Mage.php on line 422[4] in Mage::run("default") in /home/menuempi/public_html/index.php on line 40
Notice: Undefined index: code in /home/menuempi/public_html/app/code/core/Mage/Core/Model/Mysql4/Config.php on line 110[0] in Mage_Core_Model_Mysql4_Config->loadToXml(Mage_Core_Model_Config) in /home/menuempi/public_html/app/code/core/Mage/Core/Model/Config.php on line 185[1] in Mage_Core_Model_Config->init(NULL) in /home/menuempi/public_html/app/code/core/Mage/Core/Model/App.php on line 205[2] in Mage_Core_Model_App->init("default", "store", NULL) in /home/menuempi/public_html/app/Mage.php on line 402[3] in Mage::app("default", "store", NULL) in /home/menuempi/public_html/app/Mage.php on line 422[4] in Mage::run("default") in /home/menuempi/public_html/index.php on line 40
Fatal error: Call to a member function extend() on a non-object in /home/menuempi/public_html/app/code/core/Mage/Core/Model/Mysql4/Config.php on line 111
I imported my database just through a sql tool and am getting a similar error:
Fatal error: Call to a member function getAttributeCode() on a non-object in /home/onlyecom/public_html/magento/app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php on line 326
first i created a new database name with the same name as before and
to restore my old database i went into phpMyAdmin , in the new empty db and import the .sql
Don’t forget to go to admin-->configuration and refresh all the cache areas. It does wonders. If you don’t, you’ll be seeing a mix of cached and new URLs on the front end.