[eluser]Akinzekeel[/eluser]
I regularly find this line in CI's event logs:
Code:
Severity: Warning --> mkdir() [<a href='function.mkdir'>function.mkdir</a>]: File exists /homepages/1/d205918187/htdocs/XAlpha3/system/database/DB_cache.php 136
I checked line 136 in DB_cache.php and figured I might add a file_exists() to the if clause, so now I have:
Code:
if (! @file_exists($dir_path) and ! @mkdir($dir_path, DIR_WRITE_MODE))
{
return FALSE;
}
Unfortunately that didn't solve the problem.
Database caching is disabled globally, but there are some parts of my code where I enable and disable it when running a certain active record query. Other than this warning, everything is working fine and caching itself is working too.
Any ideas why I still get this warning?
Edit: I'm using CI 1.7.2