這一討論區的貼文已經被移除
Number of replies: 24Have you tried the newest versions of these plugins in 3.4? Often the lack of a suitable version in the plugins database just means it has not been tested (yet).
Failing that, track down the github page for the plugin (linked from the plugin's details page) and see if there is a newer 'master' version. It may not be officially 'stable' but it will still quite probably work fine for you.
這一討論區的貼文已經被移除
這一討論區的貼文已經被移除
Nope. That's not the problem. You didn't do it right. The files are 'missing from disk' which means what it says - they are not there. Or, at least, not where Moodle expects them to be.
The new files (for the plugin you mention) should be in the location enrol/approval. Oddly, your screenshot lists it as 'approver' which means it's either been renamed wrongly or that's not the right plugin. I'm guessing that you renamed it incorrectly after copying the files.
這一討論區的貼文已經被移除
這一討論區的貼文已經被移除
Sorry... one-to-one support is my day job.
If you don't have a backup of the original site then you might have a problem. Didn't you keep a copy of the 2.7 code in case of difficulties?
How did you upgrade? Did you just delete the 2.7 code and replace it with newer (presumably 3.0 in the first step)?
這一討論區的貼文已經被移除
這一討論區的貼文已經被移除
??? This one?
https://github.com/emeneo/moodle-enrol_apply
https://moodle.org/plugins/view.php?plugin=enrol_apply
'spirit of sharing', Ken
這一討論區的貼文已經被移除
這一討論區的貼文已經被移除
Screen shot shows that addon is disabled (as well as missing from disk).
'disabled' means not in use.
So do you need to upgrade it?
Go to the servers Enrollment plugins:
/admin/settings.php?section=manageenrols
There's a column for Instances - indicates usage ... and enrollments ... shows how many students were enrolled by that plugin.
'spirit of sharing', Ken
這一討論區的貼文已經被移除
https://github.com/netspotau/moodle-local_cohort_automation
...is the middle one, although it hasn't been updated in 4 years so has probably been abandoned. This is a chance you take using optional plugins. If you really need it, you might have to find/pay a developer to bring it up to date.
The other two don't seem to exist at all. Is it possible that they were custom developments just for you?
Getting a bit fed up of repeating myself, but unless you can provide the old (2.7) code for us to look at there isn't much more we can do to help.
Hi Howard,
Can this possible to change version.php file and try to install? May be this is not permanent and GOOD Solutions. but I have change this and I am able to install at least...
$plugin->version = 2018012000;
$plugin->release = '3.4.1';
$plugin->maturity = MATURITY_STABLE;
$plugin->requires = 2014051200;
$plugin->component = 'local_cohort_automation';
I have try this in 3.4.1
There's no need to change version.php. The original version of that file (looking at the Github repo) said $plugin->requires = 2013051400;
3.4.1 is loads newer that 2013051400, so there's nothing in the version file to stop it installing.
Local plugins have not changed much so it will probably work. The only risk is really it (trying to) call deprecated functions. The only way to establish that is to try it.
Please see previous response:
https://moodle.org/mod/forum/discuss.php?d=365956#p1476032
Repeat: if there are no instances used in any course of the site, there is no need to seek upgrades ... by any means.
'spirit of sharing', Ken