Create Moodle for 2.0

Create Moodle for 2.0

by Manuel Moscoso -
Number of replies: 0

hi,
I'm developing a block for moodle 2.0.2.
and when want install my block the system shows

------------

Lo sentimos, el plugin "block/myblock" es defectuoso o no actualizado: no se puede continuar.

Más información sobre este error

Debug info: Missing main block class file.
Stack trace:
  • line 620 of /lib/upgradelib.php: plugin_defective_exception thrown
  • line 267 of /lib/upgradelib.php: call to upgrade_plugins_blocks()
  • line 1426 of /lib/upgradelib.php: call to upgrade_plugins()
  • line 290 of /admin/index.php: call to upgrade_noncore()

 

----------------

The files that i create are :

moodle/blocks/myblock# ls
block_myblock.php  index.php  lang  version.php

 

 

Thanks.

Average of ratings: -