Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-01-2007, 10:37 AM
Junior Member
 
Join Date: Nov 2007
Posts: 1
Default Critical Error with Zend_Session

Hello ! I have a problem with Zend_Session class.
Sometimes when I am refreshing page or clicking on a link this fatal error occurs:
Code:
Fatal error: Uncaught exception 'Zend_Session_Exception' 
with message 'Zend_Session::start() - session_start()
 [<a href='function.session-start'>function.session-start</a>]: ps_files_cleanup_dir: opendir(_sessions/) failed: Result too large (34)' 
in H:\www\wz\Zend\Session.php:379 Stack trace: 
#0 H:\www\wz\Zend\Session\Namespace.php(116): Zend_Session::start(true) 
#1 H:\www\wz\init\session.php(16): Zend_Session_Namespace->__construct() 
#2 H:\www\wz\init\init.php(10): require_once('H:\www\wz\init\...') 
#3 H:\www\wz\index.php(21): require_once('H:\www\wz\init\...')
#4 {main} thrown in H:\www\wz\Zend\Session.php on line 379
Here is the whole code for session in my app:
Code:
require_once('Zend/Session.php');

garbageCollection( $config['session']['savepath'], $config['session']['lifetime'] );

ini_set( 'session.cache_expire', 
			$config['session']['cache_exp']);  
ini_set( 'session.gc_maxlifetime', 
			$config['session']['lifetime'] );

session_save_path( $config['session']['savepath'] );

$defSessNamespace  = new Zend_Session_Namespace( );
garbageCollector is cleaning folder with sessions.
I use it (and init_set) couse I didin't found it in docs.

If someone have an idea whats wrong please help

Regards
WooKasZ

Last edited by WooKasZ : 11-01-2007 at 10:38 AM. Reason: formating code
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:30 AM.