I have a working system on a WinXP machine using an older 32bit Wampserver setup. I am trying to move that to a different machine running 64bit Windows 8. When I run localhost, I can see the main webpage. However, I can't login or click on anything because any action takes me to the PHP configuration screen. I assume that is some kind of default page. Here are my steps.
installed the latest 64bit Wampserver with newer versions of everything, especially PHP.
Copied everything from "wamp/www/myweb" on the old machine to the same folder on the new machine.
Create a new blank database on the new machine with the same name as the one on the other machine.
From PhPAdmin, hit the trash icon for every item in the database that starts with cache_
Export the database on the old machine to a zip file
Import the database into the database on the new machine
make sure wampserver is started
Run localhost and see the main page from my website
Try to login and press "submit" or click on anything on the page and it goes to the wampserver "server configuration page".
I obviously did something wrong bringing the database over or missed an important step. Can you point me in the right direction to fix it?
Comments
Following the method you
Following the method you devised rather than following the server migration documentation on this site probably does open the way for problems.
First I would empty not delete cache tables. Second, when you say you export to zip I wonder whether you meant you simply copied db rather than importing / exporting (probably not, just checking). Third, you do no say you created a database user and granted that user necessary permissions on the database, and entered the db username (and password if relevant) in your settings.php. Fourth, have you checked that your new WAMP server is working at all (maybe by putting nothing but a "Hello World" index.html there and checking it is served)?
There is documentation on migrating servers (see Documentation menu item at top of this page).
Digit Professionals
migrating
I will try it again and see what happens. I did indeed "export" the database to a zip file using PhpAdmin. I then imported it in on the new machine the same way after creating a new database with the same name as the one on the other machine. The wamp server is working because I created a new website in a different folder from scratch and it works. I am not sure about the user and settings.php. Since the settings.php came from the other machine, it should be correct, however, I don't know that the user name and password are the same, so that could be it. I'll check
When importaing a database
When importing a database remember that the database user and permissions are not imported with the data and are not stored in that database. They have to be created separately.
Digit Professionals
rewrite module
It turns out the rewrite_module was not checked in the Apache modules menu on Wampserver. I should have caught that. It's working now, thanks for the help.