Page 1 of 1

Error with Language Files

PostPosted: 22. July 2009 02:47
by crashd
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.

Re: Error with Language Files

PostPosted: 22. July 2009 07:34
by Wiedmann
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\

Re: Error with Language Files

PostPosted: 22. July 2009 18:29
by crashd
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.

Re: Error with Language Files

PostPosted: 22. July 2009 19:13
by Wiedmann
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/

Re: Error with Language Files

PostPosted: 22. July 2009 19:53
by crashd
"These XAMPP pages are accessible by network for everyone" is UNSECURE
How can i make it SECURE
Please.. this is my last problem :(

Re: Error with Language Files

PostPosted: 22. July 2009 21:06
by Wiedmann
"These XAMPP pages are accessible by network for everyone" is UNSECURE

Read that webpage more carefully.
--> there's a link below the table.

Re: Error with Language Files

PostPosted: 23. July 2009 00:24
by crashd
Thank you very much for your help and support. :roll: