hello i have an error here..my database is using a tableprefix 'abc_', but when i installed the module i named all tables x_*
but now i get following error after login:
The table "abc_users" for active record class "YumUser" cannot be found in the database.
but all x_ prefixed tables were successfully created..
Or when looking at the code.. you probably should note somewhere, that I have to change the configs, if i use non-default tables
next thing is very wrong confusing intendention in models/YumUser.php:
52 public function tableName()
53 {
54 if (isset(Yii::app()->controller->module->usersTable))
55 $this->_tableName = Yii::app()->controller->module->usersTable;
56 elseif (isset(Yii::app()->modules['user']['usersTable']))
57 $this->_tableName = Yii::app()->modules['user']['usersTable'];
58 else
59 $this->_tableName = '{{users}}'; // fallback if nothing is set
60 $this->_tableName = 'users'; // fallback if nothing is set
61
62 return YumHelper::resolveTableName($this->_tableName,$this->getDbConnection());
63 }
on line 60 - this must be one tab left

Help















