New course error message in 1.4.3

Re: New course error message in 1.4.3

by Eloy Lafuente (stronk7) -
Number of replies: 3
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Uhm,

related with this, some serious problems have been detected in PHP 5.0.3. One related with the XML parser, doing the "restore" functionality of Moodle practically unusable (see http://bugs.php.net/bug.php?id=31139) and other with the unserialize() function, what is used exactly in the activitynames filter (see http://bugs.php.net/bug.php?id=31169).

Both seem to be closed now so things will be usable again in PHP 5.0.4. For now is highly recommended to avoid 5.0.3 at all!! Downgrade to 5.0.2, I'm using it in my test servers and, although it's slower than 5.0.3 (this is only a personal sensation), it works!!!

Ciao smile
In reply to Eloy Lafuente (stronk7)

Re: New course error message in 1.4.3

by Penny Leach -
Hrmm... we're using 4.3.9-2 and I have that exact error in the error log sad
In reply to Penny Leach

Re: New course error message in 1.4.3

by Eloy Lafuente (stronk7) -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Perhaps the "News" forum isn't being created and the "modinfo" field is empty? I've created a course, then I've manually cleared the "modinfo" field (it was containing only the news forum) and I've reproduced the warning. This could be checked (empty modinfo) in the filter to avoid such advise.

Ciao smile
In reply to Eloy Lafuente (stronk7)

Re: New course error message in 1.4.3

by Penny Leach -
I thought the news forum always got created on first view if it wasn't there already?

Your solution would certainly solve the warning, but I was worried it meant an incorrect courseid being passed in or something.