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 Call Stack # Function Location 1 {main}() /var/www/5ive/app/index.php:0 2 engine->__construct() /var/www/5ive/app/index.php:26 3 engine->sessionStart() /var/www/5ive/app/classes/core/engine_class_inc.php:236 4 session_start () /var/www/5ive/app/classes/core/engine_class_inc.php:967 Warning: Cannot modify header information - headers already sent by (output started at /var/www/5ive/app/classes/core/engine_class_inc.php:967) in /var/www/5ive/app/classes/core/engine_class_inc.php on line 1060 Call Stack # Function Location 1 {main}() /var/www/5ive/app/index.php:0 2 engine->run() /var/www/5ive/app/index.php:31 3 engine->_dispatch() /var/www/5ive/app/classes/core/engine_class_inc.php:296 4 header () /var/www/5ive/app/classes/core/engine_class_inc.php:1060 Warning: Cannot modify header information - headers already sent by (output started at /var/www/5ive/app/classes/core/engine_class_inc.php:967) in /var/www/5ive/app/classes/core/engine_class_inc.php on line 1061 Call Stack # Function Location 1 {main}() /var/www/5ive/app/index.php:0 2 engine->run() /var/www/5ive/app/index.php:31 3 engine->_dispatch() /var/www/5ive/app/classes/core/engine_class_inc.php:296 4 header () /var/www/5ive/app/classes/core/engine_class_inc.php:1061 Warning: Cannot modify header information - headers already sent by (output started at /var/www/5ive/app/classes/core/engine_class_inc.php:967) in /var/www/5ive/app/classes/core/engine_class_inc.php on line 1062 Call Stack # Function Location 1 {main}() /var/www/5ive/app/index.php:0 2 engine->run() /var/www/5ive/app/index.php:31 3 engine->_dispatch() /var/www/5ive/app/classes/core/engine_class_inc.php:296 4 header () /var/www/5ive/app/classes/core/engine_class_inc.php:1062 Warning: Cannot modify header information - headers already sent by (output started at /var/www/5ive/app/classes/core/engine_class_inc.php:967) in /var/www/5ive/app/classes/core/engine_class_inc.php on line 1063 Call Stack # Function Location 1 {main}() /var/www/5ive/app/index.php:0 2 engine->run() /var/www/5ive/app/index.php:31 3 engine->_dispatch() /var/www/5ive/app/classes/core/engine_class_inc.php:296 4 header () /var/www/5ive/app/classes/core/engine_class_inc.php:1063 Warning: Cannot modify header information - headers already sent by (output started at /var/www/5ive/app/classes/core/engine_class_inc.php:967) in /var/www/5ive/app/classes/core/engine_class_inc.php on line 1064 Call Stack # Function Location 1 {main}() /var/www/5ive/app/index.php:0 2 engine->run() /var/www/5ive/app/index.php:31 3 engine->_dispatch() /var/www/5ive/app/classes/core/engine_class_inc.php:296 4 header () /var/www/5ive/app/classes/core/engine_class_inc.php:1064 Warning: Cannot modify header information - headers already sent by (output started at /var/www/5ive/app/classes/core/engine_class_inc.php:967) in /var/www/5ive/app/templates/page/default_page_tpl.php on line 1 Call Stack # Function Location 1 {main}() /var/www/5ive/app/index.php:0 2 engine->run() /var/www/5ive/app/index.php:31 3 engine->_callTemplate() /var/www/5ive/app/classes/core/engine_class_inc.php:309 4 controller->callTemplate() /var/www/5ive/app/classes/core/engine_class_inc.php:1153 5 require() /var/www/5ive/app/classes/core/controller_class_inc.php:255 6 header () /var/www/5ive/app/templates/page/default_page_tpl.php:1 > > 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...? --Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php