Hi Moodlers,
I am currently having a look at version 1.8x of Moodle for possible deployment on company intranet. Until now, the version that has been used is Moodle 1.62, running on Wiindows 2K3 Server SP1, Apache 2.24, PHP 5.21, MySQL 5.022-max-community-nt.
I have been using phpMyAdmin version 2.62 for administering the database side of Moodle, and dearly hoped that installing it on 1.8 would be as straight forward as on 1.62 (i.e. by copying phpMyAdmin files into /root/admin/mysql on target server).
I have done this, and changed any config items that needed changing in config.inc.php.
All going well so far, and the Database link even appears under the Server branch of the Administration tree, but when I click on it...
"This page is only accessible to the admin user".
I have being trying to debug the problem, and have traced it as far as a call to function create_context() in /lib/accesslib.php, which issues the error:
Error: could not insert new context level "50", instance "1"
Now I know that context level "50" = CONTEXT_COURSE, and I am assuming that instance "1" is the front page course ID, but i'm not exactly sure what the problem is from here. Everything else about the installation appears to be working OK.
Any sympathetic Moodler know what's going on????