Save old installation (1.6.4)

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Save old installation (1.6.4)

Postby gmack » 01. January 2009 02:06

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 ?
Posts: 5
Joined: 01. January 2008 00:35

Re: Save old installation (1.6.4)

Postby Sharley » 01. January 2009 02:37

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.
User avatar
AF Moderator
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Save old installation (1.6.4)

Postby gmack » 01. January 2009 21:35

Thanks Sharley, now it works. :D

I noticed that when i used "xampp-control.exe" to start Apache and mysql i got this
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
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....
Posts: 5
Joined: 01. January 2008 00:35

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 57 guests