I need any user management extension… but it seems that any doesn’t work for me.
I installed Yii user management module. I have read the installation tutorials but
after click’n the installation module where i set up my tablenames it says that:
ERROR:CDbException
CDbCommand failed to execute the SQL statement: CDbCommand failed to prepare the SQL statement: SQLSTATE[HY000]: General error: 1 near "set": syntax error. The SQL statement executed was: set FOREIGN_KEY_CHECKS = 0;
Stack Trace
#0
–
/Applications/XAMPP/xamppfiles/htdocs/sample/protected/modules/user/controllers/YumInstallController.php(41): CDbCommand->execute()
36 if (Yii::app()->request->isPostRequest) {
37 // A associative array containing the tables to be created.
38 $createdTables = array();
39 if ($db = Yii::app()->db) {
40 $sql = ‘set FOREIGN_KEY_CHECKS = 0;’;
41 $db->createCommand($sql)->execute();
42
43 $transaction = $db->beginTransaction();
44
45 $tables = array(
46 ‘userTable’,
Somebody? Any Answers/Suggestion/Comments would be appreciated.
Thanks in advance.