thomasantony - 18 May 2007 09:48 PM
Oh, and another thing is, using db prefixes completely breaks it. Suppose I set prefix as ab_ in database.php, naturally, I rename the freakauth tables to ab_fa_user etc to avoid mysql errors. Then I avoid getting mysql errors, but then I get errors in the freakauth installer saying “fa_country” not found etc. Maybe if I renamed the tables and set the prefix AFTER the installation , it may work .. hmm..
~
Thomas
Hey Thomas, the db table prefix is not hardcoded in the installer and neither in other scripts.
This means that you can change the fa_ table prefix to ab_ without any problem.
The only thing you should do is to change in application/config/freakauth_light.php
<?php
//...
/*
|------------------------------------------------------------------------------
| The table prefix for the database tables needed by FreakAuth_light
|------------------------------------------------------------------------------
|
| !!!!!!!! WARNING !!!!!!!
|
| NB: the table name for the db_session library is set in config.php
| and won't be affected by this 'FAL_table_prefix' configuration
|
*/
$config['FAL_table_prefix'] = 'fa_';
BEFORE RUNNING THE INSTALLER!
Hope this helps!
Dan