Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Had to comment out ‘return false’ to get install to work

This is the code that was making the call and getting the return false returned to it, thus resulting in this error:

if (!$bbdb->db_connect(‘SHOW TABLES;’)) {

$this->step_status[1] = ‘incomplete’;

$this->strings[1][] = __(‘There was a problem connecting to the database you specified.
Please check the settings, then try again.’);

return ‘error’;

}

db_connect was returning false when it detected $this->$dbhname was undef. So by removing the return false when that happened, the db_connect call then succeeded and all was happy :).

To answer the other person, I’m hosting on localhost. I have an old PowerPC Mac running OS X 10.4.11 or something. It’s a spare computer; thought I’d stick a forum on it and learn some php.

Skip to toolbar