Page 1 of 1

problems in xampp

PostPosted: 30. April 2009 16:14
by gbmpereira
Hi.
This is my first time that I'm intalling this new XAMPP in windows vista,so plz, help me...

First, I did some mistakes and put password in XAMPP.. how can I leave without password?

Second
, after my mistakes, when I enter in localhost, and then click in Security the following message is showed:
Code: Select all
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


Third, I changed in the httpd.conf to start the php on the folder:
DocumentRoot "C:/xampp/htdocs/PROJETO/"
but it isnt working... when I enter in 'localhost' it goes to the xampp page...

sorry the newbie questions
thnks

Re: problems in xampp

PostPosted: 30. April 2009 23:44
by Sharley
gbmpereira wrote:First, I did some mistakes and put password in XAMPP.. how can I leave without password?
Delete the .htaccess file in the [b]xampp\htdocs\xampp folder and the xampp.users file in the xampp\security folder and the .htaccess file in the xampp\security\htdocs folder.

gbmpereira wrote:Second[/b], after my mistakes, when I enter in localhost, and then click in Security the following message is showed:
Code: Select all
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
You may need to select another language as this file is not in the lang folder as detailed in the above error message - can you see a lang.tmp file in the xampp\security\htdocs folder?

gbmpereira wrote:Third, I changed in the httpd.conf to start the php on the folder:
DocumentRoot "C:/xampp/htdocs/PROJETO/"
but it isnt working... when I enter in 'localhost' it goes to the xampp page...

DocumentRoot "C:/xampp/htdocs/PROJETO" <-- No trailing slash
<Directory "C:/xampp/htdocs"> <--Did you also change this line to this?
<Directory "C:/xampp/htdocs/PROJETO">

Tip - use all lower case in file and folder names as Apache is case sensitive and will help to eliminate confusion.

Did you save the httpd.conf file after editing and then restart Apache?