"resource module needs upgrading"

"resource module needs upgrading"

Walter Balser -
Atsakymų skaičius: 2

I recently tried to upgrade and ran into problems, so I decided to go back (just for a couple of weeks) to the 1.4 version.  I went back to the backup and everything is ok, with the exception of the resource module:

(a) When I go into the admin center I just get the message, resource module needs upgrading

(b) When I try to add a resource as a normal user I get an error such as:

Fatal error: Call to undefined function: can_use_richtext_editor() in /SERVERPATH/home/class/mod/resource/details.php on line 8

Although I will be upgrading it would be great if I could get this repaired for current users.  Thanks again,

Walter

Pažymių vidurkis: -
Atsakymas į Walter Balser

Re: "resource module needs upgrading"

Martin Dougiamas -
Core developers paveikslėlis Documentation writers paveikslėlis Moodle HQ paveikslėlis Particularly helpful Moodlers paveikslėlis Plugin developers paveikslėlis Testers paveikslėlis
You may have a mix of files. There was no can_use_richtext_editor() in 1.0.4.
Atsakymas į Martin Dougiamas

Re: "resource module needs upgrading"

Walter Balser -

OK, thanks Martin.  Now, I tried in vain to go back and fix everything.  Unfortunately, the upgrade can not be done yet--as it will require a bit of customization to conform.  I noticed that all of the errors seem to be confined to the /mod/resource directory.  Is there anyway that I could just get an archived copy of this directory from the v 1.4 version?  Or perhaps just the view.php file.  I'm really confused, because absolutely everything works perfect except adding and viewing resources--and I backed up what I had.  Thanks,

Walter