Hallo Frank,

ich schicke hier jetzt mal die Daten, die nach dem Anmelden als Lehrer mit Schulaccount beim Belwue-Moodle ausgegeben werden, wenn ich beim Logging Developer angegeben habe. Die von mir anonymisierten Daten sind fett gedruckt. Vielleicht hilft das ja schon weiter (va. die letzten Zeilen)

Viele Grüße

Bernd

ENROL OPENLML] ldap_get_grouplist... started 11:11:17

 * line 476 of /enrol/openlml/lib.php: call to debugging()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

[ENROL OPENLML] ldap_get_grouplist... ldap_connect 11:11:17

 * line 481 of /enrol/openlml/lib.php: call to debugging()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

[ENROL OPENLML] ldap_get_grouplist... ldap_connected 11:11:17

 * line 484 of /enrol/openlml/lib.php: call to debugging()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

[ENROL OPENLML] ldap_get_grouplist... ldap_close 11:11:17

 * line 522 of /enrol/openlml/lib.php: call to debugging()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

[ENROL OPENLML] ldap_get_grouplist... ldap_closed 11:11:17

 * line 525 of /enrol/openlml/lib.php: call to debugging()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

[ENROL OPENLML] is_teacher(kai)... started 11:11:17

 * line 812 of /enrol/openlml/lib.php: call to debugging()
 * line 527 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->is_teacher()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

[ENROL OPENLML] init_teacher_array... started 11:11:17

 * line 827 of /enrol/openlml/lib.php: call to debugging()
 * line 814 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->init_teacher_array()
 * line 527 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->is_teacher()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

[ENROL OPENLML] ldap_get_group_members(teachers)... started 11:11:17

 * line 545 of /enrol/openlml/lib.php: call to debugging()
 * line 828 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_group_members()
 * line 814 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->init_teacher_array()
 * line 527 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->is_teacher()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

[ENROL OPENLML] ldap_get_groupmembers... ldap_connect 11:11:17

 * line 552 of /enrol/openlml/lib.php: call to debugging()
 * line 828 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_group_members()
 * line 814 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->init_teacher_array()
 * line 527 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->is_teacher()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

[ENROL OPENLML] ldap_get_grouplist... ldap_connected 11:11:17

 * line 555 of /enrol/openlml/lib.php: call to debugging()
 * line 828 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_group_members()
 * line 814 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->init_teacher_array()
 * line 527 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->is_teacher()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

[ENROL OPENLML] ldap_get_group_members... connected to ldap 11:11:17

 * line 563 of /enrol/openlml/lib.php: call to debugging()
 * line 828 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_group_members()
 * line 814 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->init_teacher_array()
 * line 527 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->is_teacher()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

[ENROL OPENLML] ldap_get_group_members... ldap_search(ou=groups,dc=linuxmuster-net,dc=lokal|(&(cn=teachers)(objectClass=posixGroup)))11:11:17

 * line 574 of /enrol/openlml/lib.php: call to debugging()
 * line 828 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_group_members()
 * line 814 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->init_teacher_array()
 * line 527 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->is_teacher()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

[ENROL OPENLML] ldap_get_group_members... ldap_get_entries()11:11:17

 * line 579 of /enrol/openlml/lib.php: call to debugging()
 * line 828 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_group_members()
 * line 814 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->init_teacher_array()
 * line 527 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->is_teacher()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

Notice: Array to string conversion in *<moodleadresse>*/vhostdata/htdoc/moodle/enrol/openlml/lib.php on line 584 [ENROL OPENLML] ldap_get_group_members... entries(memberuid|Array)(170)11:11:17

 * line 586 of /enrol/openlml/lib.php: call to debugging()
 * line 828 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_group_members()
 * line 814 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->init_teacher_array()
 * line 527 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->is_teacher()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

[ENROL OPENLML] ldap_get_group_members... ldap_close 11:11:17

 * line 597 of /enrol/openlml/lib.php: call to debugging()
 * line 828 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_group_members()
 * line 814 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->init_teacher_array()
 * line 527 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->is_teacher()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

[ENROL OPENLML] ldap_get_groupmembers... ldap_closed 11:11:17

 * line 600 of /enrol/openlml/lib.php: call to debugging()
 * line 828 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_group_members()
 * line 814 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->init_teacher_array()
 * line 527 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->is_teacher()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

[ENROL OPENLML] ldap_get_group_members... *('liste','aller','lehrer',....*) 11:11:17

 * line 609 of /enrol/openlml/lib.php: call to debugging()
 * line 828 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_group_members()
 * line 814 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->init_teacher_array()
 * line 527 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->is_teacher()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

[ENROL OPENLML] init_teacher_array... ended 11:11:17

 * line 830 of /enrol/openlml/lib.php: call to debugging()
 * line 814 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->init_teacher_array()
 * line 527 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->is_teacher()
 * line 111 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->ldap_get_grouplist()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

[ENROL OPENLML] is_teacher(kai)... started 11:11:17

 * line 812 of /enrol/openlml/lib.php: call to debugging()
 * line 162 of /enrol/openlml/lib.php: call to
   enrol_openlml_plugin->is_teacher()
 * line 217 of /lib/enrollib.php: call to
   enrol_openlml_plugin->sync_user_enrolments()
 * line 468 of /lib/classes/session/manager.php: call to
   enrol_check_plugins()
 * line 4296 of /lib/moodlelib.php: call to
   core\session\manager::login_user()
 * line 185 of /login/index.php: call to complete_user_login()

Warning: Cannot modify header information - headers already sent by (output started at *<moodleadresse>*/vhostdata/htdoc/moodle/lib/weblib.php:2945) in *<moodleadresse>*/vhostdata/htdoc/moodle/lib/sessionlib.php on line 115 Zum Hauptinhalt <https://moodle.ohg-nagold.de/moodle/login/index.php#maincontent>


Am 05.03.2016 um 07:49 schrieb Frank Schütte:
habe vergessen zu erwähnen:
linuxmuster.net 6.0 ist unser Server, falls es wichtig ist.

habe heute versucht nach der Anleitung von linuxmuster.net
(https://www.linuxmuster.net/wiki/anwenderwiki:moodle:moodle2_automatische
_einschreibung)>
  das linuxmuster.net_enrolment in unserem Moodle-Auftritt bei BelWue

Allerdings funktioniert das Einschreiben der Nutzer in eine bestimmte
Klasse nicht. Wenn ich als Moodleadmin angemeldet bin und den Cronjob
via Website aufrufe kommen viele Meldungen, von denen folgende
interessant aussieht:

Running cron for enrol_openlml...
Starting enrolments for openlml enrolments plugin...
... used 13699 dbqueries
... used 178.14266085625 seconds
Scheduled task failed: Cron-Verarbeitung für Plugins,Fehler in der
Kodierung gefunden, den nur ein Programmierer korrigieren kann: PHP
catchable fatal error

Hallo Bernd,
kannst Du mal bei Moodle Debugging einschalten (Anleitung auf der Moodle-Seite
www.moodle.org) und dann den openlml enrol Job noch einmal durchlaufen lassen?

Gruß,
Frank Schütte

Viele Grüße

Bernd Kaiser
OHG Nagold
_______________________________________________
linuxmuster-user mailing list
[email protected]
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
_______________________________________________
linuxmuster-user mailing list
[email protected]
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user
_______________________________________________
linuxmuster-user mailing list
[email protected]
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user

_______________________________________________
linuxmuster-user mailing list
[email protected]
https://mail.lehrerpost.de/mailman/listinfo/linuxmuster-user

Antwort per Email an