[Bb-trac] Re: [bbPress] #745: When using mysqli extension, db connect fails

bbPress bb-trac at lists.bbpress.org
Sun Sep 30 13:35:13 GMT 2007


#745: When using mysqli extension, db connect fails
----------------------------+-----------------------------------------------
 Reporter:  mdawaffe        |        Owner:               
     Type:  defect          |       Status:  new          
 Priority:  high            |    Milestone:  0.8.4 & Pings
Component:  Administration  |      Version:  0.8.3        
 Severity:  major           |   Resolution:               
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by chrishajer):

 Interesting, I just read this comment:
 http://bbpress.org/forums/topic/db-access-problem-in-the-first-
 installation-step?replies=10#post-11205

 Warning: mysqli_get_server_info() expects exactly 1 parameter, 0 given

 http://us.php.net/manual/en/function.mysqli-get-server-info.php

 Apparently, mysqli_get_server_info '''requires''' the parameter, where
 mysql_get_server_info does not.  So, I believe you're right Sam to require
 the $this->$dbhname (contradicting what I said earlier.)  Apparently when
 I was testing this, I had added that object first, then tried the mysqli
 change, so I had already done it, but was going off information I read for
 mysql_get_server_info.

-- 
Ticket URL: <http://trac.bbpress.org/ticket/745#comment:4>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list