- Code: Select all
Warning: fopen(lang.tmp) [function.fopen]: failed to open stream: Permission denied in /Applications/xampp/xamppfiles/htdocs/xampp/lang.php on line 2
Warning: fwrite(): supplied argument is not a valid stream resource in /Applications/xampp/xamppfiles/htdocs/xampp/lang.php on line 3
Warning: fclose(): supplied argument is not a valid stream resource in /Applications/xampp/xamppfiles/htdocs/xampp/lang.php on line 4
Warning: Cannot modify header information - headers already sent by (output started at /Applications/xampp/xamppfiles/htdocs/xampp/lang.php:2) in /Applications/xampp/xamppfiles/htdocs/xampp/lang.php on line 5
I guess that's not supposed to happen. I know some PHP, but this has got to do with the server config or some file permissions, and I know not that much about that.
So, did anybody get this error too? And was somebody able to solve it?
EDIT: CHMODing the lang.tmp file solved the problem, but then new problems arose:
- MySQL doesn't start
- Terminl can't write ftp password to the file when trying to secure mampp