Call-back icon  Sales: Call 800.374.8146 (N America)|757.278.0920 (International)

Magento

Open Source eCommerce Evolved

Magento Forum

   
Page 2 of 2
How to move Magento store from Localhost to Webhost
 
sherrie
Enthusiast
 
Avatar
Total Posts:  783
Joined:  2007-12-14
Illinois, USA
 

Just your template files and anything you had changed, and yes - your media folder (that’s where the product images are).

 Signature 

Creativity is falling in love with the world. – Dewitt Jones
Current Projects: Gladrag Industries & Aqua Gear Direct • Currently Running: PHP 5.2.5/MySQL 5.0.45/Magento 1.1.3 on HostGator

 
Magento Community Magento Community
Magento Community
Magento Community
 
ukdazza
Sr. Member
 
Total Posts:  162
Joined:  2008-04-16
 

ok. you seem to know magento quite well....getting images to resize...i found this topic: http://www.magentocommerce.com/boards/viewthread/5502/P15/

but it states that i should go to “x” file and change “x” but I dont know where the file is located, the guy states:

1. Open default/template/catalog/product/view/media.phtml.  <<<<This isn’t an actual directory?? Where does he mean? :(
2. On line 54 find the delete the ‘width’ and ‘height’ attributes in the <img> tag.
3. On the same line (54), find:

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Enthusiast
 
Avatar
Total Posts:  783
Joined:  2007-12-14
Illinois, USA
 

app/design/default/YOURTEMPLATENAME/template/catalog/product/view/media.phtml

 Signature 

Creativity is falling in love with the world. – Dewitt Jones
Current Projects: Gladrag Industries & Aqua Gear Direct • Currently Running: PHP 5.2.5/MySQL 5.0.45/Magento 1.1.3 on HostGator

 
Magento Community Magento Community
Magento Community
Magento Community
 
ukdazza
Sr. Member
 
Total Posts:  162
Joined:  2008-04-16
 

again, merci beaucoup! smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
uni-man
Jr. Member
 
Total Posts:  29
Joined:  2008-04-04
 

back on to the original forum topic:

You may also need to edit table core_config_data on your live server and change the rows
web/unsecure/base_url
and
web/unsecure/base_url
to reflect your new domain name

hth

 Signature 

http://www.unicycle.co.nz

 
Magento Community Magento Community
Magento Community
Magento Community
 
ukdazza
Sr. Member
 
Total Posts:  162
Joined:  2008-04-16
 

because i made the new database, imported the existing database and then installed magento, i told it the domain in the installation. everything seems to work ok. I am editing things and learning to edit other parts of the frontend now as well.

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Enthusiast
 
Avatar
Total Posts:  783
Joined:  2007-12-14
Illinois, USA
 

When you run the installer like you did then you don’t have to worry about editing the domain name in the database.

 Signature 

Creativity is falling in love with the world. – Dewitt Jones
Current Projects: Gladrag Industries & Aqua Gear Direct • Currently Running: PHP 5.2.5/MySQL 5.0.45/Magento 1.1.3 on HostGator

 
Magento Community Magento Community
Magento Community
Magento Community
 
ibasket
Jr. Member
 
Total Posts:  14
Joined:  2008-06-06
London
 

Sherrie does it again. I love your posts, very simple and straight forward answers.
I have no issues with Magento except SEO but when i do Sherrie pops up and gives the solution.

Cheers

 Signature 

Specialisation: Ecommerce SEO and Highly configured Magento servers. London based serving Europe.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Prattski
Jr. Member
 
Total Posts:  18
Joined:  2008-01-22
 

I’m sure that running the installer works, as sherrie says.  However, I just moved two Magento sites to new servers without having to run the installer again - and it was very easy.

Here’s all I did:

1.  Backed up the entire database on the old server to a .sql file
2.  Imported the .sql file through phpMyAdmin to the new database
3.  After the import, browse the core_config_data table, and change the secure and unsecure base_url settings to the new server
4.  Backed up all the files off the old server (used tar -cvf site.tar *)
5.  Untarred the .tar file on the new server
6.  Edit the /app/etc/local.xml file to the new database server and credentials.

And that was it!  Everything works perfectly.

IMPORTANT EDIT!!! - While these steps do give you a working site - I have found that the magento connect manager does not work.  I tried doing a find and replace in all the files in the /downloader/ directory to replace the old server paths, but that still didn’t work.  So, I do not recommend doing this.  Stick with running the installer as sherrie explained.  I am going to try that - and hopefully it resolves this issue.

 Signature 

Prattski
Minneapolis Web Design | Creative Arc

 
Magento Community Magento Community
Magento Community
Magento Community
 
Prattski
Jr. Member
 
Total Posts:  18
Joined:  2008-01-22
 

Unfortunately - sherrie’s method works great - but it still leaves you with the problem of the magento connect manager not working.

Does anyone know how to get the Magento Connect Manager working again after moving to a new server?

 Signature 

Prattski
Minneapolis Web Design | Creative Arc

 
Magento Community Magento Community
Magento Community
Magento Community
 
Prattski
Jr. Member
 
Total Posts:  18
Joined:  2008-01-22
 

The only solution that I have found to work is this:  Do a complete fresh install.  You can keep your database, just remove all of the Magento files, and upload a fresh copy, run the install, and then do the whole re-installation of the Magento Connect Manager.

Everything is working perfectly now.  It is nice that a new install doesn’t require a fresh new database, and that it won’t overwrite your data, but it is a pain in the hind end to have to do a fresh install to move Magento to a different server.

 Signature 

Prattski
Minneapolis Web Design | Creative Arc

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
Page 2 of 2
 
Sales: Call 800.374.8146 (North America) 757.278.0920 (International)
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
33647 users|419 users currently online|74614 forum posts