Add new course category -- Moodle 2.0

Add new course category -- Moodle 2.0

by Jeff Gentry -
Number of replies: 8
I got Moodle 2.0 up and running on a test server today:

2.0 dev (Build: 20090717)(2009071300)

When I tried to add a new course category via

Courses --> Add/edit courses --> clicked 'Add new category' button

It came back with a blank page. Tested on Firefox, Chrome, and IE.

IE actually came back with Error Code 500 for the page.

Server environment:
Centos 5, php 5.2.10, mysql 5.1.36
Average of ratings: -
In reply to Jeff Gentry

Re: Add new course category -- Moodle 2.0

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators
I can't help with that sorry-my build is 20090706 and it seems to work fine. I wonder what others with the same build as you have found?
In reply to Jeff Gentry

Re: Add new course category -- Moodle 2.0

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I just tested my 2.0 install, and I can create categories too. Please can you turn on Debugging and see if there is an error message.

In fact, if you are testing 2.0 I strongly recommend having debugging set to All or Developer - although at the moment Developer debug does output some not very serious warnings on a number of pages that don't need to be reported.
In reply to Tim Hunt

Re: Add new course category -- Moodle 2.0

by Jeff Gentry -
I will turn on debugging and get back to you ASAP.
In reply to Tim Hunt

Re: Add new course category -- Moodle 2.0

by Teresa Gibbison -
Hi there
Finally we have a 2.0 dev environment so I can start some testing (Yeah!). Our server set-up guy has given us Build: 20090717 - I'll get onto getting a more recent version.

I am getting the blank page with the Debugging output:

Fatal error
: Class moodleform_mod contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (moodleform::definition) in /opt/var/www/htdocs/moodle2/course/moodleform_mod.php on line 12

Cheers
Teresa

Edit: our site's web addy is http://mdldev.oursite/moodle2/
In reply to Teresa Gibbison

Re: Add new course category -- Moodle 2.0

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I seem to remember that error was there very briefly. It's been fixed now.

I think there is not much point having a 2.0 install for testing unless you can update it fairly frequently, becuase there will be a lot of little things like this, and new stuff is happening all the time.
In reply to Tim Hunt

Re: Add new course category -- Moodle 2.0

by Teresa Gibbison -
Yes Tim
Thanks for your suggestion - we use git so can update our code from Catalyst NZ on a regular basis smile
Cheers
Teresa
In reply to Jeff Gentry

Re: Add new course category -- Moodle 2.0

by John Rodgers -
Can you check for a bad table in the database?
In reply to John Rodgers

Re: Add new course category -- Moodle 2.0

by Jeff Gentry -
I'll look through the logs and see if I can find anything. As above, I'll try to do this ASAP. Thanks.