WIMP--XP server, IIS 6
mysql 4.1.22
php 5.1.2
I have been working on upgrading to Moodle 1.8. Today I noticed that although I can add activities and resources, I cannot delete them.
In fact, I can't adjust them either! For example, if I add a label we are good. But then I can't delete the label or move it or indent it or hide it.
Course imports/restores work fine. I can delete files from the files area. I can delete whole courses. But I can't delete an item placed in a course!
I think this is a windows problem, because I have 2 other moodles on other machines (same version, different php and mysql, using xampp) and they all work fine.
Can someone give me a clue? I don't know how to turn on debugging for a windows server, so I could use some advice about that.
atw
Windows server: WIMP problem? I can add resources/activities to course, but not delete
by A. T. Wyatt -
Number of replies: 5
In reply to A. T. Wyatt
Re: Windows server: WIMP problem? I can add resources/activities to course, but not delete
by Mauno Korpelainen -
In reply to A. T. Wyatt
Re: Windows server: WIMP problem? I can add resources/activities to course, but not delete
by Ken Wilson -
To turn on debugging, try setting the Server -> Debugging options on. Also, in your config.php, try adding:
).
Good luck!
Ken
define('MDL_PERFDB' , true);And (as Mauno points out), check that AJAX is turned-off (it's experimental for a good reason

Good luck!
Ken
In reply to Ken Wilson
Re: Windows server: WIMP problem? I can add resources/activities to course, but not delete
by A. T. Wyatt -
Excellent! Bless you both! The ajax was definitely the problem (and I would never have guessed that was the culprit). Drat, because I wanted ajax too! But I will see about the debugging. I sort of knew how to turn debugging on in moodle, but how do you get error logs in IIS?
atw
atw
In reply to A. T. Wyatt
Re: Windows server: WIMP problem? I can add resources/activities to course, but not delete
by Ken Wilson -
The log entries should be in the event viewer application log. If they're not there, try uncommenting the settings in your php.ini file which control where the log entries are stored, e.g. log_errors = On and error_log = syslog. Save php.ini and restart IIS. Any better?
In reply to A. T. Wyatt
Re: Windows server: WIMP problem? I can add resources/activities to course, but not delete
by Andrea Tejedor -
Thank you soooooo much for this information - I have been struggling with this - and as soon as I turned AJAX off I can delete again - Wow!