Paul Scott wrote:
On Thu, 2006-03-09 at 16:05 +1100, Chris wrote:
What's the whole error message (ie context)? Is it coming from cron or
randomly in your scripts?
From Xdebug...
Its random. I am just thinking though that what it *might* be is that
the initial session is timing out between the app launch and the user
logging in. I start the session beforehand, and simply add/delete from
it as the user moves through the system.
Notice: session_start()
[function.session-start]: ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) in /var/www/5ive/app/classes/core/engine_class_inc.php on line 967
<snip>
If you leave your browser open for 20 mins or something and then try to
log in, does that replicate it?
My first guess is garbage collection..
What are the permissions on that folder? If it's randomly in your
scripts, which user is your webserver running as?
www-data, permissions are drwx-wx-wt owner root.
Would it not be a little unsafe to change those permissions to anything
less secure? I certainly wouldn't think it OK to chown to the webserver
user...?
Should be ok to leave it as it is.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php