CodeIgniter Forums

Full Version: Cache failed to open stream in Common.php 49
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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.

El Forum

[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)?