Hi all,

Occasionally, and it seems somewhat randomly, I will get a fatal  
error on my site:

Fatal error: Uncaught exception 'sfDatabaseException' with message  
'MySQLSessionStorage cannot delete old sessions' in symfony/lib/ 
storage/sfMySQLSessionStorage.class.php:153

I can't track down what causes this to fail, or if it's simply that  
it fails everytime it tries to do garbage collection.

I did a google search and I saw this happened to another's site, and  
got caught by the googlebot in its cache:

http://72.14.253.104/search?q=cache:z2UQnAVW4swJ:peekyou.com/profile/ 
edit/id/8171606+symfony 
+MySQLSessionStorage&hl=en&ct=clnk&cd=10&gl=us&client=firefox-a

Can anyone shed some light into this situation? My best guess is that  
when sfMySQLSessionStorage is initialized it calls session_start()   
(see line 76), and the call to session_start can trigger the garbage  
collection, and when it does it happens before the sessionOpen()  
method is called which defines the mysql db connection parameters.

I think this is a bug, but wanted to bounce it off the devs first.

Thanks,
Scott




---------------------
Scott Meves
Stereo Interactive & Design
http://www.stereointeractive.com



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to