Bug #10711 [Opn->Bgs]: prefix not working in MDB2

From: Date: Sat, 14 Mar 2009 22:50:18 +0000
Subject: Bug #10711 [Opn->Bgs]: prefix not working in MDB2
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-186@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=10711&edit=1 ID: 10711 Updated by: helgith@gmail.com Reported By: stuarteve at lparchaeology dot com Summary: prefix not working in MDB2 -Status: Open +Status: Bogus Type: Bug Package: LiveUser Operating System: Suse 9.3 Package Version: 0.16.12 PHP Version: 4.4.5 Roadmap Versions: New Comment: -Status: Open +Status: Bogus Thank you for taking the time to write to us, but this is not a bug. Looks like you were just doing a copy paste and unfortunately not reading the manual / code example 4 and example 5 both did not have a prefix in the auth container but you need to add the option in if you decide to change all the tables. users table is under the auth container and your error message suggests that one is missing as well as you just pasted the permContainer part, which leads me to believe that you are just missing it in the auth container. Previous Comments: ------------------------------------------------------------------------ [2007-04-13 09:16:03] stuarteve Description: ------------ I have been trying to use a prefix infront of the liveuser tables (of 'cor_lvu_'). I am using the MDB2 array (the conf file copied from example5) - I have changed the prefix in the array as follows: 'permContainer' => array( 'type' => 'Medium', 'storage' => array('MDB2' => array('dsn' => $dsn, 'prefix' => 'cor_lvu_')) This was coming back with the error that 'mydb.liveuser_users' does not exist. I then went into the MDB2.php file itself in the LiveUser directory and changed the default calue for the prefix. This then worked. ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=10711&edit=1

« previous php.pear.bugs (#186) next »