Guest Posted June 9, 2005 Share Posted June 9, 2005 I installed and customized an oscommerce store on a subdomain of my main site thinking that when I was ready to put it on it's own domain, i would just be able to install a fresh oscommerce, then overlay my old files on top of it. Well, it kinda worked... but everything still points to the old subdomain. I can't find where to edit the domain and database configuration. Can someone please point me in the right direction? Thanks! Link to comment Share on other sites More sharing options...
Bigredman74 Posted June 9, 2005 Share Posted June 9, 2005 You need to edit two files: catalog/includes/configure.php and catalog/admin/includes/configure.php. My Published & Modified Contributions Helpful Forum Topics: Basic Design Tips & Tricks | Simple Steps to Better Forum Searching | Speed / Performance Optimizations Link to comment Share on other sites More sharing options...
wildman21 Posted June 10, 2005 Share Posted June 10, 2005 I have just spent 2 days doing the same thing - GOOD LUCK Just to add to above, you need to change the paths and url. You may also need to change the SQL data base so that they are exactly the same The other problem I had was that a few of my files got corrupted on the way accross and I ended up with error messages. In transit there were some strange characters added in and at the end of some of my php files Link to comment Share on other sites More sharing options...
♥Vger Posted June 10, 2005 Share Posted June 10, 2005 Kevin - download a dump of your database, using the MYSQL tab in phpMyAdmin. Download all of your files. Set up a new blank database via your web hosting control panel, import the data from the sql dump you took, then upload all of your files to the root of your domain using FTP, and (as said above) edit your two configure.php files with the new paths. When you're happy that all is working okay then you can delete the files on the subdomain (if you wish to). Vger Link to comment Share on other sites More sharing options...
Guest Posted June 10, 2005 Share Posted June 10, 2005 Thanks Everyone! I wanted a clean DB so I just tried copying my old files back up over the fresh install. It actually worked this time... I edited the two configure.php files, but still have one problem. The store admin login is still using the username and password from the old install. How do I change that? Kevin Link to comment Share on other sites More sharing options...
Simplyeasier Posted June 11, 2005 Share Posted June 11, 2005 Thanks Everyone! I wanted a clean DB so I just tried copying my old files back up over the fresh install. It actually worked this time... I edited the two configure.php files, but still have one problem. The store admin login is still using the username and password from the old install. How do I change that? Kevin <{POST_SNAPBACK}> Change the user \ pwd for the admin directory using your site management application (something like cpanel or plesk) - as you did when you first protected it. Charles A kite flies highest AGAINST the wind ! "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.