Re: [PHP] Saving session to database

2013-05-17 Thread Lester Caine
Andrew Ballard wrote: I've found database session storage requires extra diligence in error handling. When I see that error at 0 it is usually because something blew up either before the session handler was ready or after it was torn down. Found the culprit ... Suhosin http://www.simplemachines

Re: [PHP] Saving session to database

2013-05-17 Thread Andrew Ballard
I've found database session storage requires extra diligence in error handling. When I see that error at 0 it is usually because something blew up either before the session handler was ready or after it was torn down. Andrew On May 17, 2013 2:42 PM, "Matijn Woudt" wrote: > On Fri, May 17, 2013 a

Re: [PHP] Saving session to database

2013-05-17 Thread Matijn Woudt
On Fri, May 17, 2013 at 8:07 PM, Lester Caine wrote: > Matijn Woudt wrote: > >> >> It seems to me the session functions are failing, probably due to >> problems with >> the database. Have you checked that there actually is a ##session table >> in your >> database? >> You might want to add some de

Re: [PHP] Saving session to database

2013-05-17 Thread Lester Caine
Matijn Woudt wrote: It seems to me the session functions are failing, probably due to problems with the database. Have you checked that there actually is a ##session table in your database? You might want to add some debugging code to these functions, to check if errors occur with inserting or r

Re: [PHP] Saving session to database

2013-05-17 Thread Matijn Woudt
On Thu, May 16, 2013 at 2:49 PM, Lester Caine wrote: > Matijn Woudt wrote: > >> >> >> >> On Thu, May 16, 2013 at 10:43 AM, Lester Caine > > wrote: >> >> I'm having a problem with webtrees ... http://webtrees.net/ >> My copy is running on http://webtrees.lsces.or

Re: [PHP] Saving session to database

2013-05-16 Thread Lester Caine
Matijn Woudt wrote: On Thu, May 16, 2013 at 10:43 AM, Lester Caine mailto:les...@lsces.co.uk>> wrote: I'm having a problem with webtrees ... http://webtrees.net/ My copy is running on http://webtrees.lsces.org.uk and you will see that it is throwing an error relating to the sessio

Re: [PHP] Saving session to database

2013-05-16 Thread Matijn Woudt
On Thu, May 16, 2013 at 10:43 AM, Lester Caine wrote: > I'm having a problem with webtrees ... http://webtrees.net/ > My copy is running on http://webtrees.lsces.org.uk and you will see that > it is throwing an error relating to the session handling. > > Running Apache 2.2.22, PHP5.4.14, MySQL 5.

[PHP] Saving session to database

2013-05-16 Thread Lester Caine
I'm having a problem with webtrees ... http://webtrees.net/ My copy is running on http://webtrees.lsces.org.uk and you will see that it is throwing an error relating to the session handling. Running Apache 2.2.22, PHP5.4.14, MySQL 5.5.31 ( http://lsces.org.uk/phpinfo.php ) If I comment out th