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

connection string change after migration
 
ericscott
Member
 
Total Posts:  57
Joined:  2008-05-14
 

i recently moved the site i was running to another server. where is the connection string so that i can change the files to work with the new database? i need to figure this out ASAP so i can get their site back up and working!

 
Magento Community Magento Community
Magento Community
Magento Community
 
inthewoods
Sr. Member
 
Avatar
Total Posts:  103
Joined:  2008-07-11
Carson, Wa.
 

/app/etc/local.xml

 
Magento Community Magento Community
Magento Community
Magento Community
 
ericscott
Member
 
Total Posts:  57
Joined:  2008-05-14
 
inthewoods - 05 December 2008 11:37 AM

/app/etc/local.xml

awesome! thanks! i changed the connection string in that file, and uploaded it back onto the server, but it doesn’t seem to be working. is there something i have to do to like stop/restart the services. i’ve hard refreshed and even tried another browser.

 
Magento Community Magento Community
Magento Community
Magento Community
 
inthewoods
Sr. Member
 
Avatar
Total Posts:  103
Joined:  2008-07-11
Carson, Wa.
 

What error are you getting?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ericscott
Member
 
Total Posts:  57
Joined:  2008-05-14
 

NoticeUndefined index:  0  in /home/ericandrewscott/shopprostheticrecords.com/app/code/core/Mage/Core/Model/Mysql4/Config.php on line 92
Trace
:
#0 /home/ericandrewscott/shopprostheticrecords.com/app/code/core/Mage/Core/Model/Mysql4/Config.php(92): mageCoreErrorHandler(8, 'Undefined index...', '/home/ericandre...', 92, Array)
#1 /home/ericandrewscott/shopprostheticrecords.com/app/code/core/Mage/Core/Model/Config.php(220): Mage_Core_Model_Mysql4_Config->loadToXml(Object(Mage_Core_Model_Config))
#2 /home/ericandrewscott/shopprostheticrecords.com/app/code/core/Mage/Core/Model/App.php(236): Mage_Core_Model_Config->init(Array)
#3 /home/ericandrewscott/shopprostheticrecords.com/app/Mage.php(424): Mage_Core_Model_App->init('', 'store', Array)
#4 /home/ericandrewscott/shopprostheticrecords.com/app/Mage.php(443): Mage::app('', 'store', Array)
#5 /home/ericandrewscott/shopprostheticrecords.com/index.php(52): Mage::run()
#6 {main}
 
Magento Community Magento Community
Magento Community
Magento Community
 
inthewoods
Sr. Member
 
Avatar
Total Posts:  103
Joined:  2008-07-11
Carson, Wa.
 

Have you seen this: http://www.magentocommerce.com/boards/viewthread/8910/

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