Page 1 of 1

All installed well, however: plenty of Warning: fopen(... type errors

Posted: Mon Sep 01, 2008 11:07 pm
by crustibooga
Al installed ok, but am getting the following:

Warning: fopen(/Library/WebServer/Documents/nut-shop/cache/cache.language.1220284873) [function.fopen]: failed to open stream: Permission denied in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 24

Warning: fwrite(): supplied argument is not a valid stream resource in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 25

Warning: fclose(): supplied argument is not a valid stream resource in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 26

Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/nut-shop/library/cache/cache.php:24) in /Library/WebServer/Documents/nut-shop/library/language/language.php on line 46

Warning: fopen(/Library/WebServer/Documents/nut-shop/cache/cache.currency.1220284873) [function.fopen]: failed to open stream: Permission denied in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 24

Warning: fwrite(): supplied argument is not a valid stream resource in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 25

Warning: fclose(): supplied argument is not a valid stream resource in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 26

Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/nut-shop/library/cache/cache.php:24) in /Library/WebServer/Documents/nut-shop/library/cart/currency.php on line 43

Warning: fopen(/Library/WebServer/Documents/nut-shop/cache/cache.url.1220284873) [function.fopen]: failed to open stream: Permission denied in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 24

Warning: fwrite(): supplied argument is not a valid stream resource in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 25

Warning: fclose(): supplied argument is not a valid stream resource in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 26

Warning: fopen(/Library/WebServer/Documents/nut-shop/cache/cache.currency.1220284873) [function.fopen]: failed to open stream: Permission denied in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 24

Warning: fwrite(): supplied argument is not a valid stream resource in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 25

Warning: fclose(): supplied argument is not a valid stream resource in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 26

Warning: fopen(/Library/WebServer/Documents/nut-shop/cache/cache.information-1.1220284873) [function.fopen]: failed to open stream: Permission denied in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 24

Warning: fwrite(): supplied argument is not a valid stream resource in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 25

Warning: fclose(): supplied argument is not a valid stream resource in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 26

Warning: fopen(/Library/WebServer/Documents/nut-shop/cache/cache.language.1220284873) [function.fopen]: failed to open stream: Permission denied in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 24

Warning: fwrite(): supplied argument is not a valid stream resource in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 25

Warning: fclose(): supplied argument is not a valid stream resource in /Library/WebServer/Documents/nut-shop/library/cache/cache.php on line 26

System: OS X Leopard server 10.5.4, PHP 5.2.6

Any ideas how to resolve this problem?

Cheers

Re: All installed well, however: plenty of Warning: fopen(... type errors

Posted: Tue Sep 02, 2008 7:09 am
by SiteE@se
Looks like a permissions issue for your cache directory.  What is is currently set to?  If it works OK with 0777 then that would confirm the cause but you might want to tighten permissions a little in combo with ownership rights if this will be your public webserver.  If it's only local for testing it's not so critical, of course.