VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: sahar sani on September 13, 2018, 08:10:03 AM

Title: Updated WAMP; now I can’t open my localhost site
Post by: sahar sani on September 13, 2018, 08:10:03 AM
Hello Friends,
I am in trouble  :( :( :( :( :( :(
I am developing a site on a local hard drive using MAMP. I updated the free version of WAMP to 5.1. WAMP suggested that I update my MySQL database after the update, and I did so. Now I can't load my localhost site, (mod edit: non-VM site link removed) even though the site has not been moved. Safari displays a 404 Not Found error. MySQL Server and Apache Server are both running, and everything else looks the way it did before I updated WAMP. How do I reconnect to my localhost site? MySQL Thank you for your help. 
Title: Re: Updated WAMP; now I can’t open my localhost site
Post by: Ventsi Genchev on September 13, 2018, 09:16:57 AM
According to the WAMP server's instructions:
Do not install Wampserver OVER an existing version
If you install Wampserver over an existing version, not only it will not work, but you risk losing your existing databases.


I suppose you made a backup of the database and the site before the update.
My advice is:
1. Uninstall the WAMP server.
2. Install the new version of the WAMP server.
3. If you have additional settings in a php.ini or elsewhere, enter them again.
4. Put the site in the appropriate directory.
5. Import the database.

Then everything should work properly.
Title: Re: Updated WAMP; now I can’t open my localhost site
Post by: kishoreonwork on September 14, 2018, 15:02:17 PM
When you install a new version of wamp , mysql version also updated. But your data is never lost (what i remember).

If you see your installation directory you will be able to see  different mysql version

see my installation
D:\wamp\bin\mysql\


now copy your database  from old mysql version to new mySQL version

like
D:\wamp\bin\mysql\mysql5.5.20\data to
D:\wamp\bin\mysql\mysql5.6.12\data


Make sure you take backup your data directory , if any thing wrong happen can be reverted.

Try this trick

Thanks
Kishore