PDA

View Full Version : Xampp error?


Agent007
07-25-2007, 01:18 AM
I have installed Xampp on my Powerbook G4 and run it from the Terminal. It everything starts fine, but when I go to view my site (located in the Sites folder) all I get are these lines:

/*
Warning: file_get_contents(lang.tmp): failed to open stream: Permission denied in /Applications/xampp/htdocs/xampp/index.php on line 2

Warning: Cannot modify header information - headers already sent by (output started at /Applications/xampp/htdocs/xampp/index.php:2) in /Applications/xampp/htdocs/xampp/index.php on line 4
*/

So what's up with that?

edbr
07-25-2007, 01:25 AM
sounds like a problem with code rather than xxamp. have you got more siyes on your local server?

davidj
07-25-2007, 05:43 AM
Warning: file_get_contents(lang.tmp): failed to open stream: Permission denied in /Applications/xampp/htdocs/xampp/index.php on line 2

you dont have access to the file to read it using the file_get_contents function

modify the permissions of the file and dir

the second error is a symptom of the first

Agent007
07-27-2007, 05:21 PM
It worked. Thank you!