spare Posted December 8, 2008 Share Posted December 8, 2008 Hello, About a week ago, I created a new DB (e...) and put it on the server and edited. ALL FINE THERE However for some reason certain tables in another DB (f...), scripts in separate folder but with the same table names were over written with the information from DB e.. even though DB f.. has not been edited in months, the databases have different admin usernames and passwords, etc. However there are other DB's on the account, in separate folders, with the same table names that have remained untouched. The scripts are located in different folders under different domains. Below are the two files which regulate access to the DB of each site. The folders are password protected so hacking is also impossible. The only way to alter the DB is to access it through the /admin as the sites themselves are not accessible. Is this my problem or a problem with the account host. They are telling me that the it is my problem and asking me to pay $15 for a backup restoration. I don't see how that is possible. BTW the scripts are not mine but CubeCart's. I would appreciate any help. ============================= <?php $glob['dbdatabase'] = 'account_f..'; $glob['dbhost'] = 'localhost'; $glob['dbpassword'] = '************'; $glob['dbprefix'] = ''; $glob['dbusername'] = 'account_username1'; $glob['installed'] = '41'; $glob['rootDir'] = '/home/account/public_html/folderone/foldertwo'; $glob['rootRel'] = '/folderone/foldertwo/'; $glob['storeURL'] = 'http://domain1.com/folderone/foldertwo'; ?> <?php $glob['dbdatabase'] = 'account_e..'; $glob['dbhost'] = 'localhost'; $glob['dbpassword'] = '************'; $glob['dbprefix'] = ''; $glob['dbusername'] = 'account_username2'; $glob['installed'] = '33'; $glob['rootDir'] = '/home/account/public_html/folderone1/foldertwo2 /folderthree3/'; $glob['rootRel'] = '/foldertwo2 /folderthree3/'; $glob['storeURL'] = 'http://www.domain2.com/folderone1/foldertwo2 /folderthree3/'; ?> Quote Link to comment https://forums.phpfreaks.com/topic/136032-database-table-overwrite/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.