XAMPP error when I try to run my localhost page

Asked By 10 points N/A Posted on -
qa-featured

I have been encountering this problem when i try to my localhost host page on my browser. I'm using firefox as my browser. Before it works fine but a on the later day this error suddenly appear.

Any solution for this?

Warning: include() [function.include]: Failed opening 'lang/' for inclusion (include_path='.;C:xamppphpPEAR') in C:xampphtdocsxamppindex.php on line 12

 

SHARE
Answered By 0 points N/A #86876

XAMPP error when I try to run my localhost page

qa-featured

Hello,

You need to delete the .htaccess file in the [b]xampphtdocsxampp folder and the xampp.users file in the xamppsecurity folder and the .htaccess file in the xamppsecurityhtdocs folder.

You may also need to select another language as this file is not in the Lang folder as detailed in the above error message.


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.

You save the httpd.conf file after editing and then restart Apache.

Regards,

Jenny.

Related Questions