jennasys Posted May 5, 2010 Share Posted May 5, 2010 I copied a folder that contained an oscommerce website, from one domain name directory to another domain name directory. After updating the configuration file, the store appeared as I had hoped. However, I then realized that there was no way for me to log in to a control panel and maintain it because I did not go through the normal process of installing it. 1. How can I turn the store into test mode (to stop taking credit cards), What file do I update and where is it. (i know how to do it if I had the control panel but I don't) 2. After the fact, can a admin control panel be installed? Link to comment Share on other sites More sharing options...
Guest Posted May 5, 2010 Share Posted May 5, 2010 Jennifer, Your site most definitely has admin panel. You just need to find out the directory name (if it is not admin) and log into it. It would be something like this: www.yourdomain.com/catalog/admin or www.yourdomain.com/admin you would replace the /admin with the actual folder name if admin is not the current name. Chris Link to comment Share on other sites More sharing options...
jennasys Posted May 5, 2010 Author Share Posted May 5, 2010 Thanks for the response. I had previously tried both of those but it returns a "page not found error" then immediately after that if you look at the address bar it changed from NEWname.com/oscommerce/admin to http://OLDname.com/oscommerce/admin/login.php?osCAdminID=cd0d466beee4f0b8ba9f7362d0a78495 I'm trying desperately to put this site in test mode before someone places an order. Jennifer, Your site most definitely has admin panel. You just need to find out the directory name (if it is not admin) and log into it. It would be something like this: www.yourdomain.com/catalog/admin or www.yourdomain.com/admin you would replace the /admin with the actual folder name if admin is not the current name. Chris Link to comment Share on other sites More sharing options...
jennasys Posted May 5, 2010 Author Share Posted May 5, 2010 Thank you I got it to work! But now I have a bigger concern. When I logged into the admin panel, the site was already in test mode, because oldname.com and newname.com are pointing to the same database. Can i rename a database? because basically i want a site to use a demo so I don't want the input to affect the real database. Thanks for the response. I had previously tried both of those but it returns a "page not found error" then immediately after that if you look at the address bar it changed from NEWname.com/oscommerce/admin to http://OLDname.com/oscommerce/admin/login.php?osCAdminID=cd0d466beee4f0b8ba9f7362d0a78495 I'm trying desperately to put this site in test mode before someone places an order. Link to comment Share on other sites More sharing options...
BryceJr Posted May 5, 2010 Share Posted May 5, 2010 You can replicate a database using a different name. The only change is to the database_name in your configure.php files. Link to comment Share on other sites More sharing options...
jennasys Posted May 5, 2010 Author Share Posted May 5, 2010 Thank you I got it to work! But now I have a bigger concern. When I logged into the admin panel, the site was already in test mode, because oldname.com and newname.com are pointing to the same database. Can i rename a database? because basically i want a site to use a demo so I don't want the input to affect the real database. Link to comment Share on other sites More sharing options...
Guest Posted May 6, 2010 Share Posted May 6, 2010 Jennifer, Yes, you should have a different database name for the new site. Change the name, and then change the database name in the 2 configure.php files. Chris Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.