Jump to content

Database table overwrite


spare

Recommended Posts

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/';

?>

 

 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.