Project

General

Profile

Bug #5286 » onScrRep.txt

Marko Kastelic, 02/08/2012 12:28

 
1
DATABASE ERROR #1064:
2
 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 'AND question_id ='3' ORDER BY position' at line 2
3
QUERY       :
4
 SELECT id, id_auto, answer,correct,comment,ponderation, position, hotspot_coordinates, hotspot_type, destination  FROM
5
		      `chamidev_main`.`c_quiz_answer` WHERE c_id =  AND question_id ='3' ORDER BY position
6
FILE        :
7
 /var/www/chamilodev.beeznest.com/www/main/exercice/answer.class.php
8
LINE        :
9
 113
10
CLASS       :
11
 Answer
12
METHOD      :
13
 read
14

    
15
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /var/www/chamilodev.beeznest.com/www/main/inc/lib/database.lib.php on line 484 Call Stack: 0.0033 1233744 1. {main}() /var/www/chamilodev.beeznest.com/www/main/newscorm/lp_controller.php:0 0.6583 34044336 2. learnpath->scorm_export() /var/www/chamilodev.beeznest.com/www/main/newscorm/lp_controller.php:519 0.9159 37923152 3. export_exercise() /var/www/chamilodev.beeznest.com/www/main/newscorm/learnpath.class.php:8591 0.9167 37934544 4. ScormSection->export() /var/www/chamilodev.beeznest.com/www/main/exercice/export/scorm/scorm_export.php:592 0.9167 37934816 5. ScormSection->export_questions() /var/www/chamilodev.beeznest.com/www/main/exercice/export/scorm/scorm_export.php:537 0.9168 37935112 6. export_question() /var/www/chamilodev.beeznest.com/www/main/exercice/export/scorm/scorm_export.php:568 0.9178 37949704 7. ScormAssessmentItem->ScormAssessmentItem() /var/www/chamilodev.beeznest.com/www/main/exercice/export/scorm/scorm_export.php:618 0.9178 37949704 8. ScormQuestion->setAnswer() /var/www/chamilodev.beeznest.com/www/main/exercice/export/scorm/scorm_export.php:38 0.9178 37953056 9. Answer->Answer() /var/www/chamilodev.beeznest.com/www/main/exercice/export/scorm/scorm_classes.php:50 0.9191 37968152 10. Answer->read() /var/www/chamilodev.beeznest.com/www/main/exercice/answer.class.php:80 1.0188 42313208 11. Database::fetch_object() /var/www/chamilodev.beeznest.com/www/main/exercice/answer.class.php:117 1.0188 42313448 12. mysql_fetch_object() /var/www/chamilodev.beeznest.com/www/main/inc/lib/database.lib.php:484
16

    
17
DATABASE ERROR #1064:
18
 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 'AND id = '3'' at line 1
19
QUERY       :
20
 SELECT type FROM `chamidev_main`.`c_quiz_question` WHERE c_id =  AND id = '3'
21
FILE        :
22
 /var/www/chamilodev.beeznest.com/www/main/exercice/answer.class.php
23
LINE        :
24
 330
25
CLASS       :
26
 Answer
27
METHOD      :
28
 getQuestionType
29

    
30
Fatal error: Call to undefined method stdClass::export() in /var/www/chamilodev.beeznest.com/www/main/exercice/export/scorm/scorm_classes.php on line 101 Call Stack: 0.0033 1233744 1. {main}() /var/www/chamilodev.beeznest.com/www/main/newscorm/lp_controller.php:0 0.6583 34044336 2. learnpath->scorm_export() /var/www/chamilodev.beeznest.com/www/main/newscorm/lp_controller.php:519 0.9159 37923152 3. export_exercise() /var/www/chamilodev.beeznest.com/www/main/newscorm/learnpath.class.php:8591 0.9167 37934544 4. ScormSection->export() /var/www/chamilodev.beeznest.com/www/main/exercice/export/scorm/scorm_export.php:592 0.9167 37934816 5. ScormSection->export_questions() /var/www/chamilodev.beeznest.com/www/main/exercice/export/scorm/scorm_export.php:537 1.2418 42280272 6. export_question() /var/www/chamilodev.beeznest.com/www/main/exercice/export/scorm/scorm_export.php:568 1.2428 42296104 7. ScormAssessmentItem->export() /var/www/chamilodev.beeznest.com/www/main/exercice/export/scorm/scorm_export.php:620 1.2428 42296240 8. ScormQuestion->export() /var/www/chamilodev.beeznest.com/www/main/exercice/export/scorm/scorm_export.php:212 
(1-1/2)