Loading...
 
Architecture / Installation

Architecture / Installation


Re: Re: fopen, fwrite, fclose errors

posts: 2881 United Kingdom

> ejswanny:
> Gettin same problem.
>
> My modules/cache is 777 and I looked at the Smarty.class.php file and it is set to false already. Any ideas?
>
> Warning: fopen(temp/cache/606ad46e6e99b5c01fcc0e30c9988f4c): failed to open stream: Permission denied in /home2/ejswanny/public_html/test/lib/cache/cachelib.php on line 23
>
> Warning: fwrite(): supplied argument is not a valid stream resource in /home2/ejswanny/public_html/test/lib/cache/cachelib.php on line 24
>
> Warning: fclose(): supplied argument is not a valid stream resource in /home2/ejswanny/public_html/test/lib/cache/cachelib.php on line 25
>
> Warning: fopen(modules/cache///mod-assistant.tpl.en.cache): failed to open stream: Permission denied in /home2/ejswanny/public_html/test/tiki-modules.php on line 134
>
> Warning: fwrite(): supplied argument is not a valid stream resource in /home2/ejswanny/public_html/test/tiki-modules.php on line 135
>
> Warning: fclose(): supplied argument is not a valid stream resource in /home2/ejswanny/public_html/test/tiki-modules.php on line 136
>

Give apache permission to write to the files within the folder as well as the folder itself.

That should fix it.

Damian

There are no comments at this time.