Guest Posted October 7, 2005 Posted October 7, 2005 Hi there I needed to move my database to a different server. I successfully created the new DB on the new server, and restored all the data from the old store DB into the new one. I then modified 2 files in my installation: 1) includes\configure.php 2) admin\includes\configure.php I changed all info in the above files to the new connection info. I first adjusted the permissions on the two files so that an edit was possible, then saved the new DB connection info, then changed the permissions back. I double-checked that BOTH these files now contain the new DB info. They do. But osCommerce is somehow still connecting and reading from and changing the OLD db (which i have left online during the migration process) I verified this by creating a new user. The user appears in the customer table in the OLD db, but not the new one! But when i double-check the connection settings in both configure.php files, they point to the NEW db. I checked that there was no file in the Local folder called "configure", that could somehow be caching this info. There was no such file in the main store folder or the admin folder (in the local subfolders within these) What's going on? HELP!!! thanks :)
Guest Posted October 9, 2005 Posted October 9, 2005 Anyone? I really need help on this. My ISP informed me that they don't cache any DB info either. So how could it be that the application still opens and edits the OLD db when both configure.php files refer to the NEW one? thanks for any suggestions...
Guest Posted October 9, 2005 Posted October 9, 2005 I need to add, sorry: I tried changing the password to the DB specified in the includes\configure.php file to something wrong. No complaint form the application. So it seems that the application is simply not reading the configure.php file(s) and is instead getting its DB connection info from elsewhere. How could this be???????? i'll seriously send a donut to anyone who can help me here... Anyone? I really need help on this. My ISP informed me that they don't cache any DB info either. So how could it be that the application still opens and edits the OLD db when both configure.php files refer to the NEW one? thanks for any suggestions... problem solved. The /includes/functions/database.php file referred directly to the old connection. Changed it and it worked. Hmmm...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.