Bug #58
Error Message
| Status: | Resolved | Start: | 03/07/2010 | |
| Priority: | Urgent | Due date: | ||
| Assigned to: | % Done: | 100% |
||
| Category: | - | |||
| Target version: | 0.3.0 release | |||
Description
Dear Developer
I am Receiving below error for the access granted quizzes also. request to rectify ASAP
"You are not granted access to this quiz"
Quiz is available following with this error
Karthi.V
History
Updated by Karthi V 700 days ago
the above said error is fixed.....now coming out with new bug......unable to submit answers before quiz time, it accepts automatically once time is over.........
Updated by Fayez NACCACHE 699 days ago
- File default.php added
Hello,
Here is a patch to replace in /components/com_jquarks/views/quiz/tmpl/default.php
Please give feedback if it works correctly.
Thanks
Updated by rafa arevalo 624 days ago
Karthi V wrote:
Dear Developer
I am Receiving below error for the access granted quizzes also. request to rectify ASAP
"You are not granted access to this quiz"
Quiz is available following with this error
Karthi.V
I'm having the same problem, i have 2 quizzes available, after i assign both quizzes to several users, these users are able to do the first quiz Only and this message: "You are not granted access to this quiz" appears if he tries to do the other one.
Any quiz after the first one does not seem to work.
I'd really appreciate your help.
Updated by Boyan Boyan 594 days ago
rafa arevalo wrote:
I'm having the same problem, i have 2 quizzes available, after i assign both quizzes to several users, these users are able to do the first quiz Only and this message: "You are not granted access to this quiz" appears if he tries to do the other one.
Any quiz after the first one does not seem to work.
I'd really appreciate your help.
Hello,
The problem is in FINISH_PUBLISHING DATE, just remove the end date if is not necessary and you will get access to the second quiz.
Updated by Garry Kuzmin 535 days ago
Boyan Boyan wrote:
rafa arevalo wrote:
I'm having the same problem, i have 2 quizzes available, after i assign both quizzes to several users, these users are able to do the first quiz Only and this message: "You are not granted access to this quiz" appears if he tries to do the other one.
Any quiz after the first one does not seem to work.
I'd really appreciate your help.
Hello, The problem is in FINISH_PUBLISHING DATE, just remove the end date if is not necessary and you will get access to the second quiz.
Or, if you want to work with "FINISH_PUBLISHING DATE", you must go to "components\com_jquarks\models\quiz.php" and find row with next php code:
@
$query = 'SELECT *' .
' FROM #__jquarks_quizzes AS qui' .
' WHERE qui.id = ' . $this->_id .
' AND qui.published = 1' .
' AND qui.publish_up < "' . $now . '"' .
' AND qui.publish_down = "0000-00-00 00:00:00"' .
' OR qui.publish_down > "' . $now . '"' ;
@
and comment it or delete, and add next php code:
@
$query = 'SELECT *' .
' FROM #__jquarks_quizzes AS qui' .
' WHERE (qui.id = ' . $this->_id .
') AND (qui.published = 1' .
') AND (qui.publish_up < "' . $now . '"' .
') AND ((qui.publish_down > "' . $now . '")'.
' OR qui.publish_down = "0000-00-00 00:00:00")';
@
Updated by Fayez NACCACHE 452 days ago
- Status changed from New to Resolved
- Assigned to set to Fayez NACCACHE
- % Done changed from 0 to 100
Thanks Garry!
SQL error was fixed.