|
I also get this error! Just posted the following as a bug to the magento team:
I have built my store using Magento ver. 1.0.19870 on windows xampp. I’m now trying to move the site to the live server which is on a shared hosting account. I’m able to install the latest version of 1.0.19870.4 on the live server using the following steps:
I then drop the tables and import my exsisting database ensuring the database name and privalliges match the live server.
(I had to change the name of the database, as the db name magento was not available on the live server, as someone else had taken this name. Changed the name of the db using phpmyadmin.)
1) Fresh install on live server
2) changed base url in both old site to {{baseurl}}
3) ran this code new db:
SET SQL_MODE=’’;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE=’NO_AUTO_VALUE_ON_ZERO’;
http://www.magentocommerce.com/boards/viewthread/8302/
4) exported old db using phpmyadmin
settings: extened inserts (off)
5) used BigDump to import due to file size
6) upload template files and media files
7) Clear the session and cache folders.
I then see all the products, catergories and attributes. However the correct templates to not display. When i go to change settings in the configuration, i get the following error:
Notice: Undefined index: 0 in C:\xampp\htdocs\YCS\app\code\core\Mage\Core\Model\Mysql4\Config.php on line 107
Trace:
#0 C:\xampp\htdocs\YCS\app\code\core\Mage\Core\Model\Mysql4\Config.php(107): mageCoreErrorHandler(8, ‘Undefined index...’, ‘C:\xampp\htdocs...’, 107, Array)
#1 C:\xampp\htdocs\YCS\app\code\core\Mage\Core\Model\Config.php(200): Mage_Core_Model_Mysql4_Config->loadToXml(Object(Mage_Core_Model_Config))
#2 C:\xampp\htdocs\YCS\app\code\core\Mage\Core\Model\App.php(208): Mage_Core_Model_Config->init(Array)
#3 C:\xampp\htdocs\YCS\app\Mage.php(404): Mage_Core_Model_App->init(’’, ‘store’, Array)
#4 C:\xampp\htdocs\YCS\app\Mage.php(423): Mage::app(’’, ‘store’, Array)
#5 C:\xampp\htdocs\YCS\index.php(40): Mage::run()
#6 {main}
|