Page 1 of 1

Save old installation (1.6.4)

PostPosted: 01. January 2009 02:06
by gmack
Hi !

I have used xampp 1.6.4 for some time and when i bought a new hard drive, i tried to make a dual boot.
Now the old windows xp doesn't work, i had saved the xampp dir (c:\programs\xampp\) before.

Now i moved it to the new windows xp, but when i start apache, mysql and access the startpage (http://localhost/xampp/) and logon. i get the following

Warning: file_get_contents(lang.tmp) [function.file-get-contents]: failed to open stream: No such file or directory in C:\Program\xampp\htdocs\xampp\index.php on line 2

Warning: Cannot modify header information - headers already sent by (output started at C:\Program\xampp\htdocs\xampp\index.php:2) in C:\Program\xampp\htdocs\xampp\index.php on line 4


Is it possible to save this old installation ?

Re: Save old installation (1.6.4)

PostPosted: 01. January 2009 02:37
by Sharley
Simply create a blank file in your text editor and save the blank file as lang.tmp in C:\Program\xampp\htdocs\xampp folder.

Go to http://localhost first (not http://localhost/xampp) and select your language which should allow you to proceed.

Remember if you use a disk cleanup utility it will delete all files with a .tmp extension.
So make sure that the xampp folder is not included in this clean up as there are many .tmp files that are very much needed in the XAMPP installed components, as you have just found out. ;)

Good luck.

Re: Save old installation (1.6.4)

PostPosted: 01. January 2009 21:35
by gmack
Thanks Sharley, now it works. :D

I noticed that when i used "xampp-control.exe" to start Apache and mysql i got this
message
XAMPP ControlPanel Version 2.5 (9. May, 2007)
Windows 5.1 Build xxxxxx
Current Directory C:\Program\xampp
Install Directory:

*** WARNING: Directory mismatch ***
Status Check OK
Busy...
Apache started [Port 80]

as i remember i have used the same path when i reinstalled but i can be wrong.
any hint how to fix this ?


Edit : found the answer here....
viewtopic.php?t=25803