[eluser]cairo140[/eluser]
Hello community!
I'm working on a website that's using database query caching. I've run into two issues:
1) I seem to be getting a whole bunch of PHP safe mode permission errors about directory ownership:
Quote:ERROR - 2009-03-08 09:01:44 --> Severity: Warning --> fopen() [<a href='function.fopen'>function.fopen</a>]: SAFE MODE Restriction in effect. The script whose uid is 10001 is not allowed to access /mydomain/httpdocs/db-cache/blog+display owned by uid 48 /mydomain/httpdocs/testsite/system/helpers/file_helper.php 90
I turned safe mode off, and it seemed to resolve the issue, but I'm getting the nagging feeling that safe mode shouldn't be off... Is there a workaround or something I overlooked?
2) When I do turn safe mode off, I get another error when CI tries to access the cache (I think):
Quote:ERROR - 2009-03-08 19:45:02 --> Severity: Warning --> opendir(../db-cache/news+view) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directory /mydomain/httpdocs/testsite/system/helpers/file_helper.php 126
Any help would be greatly appreciated!!!