Magento Forum

   
Moved Magento from one server to another
 
Davisimo
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
 
Brandlive_br
Guru
 
Avatar
Total Posts:  653
Joined:  2008-05-19
Buenos Aires, Argentina
 

@Davisimo

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 http://www.tudominio.com.ar/magento/ |
|         | default |        web/secure/base_url   http://www.tudominio.com.ar/magento/ |
+-----------+---------+----------+-----------------------+--------------------------------------+

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

UPDATE core_config_data SET value 'http://www.tudominio.com.ar/' 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.
wink

--
Damián

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