Security function error

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

Security function error

Postby Cleiton Penido Cunha » 15. September 2008 15:00

Hi people.

Plese, could anybody help me ???

I went use the security function and the message bellow saw.

Warning: include(lang/pt_br.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/pt_br.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\security\htdocs\index.php on line 13

Thank you.
Best Regards.
Cleiton P. Cunha.
Cleiton Penido Cunha
 
Posts: 1
Joined: 15. September 2008 14:48
Location: Brasil

Postby EnglishRocker » 16. September 2008 14:02

You're looking in the wrong place. Try this:

include "/xampp/lang/pt_br.php";
EnglishRocker
 
Posts: 25
Joined: 12. September 2008 11:07

Postby glitzi85 » 16. September 2008 18:17

Hello,

it seems that not all Language-Files are copied to the Security-Folder, in your case the pt_br. You can do the following:

Copy the File:

C:\xampp\htdocs\xampp\lang\pt_br.php

into the folder:

C:\xampp\security\htdocs\lang\

Then your Security-Site should work also in your Language!

@EnglishRocker: The Language-Files for the Security-Script are in a different location thant the files for the normal XAMPP (though they have the same content). That must be, as the security-folder is outside the normal Doc-Root to ensure that only localhost have access to this folder!

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Postby EnglishRocker » 18. September 2008 13:05

I stand corrected, glitzi.
EnglishRocker
 
Posts: 25
Joined: 12. September 2008 11:07


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 156 guests