
Great news!All seams to work (just testing) Greetings

Moderator: CricketMX Forum Moderators
Great news!All seams to work (just testing) Greetings
On the other hand, on some quiz test I did I get this message and I do not know how to cancelErreur générale
SQL ERROR [ mysql4 ]
Unknown column 'user_points' in 'field list' [1054]
SQL
UPDATE phpbb_users SET user_points = user_points + -2 WHERE user_id = 2
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()
FILE: quiz.php
LINE: 769
CALL: dbal_mysql->sql_query()
I have put on the Time Limits option to 0 but nothing changes there by cons as the image shows the quiz is marked as savedou are seeing this error because one of several events might have occurred: - A cheating attempt may have been detected. You cannot leave a quiz and later re-enter it without going through the save process. - You have tried to resubmit a quiz that you have exceeded the time limit on - You have already played this quiz, and the admin does not allow multiple attempts.
Code: Select all
($row['quiz_time_used'] > 0 && $row['quiz_progress_stop_time'] == 0)
No I do not use any other point system and install the forum is brand new.battye wrote:Are you using a points system? If so, the only reason you get the SQL error is because you are using a column other than "user_points". Do you know which column you are using? If this doesn't make sense I can explain in further detail.
Indeed I leave without a quiz to fill completely!battye wrote:"Sauvegarde" or "saved" will appear on all saved quizzes. The cheating attempt will appear if you have quit a quiz without either saving it or submitting it.
We must open the file quiz.php searchErreur générale
SQL ERROR [ mysql4 ]
Unknown column 'user_points' in 'field list' [1054]
SQL
UPDATE phpbb_users SET user_points = user_points + -2 WHERE user_id = 2
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()
FILE: quiz.php
LINE: 769
CALL: dbal_mysql->sql_query()
Code: Select all
$statistical_sql[] = "UPDATE " . USERS_TABLE . " SET $cash_field = $cash_field + $cash_gained_or_lost WHERE user_id = " . $user->data['user_id'];
Code: Select all
if(isset($data['points']))
{
$statistical_sql[] = "UPDATE " . USERS_TABLE . " SET $cash_field = $cash_field + $cash_gained_or_lost WHERE user_id = " . $user->data['user_id'];
}
Stef67 wrote:Indeed I leave without a quiz to fill completely!battye wrote:"Sauvegarde" or "saved" will appear on all saved quizzes. The cheating attempt will appear if you have quit a quiz without either saving it or submitting it.
Have not you planned a system to reset it in the ACP?
Because even trying to retrace a quiz marked as saved I can not
Do you have in ACP > UQM "Turn on points compatibility" set to YES? Change to NO and the error will no longer appear. You need to have a Cash/Points MOD installed for this feature to work.Stef67 wrote:I find how close the following error message
Erreur générale
SQL ERROR [ mysql4 ]
Unknown column 'user_points' in 'field list' [1054]
SQL
UPDATE phpbb_users SET user_points = user_points + -2 WHERE user_id = 2
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()
FILE: quiz.php
LINE: 769
CALL: dbal_mysql->sql_query()
Code: Select all
'index' => array('title' => 'ACP_QUIZ_INDEX_TITLE', 'auth' => 'acl_a_board', 'cat' => array('')),
Code: Select all
'index' => array('title' => 'Ultimate Quiz MOD', 'auth' => 'acl_a_board', 'cat' => array('')),
I originally suggested this some time ago here. It would certainly be a nice addition and possibly worth considering for a future release of UQM.Stef67 wrote:I have a suggestion for this MOD.
When one accepts the view of responses after a quiz, it'll be nice to have possibility to add supplementary information in addition by providing answers to more understanding of the question
@+