This is my website (www.4happydays.com)
yesterday till noon it was working properly. but after that i got this error...
Error in file: "/home/happydays/public_html/app/code/core/Mage/Core/sql/core_setup/install-1.6.0.0.php" - SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'core_resource' already exists
Trace:
#0 /home/happydays/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(645): Mage::exception('Mage_Core', 'Error in file: ...')
#1 /home/happydays/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(421): Mage_Core_Model_Resource_Setup->_modifyResourceDb('install', '', '1.6.0.4')
#2 /home/happydays/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(327): Mage_Core_Model_Resource_Setup->_installResourceDb('1.6.0.4')
#3 /home/happydays/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
#4 /home/happydays/public_html/app/code/core/Mage/Core/Model/App.php(417): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#5 /home/happydays/public_html/app/code/core/Mage/Core/Model/App.php(343): Mage_Core_Model_App->_initModules()
#6 /home/happydays/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#7 /home/happydays/public_html/index.php(87): Mage::run('', 'store')
#8 {main}
this is the second time i am getting this error last time i uploaded the backup i had earlier,but i am facing this problem again and again.. This time i lost all my tables from the database... please tell me what would be the possible cause for this.. is there anything in the template i have used... ??