Aardvark 2.4 (Magpie)

Aardvark 2.4 (Magpie)

by John Szkudlapski -
Number of replies: 3

Ive attempted to add the new Magpie theme (into a folder called Magpie, so not to overwrite the existing aardvark theme) and im getting the attached error when trying to install it

 

Attachment Magpie Error.png
Average of ratings: -
In reply to John Szkudlapski

Re: Aardvark 2.4 (Magpie)

by John Szkudlapski -

Initial error shows up as this

Attachment Magpie Install.png
In reply to John Szkudlapski

Re: Aardvark 2.4 (Magpie)

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Hi John,

You say you renamed the folder not to clash - but have you made sure you rename the theme everywhere else - language file, version.php, config.php and anywhere else it may be named? I don't have aardvark magpie downloaded on my work computer to check exactly where else, but tools like Notepad++ or if you're on Linux a bash command such as the one here can help.

Richard

In reply to John Szkudlapski

Re: Aardvark 2.4 (Magpie)

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Did you click on the "More information about this error?" because you will find the answer there. It says this...

A broken plugin, such as a module, has been detected. In order for the upgrade to proceed, the broken plugin should be deleted.

In the case of a Theme, then it is more than likely there is a file that has not been renamed correctly, or the theme is missing a vital component like a version.php, or that the version.php is not correct in some small detail, usually the plugin version.

For more information read Themes 2.0

http://docs.moodle.org/24/en/error/moodle/detectedbrokenplugin

However, in your case the fact you are calling your theme Magpie is a probelm too, not the name but the fact you have used a Capital letter. In Moodle you cannot use Caps...end of story!