XAMPP Error: Warning: file_get_contents(lang.tmp)

View previous topic View next topic 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 127.0.0.1 in browser and pressed enter.
it showed a page something like:
Code:

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 127.0.0.1/phpmyadmin, it worked perfectly. But only typing 127.0.0.1 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
Code:
en
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|
avatar
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

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

Back to top Go down

View previous topic View next topic Back to top


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