Error with Language Files

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

Error with Language Files

Postby crashd » 22. July 2009 02:47

http://localhost/security/index.php

Warning: include(lang/tr.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\security\htdocs\index.php on line 13
Warning: include() [function.include]: Failed opening 'lang/tr.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\security\htdocs\index.php on line 13

I tried to translate English file to Turkish but when i click to Security, it gives error like this.

Anything else is working fine, i guess...
Main xampp page didnt cause any error but this security page.
crashd
 
Posts: 10
Joined: 22. July 2009 02:43

Re: Error with Language Files

Postby Wiedmann » 22. July 2009 07:34

I tried to translate English file to Turkish but when i click to Security, it gives error like this.

The language file must exists in two directories:
C:\xampp\htdocs\xampp\lang\
C:\xampp\security\htdocs\lang\
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Error with Language Files

Postby crashd » 22. July 2009 18:29

Ok thank you.
Btw, i want to ask something.

I go to localhost/security/
but there's no folder named "security" in c:\xammp\htdocs\.
how are you redirecting it to c:\security\htdocs\???

Edit:
These XAMPP pages are accessible by network for everyone UNSECURE
Every XAMPP demo page you are right now looking at is accessible for everyone over network. Everyone who knows your IP address can see these pages.

And how can i make this secure??? Please help thank you.
crashd
 
Posts: 10
Joined: 22. July 2009 02:43

Re: Error with Language Files

Postby Wiedmann » 22. July 2009 19:13

how are you redirecting it to c:\security\htdocs\???

It's an "Alias" in "httpd-xampp.conf".

And how can i make this secure???

http://localhost/security/
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Error with Language Files

Postby crashd » 22. July 2009 19:53

"These XAMPP pages are accessible by network for everyone" is UNSECURE
How can i make it SECURE
Please.. this is my last problem :(
crashd
 
Posts: 10
Joined: 22. July 2009 02:43

Re: Error with Language Files

Postby Wiedmann » 22. July 2009 21:06

"These XAMPP pages are accessible by network for everyone" is UNSECURE

Read that webpage more carefully.
--> there's a link below the table.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Error with Language Files

Postby crashd » 23. July 2009 00:24

Thank you very much for your help and support. :roll:
crashd
 
Posts: 10
Joined: 22. July 2009 02:43


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 33 guests