Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9
-
Fix Version/s: 1.9.2
-
Component/s: Roles / Access
-
Labels:None
-
Environment:HideLAMP:
[root@titan ADMIN_Moodle]# rpm -qa |grep php
php-pear-1.4.9-4
php-cli-5.1.6-15.el5
php-mysql-5.1.6-15.el5
php-common-5.1.6-15.el5
php-ldap-5.1.6-15.el5
php-pdo-5.1.6-15.el5
php-imap-5.1.6-15.el5
php-gd-5.1.6-15.el5
php-odbc-5.1.6-15.el5
php-pgsql-5.1.6-15.el5
php-mbstring-5.1.6-15.el5
php-devel-5.1.6-15.el5
php-xmlrpc-5.1.6-15.el5
php-5.1.6-15.el5
php-xml-5.1.6-15.el5
[root@titan ADMIN_Moodle]# rpm -qa |grep httpd
system-config-httpd-1.3.3.1-1.el5
httpd-2.2.3-11.el5_1.3
httpd-manual-2.2.3-11.el5_1.3
ShowLAMP: [root@titan ADMIN_Moodle]# rpm -qa |grep php php-pear-1.4.9-4 php-cli-5.1.6-15.el5 php-mysql-5.1.6-15.el5 php-common-5.1.6-15.el5 php-ldap-5.1.6-15.el5 php-pdo-5.1.6-15.el5 php-imap-5.1.6-15.el5 php-gd-5.1.6-15.el5 php-odbc-5.1.6-15.el5 php-pgsql-5.1.6-15.el5 php-mbstring-5.1.6-15.el5 php-devel-5.1.6-15.el5 php-xmlrpc-5.1.6-15.el5 php-5.1.6-15.el5 php-xml-5.1.6-15.el5 [root@titan ADMIN_Moodle]# rpm -qa |grep httpd system-config-httpd-1.3.3.1-1.el5 httpd-2.2.3-11.el5_1.3 httpd-manual-2.2.3-11.el5_1.3
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
Instance History:
Upgraded from 1.5 -> 1.6 -> 1.8 ->1.9 -> 1.9 Stable
1/3 of courses on instance have the following error when an instructor clicks a Quiz:
This is an unknown context () in print_context_name!
If I login as a student, I can still enter quizzes, and make attempts. If I attempt to login as instructor, it fails.
I can provide a backup of the course, and access to my copy of the instance, and mysql if it helps to debug.
OK - it seems to be in quizzes with no questions. When there is a redirect to edit, somewhere there is a call to print_context_name that is passing a null value. I added a var_dump($context) at the beginning of the function. Now to figure out where it is being called from. Peace - Anthony