issue with ejsApp

issue with ejsApp

by Eduardo Berrios -
Number of replies: 4

Hi Everyone


I´ve installed  the ejsapp plugin for making simulations in moodle but  I run them always  I got the messages :

 " Notice: Undefined offset: 1 in /home/cpa18424/public_html/moodle/mod/ejsapp/locallib.php on line 496" .

 I Tested the plugin in different version 2.8 and 2.9 and 2.9.1+, but It 's the same. Some suggetions?. I read the manual and I search the error in this site but I dont find any advice


Thanks in advance


Eduardo

Average of ratings: -
In reply to Eduardo Berrios

Re: issue with ejsApp

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Are you sure you have the latest/correct version? 

I'm not familiar with the plugin, but looking at line 496 in the latest version (https://github.com/UNEDLabs/moodle-mod_ejsapp/blob/master/locallib.php#L496) I can't see anything that would account for that message. 

In reply to Howard Miller

Re: issue with ejsApp

by Eduardo Berrios -

Hi


I've checked and installed the last version of ejsapp, but the error rase again. 


the error log showed the following:


28-Aug-2015 08:22:47 America/Santiago] Default exception handler: No se puede encontrar registro de datos en la base de datos. Debug: SELECT cm.*, m.name, md.name AS modname 
              FROM {course_modules} cm
                   JOIN {modules} md ON md.id = cm.module
                   JOIN {ejsapp} m ON m.id = cm.instance
                   
             WHERE cm.id = :cmid AND md.name = :modulename
                   
[array (
  'cmid' => 15,
  'modulename' => 'ejsapp',
)]
Error code: invalidrecordunknown
* line 1481 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
* line 1328 of /lib/datalib.php: call to moodle_database->get_record_sql()
* line 75 of /mod/ejsapp/view.php: call to get_coursemodule_from_id()

any ideas? Thanks in advanced


Regards


Eduardo

In reply to Eduardo Berrios

Re: issue with ejsApp

by Justin Hunt -
Picture of Particularly helpful Moodlers Picture of Plugin developers

There is a discussion thread for ejsApp here:

https://moodle.org/mod/forum/discuss.php?d=217163

Maybe you should post there, because the developer may not look here. If you don't get a response in a few days, you could try messaging him.

In reply to Justin Hunt

Re: issue with ejsApp

by Eduardo Berrios -

Hi

Thanks for your advice, I will put this issue in that discussion thread


Regards


Eduardo