XAMPP Error: Warning: file_get_contents(lang.tmp)

Go down

XAMPP Error: Warning: file_get_contents(lang.tmp)

Post by BIT0122-Amit on Sat Feb 13, 2010 5:52 am

Suddenly I experienced this bizarre problem in Xampp when i typed in browser and pressed enter.
it showed a page something like:

Warning: file_get_contents(lang.tmp) [function.file-get-contents]: failed to open stream: No such file or directory in C:\xampp\htdocs\xampp\index.php on line 2  Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\xampp\index.php:2) in C:\xampp\htdocs\xampp\index.php on line 4

Now that is weird. when I typed, it worked perfectly. But only typing didn't get me to xampp home page under localhost. What that error means is that in the xampp folder under htcdocs under xampp main folder, the file named "lang.tmp" is missing.
To solve this problem, i made a file named lang.tmp, opened it with notepad, and simply added
Mind it, simple "en", not "en " or anything. And yeah, don't use any "" either.

After I saved the file, my localhost was back online with full power.

Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

View user profile http://iitdu.forumsmotion.com

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum