I just installed XAMPP on MAC OS X, it seemed to go OK, but when I try and open the configuration panel I get the following error:
lang.tmp exists but it is empty, lang.php contains the following:
Any ideas?
Code:
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
lang.tmp exists but it is empty, lang.php contains the following:
Code:
<?
$fp=fopen("lang.tmp","w");
fwrite($fp,basename($_SERVER['QUERY_STRING']));
fclose($fp);
header("Location: index.php");
?>
Any ideas?