WAMP server questions

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
Sephirangel
Forum Commoner
Posts: 45
Joined: Tue Jul 15, 2008 1:37 pm

WAMP server questions

Post by Sephirangel »

Hi there!

I hope I have the right section in the forum to post this as I dont think it can fit in any of the others!

Basically, I had a couple of Trojans hit my system and they made a right mess of things! Including messing WAMP server up. Everytime I start it it tells me Aestan Tray has a problem and needs to shut down. Due to my system being very old and now, pretty destroyed because of the Trojans, I have taken a copy of all the files in the C:\wamp directory and reinstalled it on my new system.
Right, is there any way i can copy over some of the files from my old system onto my new system that would enable me to have the same databases and records as my old system? Otherwise the only way I would be able to get those databases back is by manually adding the data through phpmyadmin or the client-side pages I have created for it (which would take days). The records are very important so if I could just copy over a few files that would be ace!

Anyone have any idea what files to copy across or how to best go about this??

Many thanks in advance!

Josh
pbs
Forum Contributor
Posts: 230
Joined: Fri Nov 07, 2008 5:31 am
Location: Nashik, India
Contact:

Re: WAMP server questions

Post by pbs »

Copy all c:/wamp folder on your new system and rename it for some other name temporarily, then install wamp server on you new system and now rename both the wamp folder vice versa.

Also you can try copying c:/wamp/mysql folder to your new system.
Sephirangel
Forum Commoner
Posts: 45
Joined: Tue Jul 15, 2008 1:37 pm

Re: WAMP server questions

Post by Sephirangel »

Right, I have done that but I was getting an error as the database was not showing up in phpmyadmin. On closer inspection, it appeared that the server was running the newer edition of MySQL so I changed it back to 5.0.51b. However, when the user logs in it takes the Date and stores it in order to let the user know the last time he/she has logged in. When a user trys to log in, you get the error line: "Use of Undefined Constant r - assumed "r" in ...."

This is referring to the r in the line $lastlogdate = Date(r); so I am not sure why its not liking the clause.

Any ideas on this? Thanks very much pbs for helping me this much! :)
Post Reply