Page 1 of 2

Recover Locally Hosted Site off Crashed HDD - XAMPP

PostPosted: 18. May 2015 10:42
by Micci101
Hi Guys

I hope you have the time to assist me.

My HDD crashed a couple days ago and I managed to salvage all the information from it and copy it onto a new HDD.

I'm fairly new to xampp, so please bare with me !

I have the entire Xampp folder, is it possible to save and open the site I was working on - onto my new pc ?

Your help would be MOST appreciated.

Thanks in advance.

Re: Recover Locally Hosted Site off Crashed HDD - XAMPP

PostPosted: 18. May 2015 10:47
by glitzi85
If you have recovered all files I don't see a problem. Just copy the xampp directory to the same place it resided on the old disk (Usually C:\xampp) and start the control panel.

Re: Recover Locally Hosted Site off Crashed HDD - XAMPP

PostPosted: 18. May 2015 11:38
by Micci101
My system software had to be reinstalled (Windows 8 pro 64bit) and the Xampp folder was just copied onto the new HDD.

Therefore all the programmes theoretically have to be downloaded and reinstalled again.

Which folders and how exactly should I do that ?

Sorry I'm a newbie to this, so I am not entirely technically inclined.

Re: Recover Locally Hosted Site off Crashed HDD - XAMPP

PostPosted: 18. May 2015 13:33
by Nobbie
Micci101 wrote:Which folders and how exactly should I do that ?


As "Glitzi85" already said, the folder /xampp from you old HDD. Copy the whole folder to the Drive C:.

"How to do"? With a file explorer, copy & paste?! This is very very basic Windows knowledge.

Re: Recover Locally Hosted Site off Crashed HDD - XAMPP

PostPosted: 18. May 2015 14:55
by Micci101
Thanks for your assistance Nobbie & glitzi85.

I have done that and it has come with the follwoing errors:

