WHAT I'M TRYING TO DO AND WHAT'S BLOCKING ME
I have a Magento installation on a WAMP server in localhost and I'm trying to move that installation over to another machine running a localhost WAMP server as well. I'm encountering some difficulties, because when I point the browser to the appropriate directory, I get the following error:
WHAT I'VE DONE
To clone the installation to the second machine, these are the steps I took:
- I setup a WAMP server on the second machine.
- I copied all the project files into the
www
directory. - I then copied all the database files from the
wamp/bin/mysql/mysqlX.X.XX/data/
to the same directory on the second machine.
HOW I TRIED RESOLVING THIS
I tried resolving the above error by renaming the local.xml.sample
file in the magento/errors/
directory to local.xml
. But when I did that, I encountered this next error:
FULL TEXT OF THE ERROR
This is the full text of the error:
Error in file: "C:\wamp\www\NAME-OF-PROJECT\magento\app\code\core\Mage\Core\sql\core_setup\install-1.6.0.0.php" - SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento.core_resource' doesn't exist
Trace:
0 C:\wamp\www\NAME-OF-PROJECT\magento\includes\src\Mage_Core_Model_Resource_Setup.php(645): Mage::exception('Mage_Core', 'Error in file: ...')
1 C:\wamp\www\NAME-OF-PROJECT\magento\includes\src\Mage_Core_Model_Resource_Setup.php(421): Mage_Core_Model_Resource_Setup->_modifyResourceDb('install', '', '1.6.0.4')
2 C:\wamp\www\NAME-OF-PROJECT\magento\includes\src\Mage_Core_Model_Resource_Setup.php(327): Mage_Core_Model_Resource_Setup->_installResourceDb('1.6.0.4')
3 C:\wamp\www\NAME-OF-PROJECT\magento\includes\src\Mage_Core_Model_Resource_Setup.php(235): Mage_Core_Model_Resource_Setup->applyUpdates()
4 C:\wamp\www\NAME-OF-PROJECT\magento\includes\src\__default.php(20768): Mage_Core_Model_Resource_Setup::applyAllUpdates()
5 C:\wamp\www\NAME-OF-PROJECT\magento\includes\src\__default.php(20694): Mage_Core_Model_App->_initModules()
6 C:\wamp\www\NAME-OF-PROJECT\magento\app\Mage.php(684): Mage_Core_Model_App->run(Array)
7 C:\wamp\www\NAME-OF-PROJECT\magento\index.php(87): Mage::run('', 'store')
8 {main}
MY DATABASE TABLES
Here's a snapshot from phpMyAdmin of the tables I have loaded:
PLEASE HELP ME TROUBLESHOOT THIS
I'm unsure why I'm getting this error and why Magento is unable to locate the table. Does it assume that there's a table prefix? If it does, where can I change that? Any help to successfully install a copy of this site onto another local machine would be appreciated. Thanks in advance!