It's probably the session garbage collector being denied reading the session
storage folder in Debian/Ubuntu systems. In Debian the default storage is
only readable by root if I'm not mistaken. It's just a warning normally, but
Zend_Session elevates them into exceptions. The solution is to crank down
the gc probability to zero and use cron to schedule session cleanups, or use
a different session storage.

    -- Mon


On Fri, Jul 30, 2010 at 10:05 PM, debussy007 <[email protected]> wrote:

>
> Hi,
>
> From time to time (pretty seldom), I have the following error when I want
> to
> access one of my sites in Zend Framework. I have the same problem on all my
> sites (and some are on different web hosting companies, so it is ZF
> related).
>
> Fatal error: Uncaught exception 'Zend_Session_Exception' with message
> 'Zend_Session::start()
>
>
> In the .htaccess file (in root web directory), I have the following
> content:
>
> RewriteEngine on
> RewriteCond %{REQUEST_URI} !cron*
> RewriteCond %{REQUEST_URI} !robots.txt
> RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
> php_value session.auto_start 0
>
> Is anyone having the same issue ?
> I don't know how to fix that problem ... Thank you.
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/Rare-error-Fatal-error-Uncaught-exception-Zend-Session-Exception-with-message-Zend-Session-start-tp2307999p2307999.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>

Reply via email to