mschwarz Posted April 2, 2006 Posted April 2, 2006 Hello, I am new to osCommerce and PHP in general. I dabble in web site design and have always done static pages until now. In experimenting with the test installation of osCommerce, I decided it was the best (cheapest) way to incorporate a shopping cart into a customers web site. I have done some work on the site and placed it into the default folder that my ISP creates with the osCommerce script on my personal web site. I then decided to move the site to another server, so I ftp'ed it to my local machine, then up to the other location. Then bingo! It's broken! I went into the config file and changed some of the paths but I still have broken functionality. How should I go about moving a test site? Should I let the script that the ISP run a clean install then upload the site over the install? Any help would be much appreciated. Also, what is the best way to create a web site incorporating osCommerce? Can I create an html site, then link to the cart and try to update the look of osCommerce to the sites layout? Thank you, ~Mark
joep147 Posted April 2, 2006 Posted April 2, 2006 You need to do a couple of things when moving a site: 1. create a database at your new host, import your current database with mySQL e.g. 2. upload your shop and admin to your new host 3. change the admin/includes/configure.php and includes/configure.php: all the paths and databasename, username and password 4. you might also wanna look if all file-permissions are set right, e.g. your admin/backups dir, admin/images/graphs dir etc... if you are not sure what pathnames to use, then run a new install on your new host and view both configure.php
mschwarz Posted April 2, 2006 Author Posted April 2, 2006 You need to do a couple of things when moving a site: 1. create a database at your new host, import your current database with mySQL e.g. 2. upload your shop and admin to your new host 3. change the admin/includes/configure.php and includes/configure.php: all the paths and databasename, username and password 4. you might also wanna look if all file-permissions are set right, e.g. your admin/backups dir, admin/images/graphs dir etc... if you are not sure what pathnames to use, then run a new install on your new host and view both configure.php Joep, Thank you for your help. This is a lot more in depth the straight html site have been for me in the past. I have been procrastinating on getting this up and now my dead line in less then 2 weeks away. The basic look and feel of the site in in place, but php is all new to me. I'm glad you and the others that help are here for newbies, that I'm sure will have many more questions to be answered. Thank you, If I'm not sure how to go about the above, I'll be sure to stop back soon. ~Markl
Recommended Posts
Archived
This topic is now archived and is closed to further replies.