Best practice forum (Archived)

Cette discussion de forum a été supprimée

 
Ce message du forum a été supprimé
Monday 26 January 2015, 23:58
Le contenu de ce message de forum a été supprimé et n'est plus accessible.
? ?
Re: DB error when adding a local plugin
par ? ?, Tuesday 27 January 2015, 12:33
 

Hi Roi,

Without more specifics it's impossible to say but most likely some sort of error with a SQL statement in your code, or in the install.xml.

You should read up on the Moodle Developer Documentation before attempting to create a plugin, and also look at the existing Totara and Moodle activity modules to see how the various files are structured, especially in the in the plugins /db folder which is where all the installation/upgrade code goes.

https://docs.moodle.org/28/en/Development:Developer_documentation