Solved

XAMPP

Posted on 2011-03-22
2
1,439 Views
Last Modified: 2013-05-27
I am having the followinfg message when I am running "http://localhost" and clicking in any language link displayed. I already re-install the application three times.

By the way, I am running that from a Mac.

Do not send me links from google based in a simple search from this words. I want answers not links.

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() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/xampp/lang.php on line 3

Warning: fclose() expects parameter 1 to be resource, boolean given 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
0
Comment
Question by:jr_barros_jr
2 Comments
 
LVL 2

Accepted Solution

by:
NickGermi earned 500 total points
ID: 35195595
I'm not a Mac expert but the have used XAMPP on Windows, the first error XAMPP is reporting seem to be related to file/folder permissions, rest of the errors might be appearing because of the first error

I would try changing the permission on XAMPP installation directory to public read write execute access
0
 

Expert Comment

by:ErnadeJo
ID: 39199551
2 years later ;-), I have the same problem. "Changing the permission to public read and write: How and where?"

After installing XAMPP on a Mac I get this message when I'm running localhost:

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() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/xampp/lang.php on line 3

Warning: fclose() expects parameter 1 to be resource, boolean given 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
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question