Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install error on Moodle 3.0 #6

Open
sestrauss opened this issue Feb 26, 2016 · 11 comments
Open

Install error on Moodle 3.0 #6

sestrauss opened this issue Feb 26, 2016 · 11 comments

Comments

@sestrauss
Copy link

Hello,

Thanks for this great plugin. I have been happily using it for years. I just tried it on the new Moodle 3.0 site I am testing and got the following error when I tried to install it:

Plugin "tool_availabilityconditions" is installed in incorrect location "$CFG->dirroot/admin/tool/uploadcoursecategory", expected location is "$CFG->dirroot/admin/tool/availabilityconditions"

More information about this error
Debug info:
Error code: detectedmisplacedplugin
Stack trace:

line 463 of /lib/upgradelib.php: plugin_misplaced_exception thrown
line 1647 of /lib/upgradelib.php: call to upgrade_plugins()
line 677 of /admin/index.php: call to upgrade_noncore()
@piersharding
Copy link
Owner

Hi -

It seems to be complaining about tool_availabilityconditions - are the two of them some how conflicting ?

Cheers,
Piers Haring.

@sestrauss
Copy link
Author

Hi,

Thanks for your quick response.

I'm not sure what "tool_availabilityconditions" are. I just tried to add
the category upload plugin via the GUI, as I did with quite a few other
plugins, but got that error message.

Do you know if it installs OK on other Moodle 3.0 systems?

On Fri, Feb 26, 2016 at 7:53 PM, Piers Harding [email protected]
wrote:

Hi -

It seems to be complaining about tool_availabilityconditions - are the two
of them some how conflicting ?

Cheers,
Piers Haring.


Reply to this email directly or view it on GitHub
#6 (comment)
.

Sharon Strauss
Instructional Technology Services
IITS
Haverford College http://iits.haverford.edu
[email protected]
610-896-4916

IITS staff will never ask for your password.
The privacy of your password enhances the privacy of our entire community
and the integrity of our technology environment.
Check us out on the web - http://www.haverford.edu/iits
Read our blog - http://iits.haverford.edu/instructionaltechnology/

@piersharding
Copy link
Owner

Hi -

I currently don't have a Moodle 3 system to test against, but I think there is something wrong with one of the other plugins that you have installed related to availabilityconditions?

Cheers,
Piers Harding.

@sestrauss
Copy link
Author

Interesting. I uninstalled the Progress bar plugin, and now I get a different error message with the category uploader:

Plugin "tool_behat" is installed in incorrect location "$CFG->dirroot/admin/tool/uploadcoursecategory", expected location is "$CFG->dirroot/admin/tool/behat"

More information about this error
Debug info:
Error code: detectedmisplacedplugin
Stack trace:

line 463 of /lib/upgradelib.php: plugin_misplaced_exception thrown
line 1647 of /lib/upgradelib.php: call to upgrade_plugins()
line 677 of /admin/index.php: call to upgrade_noncore()

@sestrauss
Copy link
Author

I fixed up all my missing plug-ins and tried again. I kept getting similar errors when I tried to install the category uploader via the GUI. However, it installed fine when I just put the "uploadcoursecategory" folder in my admin/tools directory--as your README instructs.

I think the problem may be that the zip extracts to "moodle-tool_uploadcoursecategory-master" by default. If I start again with a fresh Moodle 3.0, I'll add your plugin first and see what happens.

@piersharding
Copy link
Owner

Hi -

I have built a clean 3.0 system, and installed the plugin by moving moodle-tool_uploadcoursecategory to uploadcoursecategory, which works.

Cheers,
Piers Harding.

@sestrauss
Copy link
Author

Hi,

Yes. That worked for me too. Your plug-in installed fine when I renamed it and uploaded it to the admin/tools directory. Now that it is installed properly, it works great. I am able to upload categories just like on earlier Moodle versions.

My point is that it does not work to via the frontend install interface Moodle has at moodle_URL/admin/tool/installaddon/index.php

@piersharding
Copy link
Owner

Yes - the moodle install is a new thing (to me) - doesn't look like it plays well with github zip files.

@sestrauss
Copy link
Author

Piers,

I got the GUI upload to work just by renaming a bit in your github download zip a bit.

I just renamed the extracted folder from "moodle-tool_uploadcoursecategory-master" to "uploadcoursecategory"

See if this works for you.

moodle-tool_uploadcoursecategory-master.zip

@piersharding
Copy link
Owner

@sestrauss
Copy link
Author

Works great!
Thanks.

On Wed, Mar 2, 2016 at 1:42 PM, Piers Harding [email protected]
wrote:

You can try
https://github.com/piersharding/moodle-tool_uploadcoursecategory/releases/tag/Moodle3.x

  • this should work.

Cheers.


Reply to this email directly or view it on GitHub
#6 (comment)
.

Sharon Strauss
Instructional Technology Services
IITS
Haverford College http://iits.haverford.edu
[email protected]
610-896-4916

IITS staff will never ask for your password.
The privacy of your password enhances the privacy of our entire community
and the integrity of our technology environment.
Check us out on the web - http://www.haverford.edu/iits
Read our blog - http://iits.haverford.edu/instructionaltechnology/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants