Windows server: WIMP problem? I can add resources/activities to course, but not delete

Windows server: WIMP problem? I can add resources/activities to course, but not delete

A. T. Wyatt發表於
Number of replies: 5
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

評比平均分數: -
In reply to A. T. Wyatt

Re: Windows server: WIMP problem? I can add resources/activities to course, but not delete

Ken Wilson發表於
To turn on debugging, try setting the Server -> Debugging options on. Also, in your config.php, try adding:
define('MDL_PERFDB' , true);
And (as Mauno points out), check that AJAX is turned-off (it's experimental for a good reason wink).

Good luck!

Ken
In reply to Ken Wilson

Re: Windows server: WIMP problem? I can add resources/activities to course, but not delete

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
In reply to A. T. Wyatt

Re: Windows server: WIMP problem? I can add resources/activities to course, but not delete

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

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!