Being logged as an admin I go to the "assign teachers" page. If I then try to access the Administration page (using the breadcrumbs link), I get a "You need to be an admin user to access this page" error and I cannot log back in as an admin until I restart the browser. However, the problem doesn't occur if I return from "assign teachers" to the site homepage first and then access the Administration page.
Does anyone have any ideas why this could be happening?
Some things that might help (though I don't know if they are related to this problem):
With debug site variable set to yes, I get several error messages:
On the Homepage, just above "Course Categories" box: Notice: Undefined variable: showall in /home/users/online/www/course/lib.php on line 753 and Notice: Undefined variable: mine in /home/users/online/www/course/lib.php on line 753
On the Homepage, inside the "Course Categories" box: Notice: Undefined offset: 2 in /home/users/online/www/course/lib.php on line 556 and Notice: Undefined offset: 3 in /home/users/online/www/course/lib.php on line 556
Inside the course (topics format), in the topic area: Notice: Undefined offset: 1 in /home/users/online/www/course/topics.php on line 150 and Notice: Undefined property: sequence in /home/users/online/www/course/lib.php on line 512
Thanks in advance for any help.
Przemek
PS. Using Moodle 1.0.8.1 (2003011200)