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, 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

Magento Forum

Moved Magento from one server to another
Jr. Member
Total Posts:  2
Joined:  2008-11-17

I have recently installed and implimented magento on a site that i am developing, the site was all looking good when it had to moved from the server to a new one, the istalation went fine and the site files where moved as well. Although all of a sudden the site no longer displayes properly. All of the conent is there as ot should be however now the top toolbar that i had is’nt displaying instead it shows the text ‘getChildHtml(’topMenu’)?> ‘

Is there anything i am doing wrong?

Magento Community Magento Community
Magento Community
Magento Community
Total Posts:  653
Joined:  2008-05-19
Buenos Aires, Argentina


You need to follow three steps to move you Magento implementation form one server to another.

1) Clean your /var folder (delete all the folders inside the first one).

2) Change the /app/etc(loca.xml configuration settings (user, password and databse name).

3) Enter to your database, and run this queries.

SELECT FROM core_config_data WHERE path 'web/unsecure/base_url' OR path 'web/secure/base_url';

This gonna show you something like this.

config_id scope   scope_id path                  value                                |
| default |        web/unsecure/base_url |
|         | default |        web/secure/base_url |

Then, run an update of that values (your old url) with the new ones.

UPDATE core_config_data SET value '' WHERE path LIKE 'web/%/base_url';

If you run the select again, you gonna get the correct url.

Take a look at the forum. This issues was explained a lot of times.


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