Bug #58

avatar

Error Message

Added by Karthi V 700 days ago. Updated 440 days ago.

Status:Resolved Start:03/07/2010
Priority:Urgent Due date:
Assigned to:avatarFayez NACCACHE % 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

default.php (13.2 KB) Fayez NACCACHE, 03/08/2010 02:36 AM

History

Updated by Karthi V 700 days ago

avatar

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

avatar

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 Karthi V 698 days ago

avatar

Thx dude...now it works perfect!!!!

Updated by rafa arevalo 624 days ago

avatar

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

avatar

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

avatar

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

avatar
  • Status changed from New to Resolved
  • Assigned to set to Fayez NACCACHE
  • % Done changed from 0 to 100

Thanks Garry!
SQL error was fixed.

Updated by Mahmoud M'HIRI 440 days ago

avatar
  • Target version changed from 0.3.0 beta to 0.3.0 release

Also available in: Atom PDF