Thread ""Modules, Services and Plugins" administration"

Tabs

  • Deleted
    Deleted | 27. Nov 2015, 16:26
    "Modules, Services and Plugins" administration

    Hello,

    I've just started with plugin development for ILIAS and I'm using 5.0.8.

    The documentation for "Repository Object Plugins" (http://www.ilias.de/docu/ilias.php?ref_id=42&from_page=29964&obj_id=29962&cmd=layout&cmdClass=illmpresentationgui&cmdNode=qe&baseClass=ilLMPresentationGUI) refers to the
    ILIAS "Modules, Services and Plugins" administration.

    I can't find that administration though. Was this renamed to "Plugins"? If so, I can't see the Example plugin within the list. Do I have to trigger some kind of installation first?

    greetings

  • evan.jackson
    Evan Jackson | evan.jackson | 27. Nov 2015, 16:45
    "Modules, Services and Plugins" administration

    Hello Wipster,

    You're correct that it is under Administration->Plugins.

    If you don't see Example listed under there ensure that you have it uploaded the unzipped folder to the correct directory,

    That directory is Customizing/global/plugins/Services/Repository/RepositoryObject/

    Regards,

    Evan

  • Deleted
    Deleted | 28. Nov 2015, 12:41
    "Modules, Services and Plugins" administration

    Thanks!

    It's at least good to know that you check the correct menu.

    The path to the directory is right. Still not seeing the Example plugin. It's under a local xampp setup with PHP 5.4.31 and I have not set a path to java (if this is of any interest).

    Could it be caching related? Didn't see any cache settings yet (except for some PHP extensions which I'm not using).

    greetings

  • Deleted
    Deleted | 30. Nov 2015, 13:30
    Edited on: 30. Nov 2015, 13:34 - by Deleted
    "Modules, Services and Plugins" administration

    I now tried it on a system with PHP 5.5.9 and I'm still not seeing any plugin under "Administration -> Plugins". I just unzipped the Example plugin into myPathToIlias/Customizing/global/plugins/Services/Repository/RepositoryObject.

    Tried it on a Unix and a Windows system. What else could I try?

  • Deleted
    Deleted | 30. Nov 2015, 13:47
    Edited on: 30. Nov 2015, 13:48 - by Deleted
    "Modules, Services and Plugins" administration

    Hi  Wipster,

    When you extract the folder, it creates a folder Example\Example . The plugin.xml file needs to be in the base plugin directory, so it should look like this:

    /myPathToIlias/Customizing/global/plugins/Services/Repository/RepositoryObject/Example/plugin.php

    Yours probably looks like this:

    /myPathToIlias/Customizing/global/plugins/Services/Repository/RepositoryObject/Example/Example/plugin.php

    (notice the two Example folders)

    When uploading the Example directory, first click into the first example and upload the nested example folder

    Regards,

    Adam

  • Deleted
    Deleted | 30. Nov 2015, 15:14
    "Modules, Services and Plugins" administration

    Unfortunatly that's not the problem :/ but thanks for your efforts!

    Maybe I'm able to debug the part of Ilias which is looking for new plugins. Can someone lead me the way to the correct class to start debugging?

  • Deleted
    Deleted | 30. Nov 2015, 15:42
    "Modules, Services and Plugins" administration

    Hi Wipster,

    You have a couple options here:

    Ilias Log File (specified in ilias.ini.php), check what is in there, this is log output from Ilias

    Apache Log File (specified in your virtial host, possibly /var/log/apache2/error.log), stuff related to how apache handles requests

    Turn debug/devmode on for the client you are working on:

    in /path/to/ilias/data/<CLIENTID>/client.ini.php .. add in the following under [system]:

    DEBUG = "1"
    DEVMODE = "1"

    Hope this helps, I tried the example plugin on Ilias 5.0.6 and it appeared in the list of plugins right away.

    Regards,

    Adam

  • Deleted
    Deleted | 30. Nov 2015, 15:44
    "Modules, Services and Plugins" administration

    Hi Wipster,

    One more thing to check, there may be a couple example plugins, just in case we are looking at the same one, in your plugin directory, open plugin.php .. and look for the ilias max version .. it should read something like this:

    $ilias_max_version = "5.2.999";

    Regards,

    Adam

  • Deleted
    Deleted | 30. Nov 2015, 17:56
    Edited on: 30. Nov 2015, 18:34 - by Deleted
    "Modules, Services and Plugins" administration

    That's the version of Example I'm using. From the "Developer Guide".

    Apaches error and access log are not showing anything interesting. Same for the ilias log. By the way, I have a couple of other software, I'm developing for, which work flawlessly, like TYPO3 and Moodle, on this xampp setup.

    The DEBUG option was a really good point! When I activate it, I get the following warning when on the Aministration -> Plugins page:

    type(usr) id(0) referenced()

    Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\ILIAS-5.0.8\Services\Object\classes\class.ilObject.php:107) in C:\Program Files\xampp\htdocs\ILIAS-5.0.8\Services\UICore\classes\class.ilTemplate.php on line 462

    When I have the DEBUG option enabled and want to log in I get a simliar warning:

    type(usr) id(0) referenced()

    Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\ILIAS-5.0.8\Services\Object\classes\class.ilObject.php:107) in C:\Program Files\xampp\htdocs\ILIAS-5.0.8\Services\Utilities\classes\class.ilUtil.php on line 3602

    I think something might be misconfigured here in my installation. Not sure what though.


  • Deleted
    Deleted | 1. Dec 2015, 15:25
    "Modules, Services and Plugins" administration

    I tried it with 4.4.12 and now it is working. I just start developing for this version.

    greetings

  • Deleted
    Deleted | 5. Feb 2016, 15:26
    "Modules, Services and Plugins" administration

    Good day.

    I have the same issue.

    I try to install BigBlueButton. I unziped BigBlueButton.zip to /var/www/html/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject

    And now i have this:

    test@openvpn:/var/www/html/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject$ ls -al
    drwxr-xr-x 5 www-data www-data 4096 февр. 5 20:11 .
    drwxr-xr-x 3 www-data www-data 4096 февр. 5 19:02 ..
    drwxr-xr-x 3 www-data www-data 4096 февр. 5 20:11 bigbluebutton-default

    test@openvpn:/var/www/html/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject$ ls -al bigbluebutton-default/
    итого 788
    drwxr-xr-x 5 www-data www-data 4096 февр. 5 20:11 .
    drwxr-xr-x 5 www-data www-data 4096 февр. 5 20:11 ..
    drwxr-xr-x 2 www-data www-data 4096 февр. 5 20:11 css
    -rwxr-xr-x 1 www-data www-data 191509 февр. 5 20:11 default.pdf
    -rwxr-xr-x 1 www-data www-data 565248 февр. 5 20:11 default.ppt
    -rw-r--r-- 1 www-data www-data 1150 февр. 5 20:11 favicon.ico
    drwxr-xr-x 2 www-data www-data 4096 февр. 5 20:11 fonts
    -rw-r--r-- 1 www-data www-data 244 февр. 5 20:11 help.html
    drwxr-xr-x 2 www-data www-data 4096 февр. 5 20:11 images
    -rw-r--r-- 1 www-data www-data 8813 февр. 5 20:11 index.html
    -rw-r--r-- 1 www-data www-data 24 февр. 5 20:11 robots.txt
    -rw-r--r-- 1 www-data www-data 230 февр. 5 20:11 testjava.html

    But i can't see bigbluebutton plugin in ilias.

    42.PNG

    Maybe i did something wrong?

  • evan.jackson
    Evan Jackson | evan.jackson | 9. Feb 2016, 19:37
    Edited on: 9. Feb 2016, 19:59 - by Evan Jackson | evan.jackson
    "Modules, Services and Plugins" administration

    Hi Susnake,

    I don't believe you have the correct folder for the BBB plugin, (reason I say this is because there's no plugin.php and the file structure seems off).

    Make sure you downloaded the BBB ilias plugin from the correct place (http://sourceforge.net/projects/bigbluebuttonil/) and put it in a folder called BigBlueButton in /var/www/html/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject

    (here is the server install for BigBlueButton as well http://docs.bigbluebutton.org/install/install.html)

    Any questions feel free to ask!

    Regards,

    Evan Jackson