In the file framework/db/CDbCommand.php,line 173:
$this->_text=preg_replace('/{{(.*?)}}/',$this->_connection->tablePrefix.'\1',$value);
if tables without prefix,'$this->_text' may be contains a classic words in the sql,`groups` for example.
so a sql error occured.
you can create a new project without prefix and create a new survey,after click the save button to jump a new page to show the survey list。
Code:
CDbCommand failed to execute the SQL statement: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups as question_groups WHERE questions.gid=question_groups.gid AND questions' at line 1