Error with LAMS 2.4(lamslesson.zip) y Moodle 3.0.3

Error with LAMS 2.4(lamslesson.zip) y Moodle 3.0.3

by Jose Godoy -
Number of replies: 4

Hi all.

i have installed:

  • Ubuntu 14.04LTS
  • Lams 2.4
  • Moodle 3.0.3

Mi server is running Moodle and Lams

The integration its something like this:

-Download, from LAMS, the integration pluggin "lamslesson.zip"

-Copy the file to moodle/mod

-Unzip the file

-After that you go to http.//miservidor/moodle/admin.

But when i go there i get:

"Sorry, the plugin "mod_lamslesson" its defective or not updated: Can't continue."


Debug info: Unsupported $module syntax detected in version.php
Error code: detectedbrokenplugin
Stack trace:
  • line 612 of /lib/upgradelib.php: plugin_defective_exception thrown
  • line 427 of /lib/upgradelib.php: call to upgrade_plugins_modules()
  • line 1647 of /lib/upgradelib.php: call to upgrade_plugins()
  • line 677 of /admin/index.php: call to upgrade_noncore()

Is this because i am working with moodle 3 instead of 2 and thats why the pluggin dont work?

Help please.

Bye.


Average of ratings: -
In reply to Jose Godoy

Re: Error with LAMS 2.4(lamslesson.zip) y Moodle 3.0.3

by Richard Oelmann -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

There shouldn't be many major changes between 2.9 and 3 that would affect many plugins.

However, given that LAMS2.4 was released in 2012 and the last post I can see on their forum about the Moodle integration refers to is 'maybe' working on Moodle2.5, and that no such plugin appears on the Moodle database, then I would suggest your best place to get the support for this plugin is through LAMS themselves.

In reply to Richard Oelmann

Re: Error with LAMS 2.4(lamslesson.zip) y Moodle 3.0.3

by Jose Godoy -

Thanks for the answer.

I solved by downgrade the version of moodle to moodle2.7

Thanks.

In reply to Jose Godoy

Re: Error with LAMS 2.4(lamslesson.zip) y Moodle 3.0.3

by Jose Godoy -

I answer myself.

I get the moodle version 2.7 instead of 3.0.3 and now its works.

So, the pluggin was not for that version of moodle.

Thanks anyways.

In reply to Jose Godoy

Re: Error with LAMS 2.4(lamslesson.zip) y Moodle 3.0.3

by Just H -

The error is basically telling you what is wrong. Open the version.php file and change $module to $plugin.

Given the details Richard posted chances are there will be some things missing in that file as well (see https://docs.moodle.org/dev/version.php for what should be in version.php nowadays). Also, no guarantee that even after making these changes the plugin will work but worth a shot.