Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.5.6

Bug #6408 mysqli problem
Submitted: 2006-01-03 21:12 UTC
From: ralf dot praschak at gmx dot net Assigned: troehr
Status: Closed Package: HTTP_Session
PHP Version: 5.1.1 OS: Linux and Win32
Roadmaps: (Not assigned)    
Subscription  


 [2006-01-03 21:12 UTC] ralf dot praschak at gmx dot net
Description: ------------ hello! i am using this PEAR package on different projects. now i had to upgrade my dev machine (win32 / xp sp2) and a dev server (linux / fc2) to PHP 5.1.1 on both setups i get an "DB Error: no database selected" at the end of the php script when using a dsn with mysqli and a broken session. switching to mysql works normally. to verify this isn't a error in my script i used the "Container_Example.php" with the same result! regards ralf praschak Test script: --------------- Container_Example.php from the package itself Expected result: ---------------- 1 refresh Actual result: -------------- 0 refresh DB Error: no database selected

Comments

 [2006-01-26 19:42 UTC] ann-dupont at pandora dot be
Hi, I'm getting the same errors for HTTP_Session2 on the latest versions of PHP5, MySQL5 and Apache2. Sincerely, Ann
 [2006-01-26 21:09 UTC] ann-dupont at pandora dot be
Hi, When I use the HTTP_Session class with cookies, there are no errors. In trying to find a solution, I get also errors when using other scripts to save session data in MySQL. I believe it has to do something with the function 'session_start()'...? Ann Dupont
 [2006-02-15 12:20 UTC] ag at people dot pl
Hello. I had the same problem. I found it was caused of '$db->disconnect()' at the end of my scripts. I removed this line and everything works OK.
 [2006-02-21 10:16 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!