03:54:41 PM [main] Initializing Control Panel
03:54:41 PM [main] Windows Version: Windows 8 Pro 64-bit
03:54:41 PM [main] XAMPP Version: 5.6.3
03:54:41 PM [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
03:54:41 PM [main] Running with Administrator rights - good!
03:54:41 PM [main] XAMPP Installation Directory: "c:\xampp\"
03:54:41 PM [main] Checking for prerequisites
03:54:41 PM [main] All prerequisites found
03:54:41 PM [main] Initializing Modules
03:54:41 PM [main] Starting Check-Timer
03:54:41 PM [main] Control Panel Ready
03:54:45 PM [Apache] Attempting to start Apache app...
03:54:45 PM [Apache] Status change detected: running
03:54:45 PM [Apache] Status change detected: stopped
03:54:45 PM [Apache] Error: Apache shutdown unexpectedly.
03:54:45 PM [Apache] This may be due to a blocked port, missing dependencies,
03:54:45 PM [Apache] improper privileges, a crash, or a shutdown by another method.
03:54:45 PM [Apache] Press the Logs button to view error logs and check
03:54:45 PM [Apache] the Windows Event Viewer for more clues
03:54:45 PM [Apache] If you need more help, copy and post this
03:54:45 PM [Apache] entire log window on the forums
03:54:47 PM [mysql] Attempting to start MySQL app...
03:54:47 PM [mysql] Status change detected: running
03:54:54 PM [mysql] Status change detected: stopped
03:54:54 PM [mysql] Error: MySQL shutdown unexpectedly.
03:54:54 PM [mysql] This may be due to a blocked port, missing dependencies,
03:54:54 PM [mysql] improper privileges, a crash, or a shutdown by another method.
03:54:54 PM [mysql] Press the Logs button to view error logs and check
03:54:54 PM [mysql] the Windows Event Viewer for more clues
03:54:54 PM [mysql] If you need more help, copy and post this
03:54:54 PM [mysql] entire log window on the forums

Re: Recover Locally Hosted Site off Crashed HDD - XAMPP

PostPosted: 18. May 2015 15:38
by Altrea
Hi,

please execute the apache_start.bat script and report back what the response is

best wishes,
Altrea

Re: Recover Locally Hosted Site off Crashed HDD - XAMPP

PostPosted: 19. May 2015 13:16
by Micci101
Here is the result below - Thank you for the help !


httpd.exe: Syntax error on line 73 of C:/xampp/apache/conf/httpd.conf: Cannot load modules/mod_acrions.so into server: %1 is not valid win32 application.

Apache could not be started...

Re: Recover Locally Hosted Site off Crashed HDD - XAMPP

PostPosted: 19. May 2015 15:09
by Nobbie
This looks very bad, either there is problem with a mix of 32 and 64 bits environment (not sure about that), or the data of your crashed HDD is corrupted.

Re: Recover Locally Hosted Site off Crashed HDD - XAMPP

PostPosted: 19. May 2015 15:21
by Altrea
Micci101 wrote:Cannot load modules/mod_acrions.so into server

I don't know an Apache module with this name, i only know mod_actions.so. Where does this come from?

Re: Recover Locally Hosted Site off Crashed HDD - XAMPP

PostPosted: 19. May 2015 15:23
by mark.mcdonald
Copy out the current xampp installation to somewhere safe (my documents, desktop, whatever).

Using a freshly downloaded copy of 5.6.3 - install to the same directory as the previous version (ideally using the exe http://sourceforge.net/projects/xampp/f ... e/download)
Run the xampp installer as is (accepting all defaults)
Go to localhost to make sure it works by default.
Copy the subfolders from your htdocs and MySQL-> Data folder and see if it runs like it should.

Re: Recover Locally Hosted Site off Crashed HDD - XAMPP

PostPosted: 19. May 2015 20:06
by Micci101
Sorry, you are right. It is mod_actions.so.

I will try shortly Mark.Mcdonald and let you know the result.

appreciate all the help!

Re: Recover Locally Hosted Site off Crashed HDD - XAMPP

PostPosted: 20. May 2015 10:34
by Micci101
I have tried the above, all worked fine until I tried copying the folders.

This error occured after the copy:

10:54:10 AM [mysql] Status change detected: running
10:54:10 AM [mysql] Status change detected: stopped
10:54:10 AM [mysql] Error: MySQL shutdown unexpectedly.
10:54:10 AM [mysql] This may be due to a blocked port, missing dependencies,
10:54:10 AM [mysql] improper privileges, a crash, or a shutdown by another method.
10:54:10 AM [mysql] Press the Logs button to view error logs and check
10:54:10 AM [mysql] the Windows Event Viewer for more clues
10:54:10 AM [mysql] If you need more help, copy and post this
10:54:10 AM [mysql] entire log window on the forums


I am afraid I am doing something incorrectly.
As you may have noticed I am far from an expert at this.
I am pretty sure I used some sort of plugin to back it up.
But I can't remember which plugin it was ...

Here is the folder in a dropbox link, perhaps you wouldn't mind trying it out yourself and possibly you will get lucky ?

https://www.dropbox.com/sh/o4dp6nbf981jpa0/AADDlfSWckR7iHW-0A7oNKoBa?dl=0

(It may take another 30min from now to be fully uploaded)

Re: Recover Locally Hosted Site off Crashed HDD - XAMPP

PostPosted: 20. May 2015 12:26
by Micci101
Still not loaded completely ... please wait for a new link.

Thank you !

Re: Recover Locally Hosted Site off Crashed HDD - XAMPP

PostPosted: 20. May 2015 14:05
by Micci101
New Link: https://www.dropbox.com/sh/o4dp6nbf981jpa0/AADDlfSWckR7iHW-0A7oNKoBa?dl=0

Re: Recover Locally Hosted Site off Crashed HDD - XAMPP

PostPosted: 20. May 2015 14:30
by mark.mcdonald
What is the error shown? This should be found under the folder: XAMPP Path->MySQL->Data->mysql_error.txt
Please copy and paste the logs here as I could not find them in dropbox.