broken or outdated plugin

broken or outdated plugin

by Chirag Patel -
Number of replies: 3

Hey guys I have posted this before and posting again,

That I am having this error while installing plugin

Plugin "block/block_graph_stats_moodle23_2012062500" is defective or outdated, can not continue, sorry.

More information about this error

Debug info: Missing version.php file.
Error code: detectedbrokenplugin
Stack trace:
  • line 699 of \lib\upgradelib.php: plugin_defective_exception thrown
  • line 360 of \lib\upgradelib.php: call to upgrade_plugins_blocks()
  • line 1524 of \lib\upgradelib.php: call to upgrade_plugins()
  • line 329 of \admin\index.php: call to upgrade_noncore()

So any help with this

version.php file of plugin

 

$plugin->version  = 2013062400;

$plugin->requires = 0;
$plugin->cron = 300;

$plugin->component = 'report_customsql';
$plugin->maturity = MATURITY_STABLE;
$plugin->release = '2.4 for Moodle 2.2+';

and my moodle is 2.3

Average of ratings: -
In reply to Chirag Patel

Re: broken or outdated plugin

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

According to version.php, the plugin component is 'report_customsql'.

That means, it expects to be installed to:

[moodle code directory]/report/customsql

(i.e. the version.php should be found at: [moodle code directory]/report/customsql/version.php )

If you've tried to install it to [moodle code directory]/blocks/block_graph_stats_moodle23_2012062500 then that would explain why it is going wrong. That is a very strange directory name for a plugin that claims to be called 'report_customsql' - where did you download it from?

 

In reply to Davo Smith

Re: broken or outdated plugin

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

Does that look like a git repository/branch name so that the folder needs to be renamed?

In reply to Richard Oelmann

Re: broken or outdated plugin

by Chirag Patel -

sorry it was my mistake The error was for soem plugin installed in blocks and i thought that was fro customsql!!!By the way thanks...