Page 1 of 1

Wierd Issue with phpBBx

Posted: Wed Oct 11, 2006 7:08 pm
by pgoneill
Well, it works.  Sort of.

When a front-end user is logged in and goes to the page "forum" I get this error:

Fatal error: Call to undefined method pear_ADOConnection::PO_Insert_ID() in [PATH]\plugins\function.phpbbx.php on line 200

Line 200:

Code: Select all

$group_id = $db->PO_Insert_ID($tablepref . "groups", "group_id");
And then if the user refreshes, it doesn't produce that error and registers/logs them in!

Any insight appreciated.

Re: Wierd Issue with phpBBx

Posted: Thu Oct 12, 2006 8:19 pm
by Dee
PO_Insert_ID is a function from ADOdb. PO stands for portable.
The plugin probably expects CMSMS to use full ADOdb ($config['use_adodb_light'] = false; in config.php).
You can try changing the call to $db->Insert_ID and see if it works with ADOdb Light.

Re: Wierd Issue with phpBBx

Posted: Fri Oct 13, 2006 4:20 pm
by pgoneill
Not sure I'm going to end up using phpBBx, but I'll keep that in mind in case I do decide to use it.  Thanks a lot. :)