CodeIgniter Forums
Cache failed to open stream in Common.php 49 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Cache failed to open stream in Common.php 49 (/thread-11283.html)



Cache failed to open stream in Common.php 49 - El Forum - 09-02-2008

[eluser]Phil Sturgeon[/eluser]
Been getting a log full of these sort of errors recently:

Quote:ERROR - 2008-09-02 17:33:09 --&gt; Severity: Warning --&gt; fopen(../codeigniter/cache/1ff1de774005f8da13f42943881c655f) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied /Users/******/Sites/stylecms.net/working/codeigniter/codeigniter/Common.php 49

Permission denied means its definatly finding the files, just cant read them?

The cache folder is set to 777 and owned properly.


Cache failed to open stream in Common.php 49 - El Forum - 09-02-2008

[eluser]Pascal Kriete[/eluser]
It errors in the is_really_writable function, so I would say it can't write to the directory at all.
It definitely points to a permission issue.

I assume the cache files don't get written (that would be odd)?