Visadburrill Posted July 7, 2006 Posted July 7, 2006 I have a website with your software www.hotsamplecds.com I want to take my database and all the info and tranfer it over to a new web hosting company and new name www.thesamplefactory.com will it work just by tranfering all the files from the first server to the new address???? and if it wont how can I do it. or can I do it
ozcsys Posted July 7, 2006 Posted July 7, 2006 I have a website with your software www.hotsamplecds.com I want to take my database and all the info and tranfer it over to a new web hosting company and new name www.thesamplefactory.com will it work just by tranfering all the files from the first server to the new address???? and if it wont how can I do it. or can I do it Steps to follow when moving a site 1. Backup database in your osC admin. 2. Ftp all your files to your local computer 3. Create new database and user at new location making sure you assign user to database. ( It is a three step process, create database, create user, add user to database) 4. Edit your two configure.php files using your new database info and path info on your new server 5. Ftp all your files to new location 6. using phpmyadmin (or whatever tool your hosting company supplies) populate database with sql file from last backup you did (from step 1) Store should be up and going. Now since you are changing the domain name of the store you may need to change some of the language files and your logo as well. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
Visadburrill Posted July 8, 2006 Author Posted July 8, 2006 Steps to follow when moving a site 1. Backup database in your osC admin. 2. Ftp all your files to your local computer 3. Create new database and user at new location making sure you assign user to database. ( It is a three step process, create database, create user, add user to database) 4. Edit your two configure.php files using your new database info and path info on your new server 5. Ftp all your files to new location 6. using phpmyadmin (or whatever tool your hosting company supplies) populate database with sql file from last backup you did (from step 1) Store should be up and going. Now since you are changing the domain name of the store you may need to change some of the language files and your logo as well. thanks for your help when I go to the database backup I get a error that says Error: Backup directory does not exist. Please set this in configure.php. and below it says Database Backup Manager Title Date Size Action Backup Directory: /services/webpages/h/o/hotsamplecds.com/public/catalog/admin/backups/ any help
Guest Posted July 8, 2006 Posted July 8, 2006 In your admin folder, create a folder named backups and set permission to 777 The_Bear
Visadburrill Posted July 9, 2006 Author Posted July 9, 2006 In your admin folder, create a folder named backups and set permission to 777 The_Bear thank you but i'm a idiot how do you set permissions :)
ozcsys Posted July 9, 2006 Posted July 9, 2006 thank you but i'm a idiot how do you set permissions :) You can set them using your ftp program or in the file manager of your hosting control panel. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
CraftySue Posted July 9, 2006 Posted July 9, 2006 Hello, I followed the steps below (Thanks! for posting them! :thumbsup: ) in order to do the following: Create another directory called httpdocs/catalog1 from the directory httpdocs/catalog I created the directory catalog1 in order to work on making changes (contribs and cosmetic) without messing up the original directory catalog. Problem: I password protected catalog1/admin directory in my hosting company CP but when I attempt to do anything in catalog1/admin it wants to change catalog files rather than catalog1 files? And when I click on the admin link to go to the catalog it goes to catalog rather than catalog1 Did I need to do something to any of the osCommerce files when naming the directory catalog1? Any help greatly appreciated! I've searched the forums but can't find any related info. Steps to follow when moving a site 1. Backup database in your osC admin. 2. Ftp all your files to your local computer 3. Create new database and user at new location making sure you assign user to database. ( It is a three step process, create database, create user, add user to database) 4. Edit your two configure.php files using your new database info and path info on your new server 5. Ftp all your files to new location 6. using phpmyadmin (or whatever tool your hosting company supplies) populate database with sql file from last backup you did (from step 1) Store should be up and going. Now since you are changing the domain name of the store you may need to change some of the language files and your logo as well.
ccaspell Posted July 11, 2006 Posted July 11, 2006 Good post - I wasn't sure how easy it would be to move shops between the live server and the local server where I can play and build...it wasn't too bad - only one thing to point out if you already have a copy on your local server - do not over write the configure.php file inside /includes folder. This file appears to control all the database connections, storage of cookies etc so changing this so that the default folder is /catalog1 instead of /catalog seems to be pretty easy. That will probably be a solution to your problem CraftySue. I must admit that I have been playing with osCommerce for a week now and I am very very impressed - it is a bit addictive as well. My next search is to go and find an idiots guide to customising and making templates as there are some great ones out there and the manual, though helpful, is more of a reference document than a training doc. Any suggestions would be well received. Thanks Chris
CraftySue Posted July 11, 2006 Posted July 11, 2006 Good post - I wasn't sure how easy it would be to move shops between the live server and the local server where I can play and build...it wasn't too bad - only one thing to point out if you already have a copy on your local server - do not over write the configure.php file inside /includes folder. This file appears to control all the database connections, storage of cookies etc so changing this so that the default folder is /catalog1 instead of /catalog seems to be pretty easy. That will probably be a solution to your problem CraftySue.... Thanks Chris Thanks for the response Chris! :thumbsup: Problem solved... In catalog1/admin/includes/configure.php missed one catalog to catalog1 change. That one missed change was causing any click on links in the admin1 cp to get the error page unauthorised :blush:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.