Forums | Mahara Community
Support
/
Mahara 1.9 Nothing works
24 April 2014, 23:50
Hi,
today we planned to show the Mahara e-Portfolio to our students, but with registering them some cool errors occured.
1. Add users via CSV to an institution:
Mahara: Site unavailable- A nonrecoverable error occurred. This probably means you have encountered a bug in the system.
2. Add users by hand to an institution:
Mahara: Site unavailable- A nonrecoverable error occurred. This probably means you have encountered a bug in the system.
3. Add users with csv to non-institution: Works
4. Assign non institution user to institution by hand:
Mahara: Site unavailable- A nonrecoverable error occurred. This probably means you have encountered a bug in the system.
5. A new user registers to a institution an waits for confirmation, as admin I never get a message for a new registration, when I look for it, I can confirm the user and he gets a link. When he klicks on the link he sees:
Mahara: Site unavailable- A nonrecoverable error occurred. This probably means you have encountered a bug in the system.
Actually I am really pi*** off by this system. How can this be? Installation worked. No errors, CronJob running. How can this be? How many errors are in this 1.9.0?
Pretty desperate. Should go into use today...
25 April 2014, 0:58
Dear Bastian,
Following your message, i tested your procedures on my 1.8, 1.9 et 1.10dev versions. I was able to import 10 users without any problem
a/ manually
b/ by csv into instittuion A
c/ by csv into institution B
We have also installed a new Mahara for our next Moodlemoot Maharmoot FR in Paris and we are receiving users' demand to be registered into an institution, and the link works.
I would maybe say there is something on your side that is causing the trouble you are facing today.
Please go into the log files on your server to learn a bit more about what happens when Mahara reports the nonrecoverable error. You will find useful information in your PHP / Apache / MySQL logs.
Comme back on the forum with this information and someone will certainly be able to help you to understand what is going on.
By the way, after years of lecturing, I always say (but not always do) : test your app days before presentation.
Sorry about your problem, wish you, with the help of the readers of this forum, to find a solution.
Regards,
-dajan
25 April 2014, 1:16
Ok since Mahara isn't keen on showing what is wrong I modified the config.php to show me the errors on screen. These are the errors I get for deleting a institution, adding a user to an institution and upload via csv:
Fehler beim Löschen einer Institution in Mahara
[WAR] e3 (lib/errors.php:739) Failed to get a recordset: mysqli error: [1451: Cannot delete or update a parent row: a foreign key constraint fails ("enp504"."eport_usr_registration", CONSTRAINT "eport_usrregi_ins_fk" FOREIGN KEY ("institution") REFERENCES "eport_institution" ("name"))] in adodb_throw(DELETE FROM "eport_institution" WHERE "name" = 'vlzwei' , )
Command was: DELETE FROM "eport_institution" WHERE "name" = ? and values was (vlzwei)
Call stack (most recent first):
log_message("Failed to get a recordset: mysqli error: [1451: Ca...", 8, true, true) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/errors.php:95
log_warn("Failed to get a recordset: mysqli error: [1451: Ca...") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/errors.php:739
SQLException->__construct("Failed to get a recordset: mysqli error: [1451: Ca...") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/dml.php:925
delete_records("institution", "name", "vlzwei") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/institutions.php:162
delete_submit(object(Pieform), array(size 4)) at Unknown:0
call_user_func_array("delete_submit", array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:527
Pieform->__construct(array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:162
Pieform::process(array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:71
pieform(array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/institutions.php:185
[WAR] e3 (lib/dml.php:925) Failed to get a recordset: mysqli error: [1451: Cannot delete or update a parent row: a foreign key constraint fails ("enp504"."eport_usr_registration", CONSTRAINT "eport_usrregi_ins_fk" FOREIGN KEY ("institution") REFERENCES "eport_institution" ("name"))] in adodb_throw(DELETE FROM "eport_institution" WHERE "name" = 'vlzwei' , )
Command was: DELETE FROM "eport_institution" WHERE "name" = ? and values was (vlzwei)
Call stack (most recent first):
delete_records("institution", "name", "vlzwei") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/institutions.php:162
delete_submit(object(Pieform), array(size 4)) at Unknown:0
call_user_func_array("delete_submit", array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:527
Pieform->__construct(array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:162
Pieform::process(array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:71
pieform(array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/institutions.php:185
Fehlermeldungen beim Anlegen eines neuen Benutzers in einer Institution (ähnlich einer Gruppe) von Mahara
[WAR] 29 (lib/mahara.php:3587) Trying to get property of non-object
Call stack (most recent first):
log_message("Trying to get property of non-object", 8, true, true, "/proj/websource/docs/FAU/fakultaet/phil/www.pro-sr...", 3587) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/errors.php:433
error(8, "Trying to get property of non-object", "/proj/websource/docs/FAU/fakultaet/phil/www.pro-sr...", 3587, array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/mahara.php:3587
check_case_sensitive(array(size 0), "artefact_tag") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/artefact/lib.php:513
ArtefactType->commit() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/artefact/internal/lib.php:678
ArtefactTypeEmail->commit() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:434
set_profile_field(13, "email", "[email protected]") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:2172
create_user(object(stdClass), array(size 0), "vlzwei", false, null, array(size 23)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/add.php:302
adduser_submit(object(Pieform), array(size 22)) at Unknown:0
call_user_func_array("adduser_submit", array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:527
Pieform->__construct(array(size 7)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:162
Pieform::process(array(size 7)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:71
pieform(array(size 7)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/add.php:148
[WAR] 29 (lib/mahara.php:3587) Trying to get property of non-object
Call stack (most recent first):
log_message("Trying to get property of non-object", 8, true, true, "/proj/websource/docs/FAU/fakultaet/phil/www.pro-sr...", 3587) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/errors.php:433
error(8, "Trying to get property of non-object", "/proj/websource/docs/FAU/fakultaet/phil/www.pro-sr...", 3587, array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/mahara.php:3587
check_case_sensitive(array(size 0), "artefact_tag") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/artefact/lib.php:513
ArtefactType->commit() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/artefact/internal/lib.php:649
ArtefactTypeCachedProfileField->commit() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:440
set_profile_field(13, "firstname", "Bastian") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:2175
create_user(object(stdClass), array(size 0), "vlzwei", false, null, array(size 23)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/add.php:302
adduser_submit(object(Pieform), array(size 22)) at Unknown:0
call_user_func_array("adduser_submit", array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:527
Pieform->__construct(array(size 7)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:162
Pieform::process(array(size 7)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:71
pieform(array(size 7)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/add.php:148
[WAR] 29 (lib/mahara.php:3587) Trying to get property of non-object
Call stack (most recent first):
log_message("Trying to get property of non-object", 8, true, true, "/proj/websource/docs/FAU/fakultaet/phil/www.pro-sr...", 3587) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/errors.php:433
error(8, "Trying to get property of non-object", "/proj/websource/docs/FAU/fakultaet/phil/www.pro-sr...", 3587, array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/mahara.php:3587
check_case_sensitive(array(size 0), "artefact_tag") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/artefact/lib.php:513
ArtefactType->commit() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/artefact/internal/lib.php:649
ArtefactTypeCachedProfileField->commit() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:440
set_profile_field(13, "lastname", "Wimmer") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:2178
create_user(object(stdClass), array(size 0), "vlzwei", false, null, array(size 23)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/add.php:302
adduser_submit(object(Pieform), array(size 22)) at Unknown:0
call_user_func_array("adduser_submit", array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:527
Pieform->__construct(array(size 7)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:162
Pieform::process(array(size 7)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:71
pieform(array(size 7)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/add.php:148
[WAR] 29 (lib/errors.php:739) Failed to get a recordset: mysqli error: [1436: Thread stack overrun: 10640 bytes used of a 131072 byte stack, and 128000 bytes needed. Use 'mysqld --thread_stack=#' to specify a bigger stack.] in adodb_throw(INSERT INTO "eport_notification_internal_activity" ("type", "usr", "ctime", "subject", "message", "read") VALUES ('1', '13', '2014-04-24 14:58:14', 'Bestätigung der Mitgliedschaft in einer Institution', 'Sie wurden als Mitglied in der Einrichtung Vorlesung-Psychologie-II aufgenommen.', 0), )
Command was: INSERT INTO "eport_notification_internal_activity" ("type", "usr", "ctime", "subject", "message", "read") VALUES (?, ?, ?, ?, ?, ?) and values was (1,13,2014-04-24 14:58:14,Bestätigung der Mitgliedschaft in einer Institution,Sie wurden als Mitglied in der Einrichtung Vorlesung-Psychologie-II aufgenommen.,0)
Call stack (most recent first):
log_message("Failed to get a recordset: mysqli error: [1436: Th...", 8, true, true) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/errors.php:95
log_warn("Failed to get a recordset: mysqli error: [1436: Th...") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/errors.php:739
SQLException->__construct("Failed to get a recordset: mysqli error: [1436: Th...") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/dml.php:1053
insert_record("notification_internal_activity", object(stdClass), "id", true) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/notification/internal/lib.php:43
PluginNotificationInternal::notify_user(object(stdClass), object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/activity.php:697
ActivityType->notify_user(object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/activity.php:792
ActivityType->notify_users() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/activity.php:75
handle_activity(object(stdClass), object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/activity.php:34
activity_occurred("maharamessage", object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/institution.php:337
Institution->addUserAsMember(object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:2192
create_user(object(stdClass), array(size 0), "vlzwei", false, null, array(size 23)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/add.php:302
adduser_submit(object(Pieform), array(size 22)) at Unknown:0
call_user_func_array("adduser_submit", array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:527
Pieform->__construct(array(size 7)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:162
Pieform::process(array(size 7)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:71
pieform(array(size 7)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/add.php:148
[WAR] 29 (lib/dml.php:1053) Failed to get a recordset: mysqli error: [1436: Thread stack overrun: 10640 bytes used of a 131072 byte stack, and 128000 bytes needed. Use 'mysqld --thread_stack=#' to specify a bigger stack.] in adodb_throw(INSERT INTO "eport_notification_internal_activity" ("type", "usr", "ctime", "subject", "message", "read") VALUES ('1', '13', '2014-04-24 14:58:14', 'Bestätigung der Mitgliedschaft in einer Institution', 'Sie wurden als Mitglied in der Einrichtung Vorlesung-Psychologie-II aufgenommen.', 0), )
Command was: INSERT INTO "eport_notification_internal_activity" ("type", "usr", "ctime", "subject", "message", "read") VALUES (?, ?, ?, ?, ?, ?) and values was (1,13,2014-04-24 14:58:14,Bestätigung der Mitgliedschaft in einer Institution,Sie wurden als Mitglied in der Einrichtung Vorlesung-Psychologie-II aufgenommen.,0)
Call stack (most recent first):
insert_record("notification_internal_activity", object(stdClass), "id", true) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/notification/internal/lib.php:43
PluginNotificationInternal::notify_user(object(stdClass), object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/activity.php:697
ActivityType->notify_user(object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/activity.php:792
ActivityType->notify_users() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/activity.php:75
handle_activity(object(stdClass), object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/activity.php:34
activity_occurred("maharamessage", object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/institution.php:337
Institution->addUserAsMember(object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:2192
create_user(object(stdClass), array(size 0), "vlzwei", false, null, array(size 23)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/add.php:302
adduser_submit(object(Pieform), array(size 22)) at Unknown:0
call_user_func_array("adduser_submit", array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:527
Pieform->__construct(array(size 7)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:162
Pieform::process(array(size 7)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:71
pieform(array(size 7)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/add.php:148
Und hier die Meldungen die ich bekomme, wenn ich versuche Nutzer per CSV Datei zu importieren...
[INF] 29 (lib/csvfile.php:116) FORMAT:
[INF] 29 (lib/csvfile.php:117) Array
(
[0] => username
[1] => password
[2] => email
[3] => firstname
[4] => lastname
[5] => studentid
)
[INF] 29 (admin/users/uploadcsv.php:486) Inserting users from the CSV file
[WAR] 29 (lib/mahara.php:3587) Trying to get property of non-object
Call stack (most recent first):
log_message("Trying to get property of non-object", 8, true, true, "/proj/websource/docs/FAU/fakultaet/phil/www.pro-sr...", 3587) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/errors.php:433
error(8, "Trying to get property of non-object", "/proj/websource/docs/FAU/fakultaet/phil/www.pro-sr...", 3587, array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/mahara.php:3587
check_case_sensitive(array(size 0), "artefact_tag") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/artefact/lib.php:513
ArtefactType->commit() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/artefact/internal/lib.php:678
ArtefactTypeEmail->commit() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:434
set_profile_field(14, "email", "[email protected]") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:2172
create_user(object(stdClass), object(stdClass), object(Institution), object(stdClass), null, array(size 17), true) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/uploadcsv.php:534
uploadcsv_submit(object(Pieform), array(size 17)) at Unknown:0
call_user_func_array("uploadcsv_submit", array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:527
Pieform->__construct(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:162
Pieform::process(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:71
pieform(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/uploadcsv.php:629
[WAR] 29 (lib/mahara.php:3587) Trying to get property of non-object
Call stack (most recent first):
log_message("Trying to get property of non-object", 8, true, true, "/proj/websource/docs/FAU/fakultaet/phil/www.pro-sr...", 3587) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/errors.php:433
error(8, "Trying to get property of non-object", "/proj/websource/docs/FAU/fakultaet/phil/www.pro-sr...", 3587, array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/mahara.php:3587
check_case_sensitive(array(size 0), "artefact_tag") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/artefact/lib.php:513
ArtefactType->commit() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/artefact/internal/lib.php:649
ArtefactTypeCachedProfileField->commit() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:440
set_profile_field(14, "firstname", "Mattias") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:2175
create_user(object(stdClass), object(stdClass), object(Institution), object(stdClass), null, array(size 17), true) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/uploadcsv.php:534
uploadcsv_submit(object(Pieform), array(size 17)) at Unknown:0
call_user_func_array("uploadcsv_submit", array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:527
Pieform->__construct(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:162
Pieform::process(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:71
pieform(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/uploadcsv.php:629
[WAR] 29 (lib/mahara.php:3587) Trying to get property of non-object
Call stack (most recent first):
log_message("Trying to get property of non-object", 8, true, true, "/proj/websource/docs/FAU/fakultaet/phil/www.pro-sr...", 3587) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/errors.php:433
error(8, "Trying to get property of non-object", "/proj/websource/docs/FAU/fakultaet/phil/www.pro-sr...", 3587, array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/mahara.php:3587
check_case_sensitive(array(size 0), "artefact_tag") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/artefact/lib.php:513
ArtefactType->commit() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/artefact/internal/lib.php:649
ArtefactTypeCachedProfileField->commit() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:440
set_profile_field(14, "lastname", "Koch") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:2178
create_user(object(stdClass), object(stdClass), object(Institution), object(stdClass), null, array(size 17), true) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/uploadcsv.php:534
uploadcsv_submit(object(Pieform), array(size 17)) at Unknown:0
call_user_func_array("uploadcsv_submit", array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:527
Pieform->__construct(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:162
Pieform::process(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:71
pieform(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/uploadcsv.php:629
[WAR] 29 (lib/mahara.php:3587) Trying to get property of non-object
Call stack (most recent first):
log_message("Trying to get property of non-object", 8, true, true, "/proj/websource/docs/FAU/fakultaet/phil/www.pro-sr...", 3587) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/errors.php:433
error(8, "Trying to get property of non-object", "/proj/websource/docs/FAU/fakultaet/phil/www.pro-sr...", 3587, array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/mahara.php:3587
check_case_sensitive(array(size 0), "artefact_tag") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/artefact/lib.php:513
ArtefactType->commit() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/artefact/internal/lib.php:649
ArtefactTypeCachedProfileField->commit() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:440
set_profile_field(14, "studentid", "648821667") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:2184
create_user(object(stdClass), object(stdClass), object(Institution), object(stdClass), null, array(size 17), true) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/uploadcsv.php:534
uploadcsv_submit(object(Pieform), array(size 17)) at Unknown:0
call_user_func_array("uploadcsv_submit", array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:527
Pieform->__construct(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:162
Pieform::process(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:71
pieform(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/uploadcsv.php:629
[WAR] 29 (lib/errors.php:739) Failed to get a recordset: mysqli error: [1436: Thread stack overrun: 10640 bytes used of a 131072 byte stack, and 128000 bytes needed. Use 'mysqld --thread_stack=#' to specify a bigger stack.] in adodb_throw(INSERT INTO "eport_notification_internal_activity" ("type", "usr", "ctime", "subject", "message", "read") VALUES ('1', '14', '2014-04-24 15:03:24', 'Bestätigung der Mitgliedschaft in einer Institution', 'Sie wurden als Mitglied in der Einrichtung Vorlesung-Psychologie-II aufgenommen.', 0), )
Command was: INSERT INTO "eport_notification_internal_activity" ("type", "usr", "ctime", "subject", "message", "read") VALUES (?, ?, ?, ?, ?, ?) and values was (1,14,2014-04-24 15:03:24,Bestätigung der Mitgliedschaft in einer Institution,Sie wurden als Mitglied in der Einrichtung Vorlesung-Psychologie-II aufgenommen.,0)
Call stack (most recent first):
log_message("Failed to get a recordset: mysqli error: [1436: Th...", 8, true, true) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/errors.php:95
log_warn("Failed to get a recordset: mysqli error: [1436: Th...") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/errors.php:739
SQLException->__construct("Failed to get a recordset: mysqli error: [1436: Th...") at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/dml.php:1053
insert_record("notification_internal_activity", object(stdClass), "id", true) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/notification/internal/lib.php:43
PluginNotificationInternal::notify_user(object(stdClass), object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/activity.php:697
ActivityType->notify_user(object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/activity.php:792
ActivityType->notify_users() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/activity.php:75
handle_activity(object(stdClass), object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/activity.php:34
activity_occurred("maharamessage", object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/institution.php:337
Institution->addUserAsMember(object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:2192
create_user(object(stdClass), object(stdClass), object(Institution), object(stdClass), null, array(size 17), true) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/uploadcsv.php:534
uploadcsv_submit(object(Pieform), array(size 17)) at Unknown:0
call_user_func_array("uploadcsv_submit", array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:527
Pieform->__construct(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:162
Pieform::process(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:71
pieform(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/uploadcsv.php:629
[WAR] 29 (lib/dml.php:1053) Failed to get a recordset: mysqli error: [1436: Thread stack overrun: 10640 bytes used of a 131072 byte stack, and 128000 bytes needed. Use 'mysqld --thread_stack=#' to specify a bigger stack.] in adodb_throw(INSERT INTO "eport_notification_internal_activity" ("type", "usr", "ctime", "subject", "message", "read") VALUES ('1', '14', '2014-04-24 15:03:24', 'Bestätigung der Mitgliedschaft in einer Institution', 'Sie wurden als Mitglied in der Einrichtung Vorlesung-Psychologie-II aufgenommen.', 0), )
Command was: INSERT INTO "eport_notification_internal_activity" ("type", "usr", "ctime", "subject", "message", "read") VALUES (?, ?, ?, ?, ?, ?) and values was (1,14,2014-04-24 15:03:24,Bestätigung der Mitgliedschaft in einer Institution,Sie wurden als Mitglied in der Einrichtung Vorlesung-Psychologie-II aufgenommen.,0)
Call stack (most recent first):
insert_record("notification_internal_activity", object(stdClass), "id", true) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/notification/internal/lib.php:43
PluginNotificationInternal::notify_user(object(stdClass), object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/activity.php:697
ActivityType->notify_user(object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/activity.php:792
ActivityType->notify_users() at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/activity.php:75
handle_activity(object(stdClass), object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/activity.php:34
activity_occurred("maharamessage", object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/institution.php:337
Institution->addUserAsMember(object(stdClass)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/user.php:2192
create_user(object(stdClass), object(stdClass), object(Institution), object(stdClass), null, array(size 17), true) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/uploadcsv.php:534
uploadcsv_submit(object(Pieform), array(size 17)) at Unknown:0
call_user_func_array("uploadcsv_submit", array(size 2)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:527
Pieform->__construct(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:162
Pieform::process(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/lib/pieforms/pieform.php:71
pieform(array(size 4)) at /proj/websource/docs/FAU/fakultaet/phil/www.pro-srl.phil.uni-erlangen.de/websource/e-port/admin/users/uploadcsv.php:629
30 April 2014, 14:02
Hi Bastian;
Thank you for sharing.
I filed a bug relating to delete an institution which someone has registed at: https://bugs.launchpad.net/mahara/+bug/1314440.
Cheers,
Son Nguyen
25 April 2014, 1:18
Dear Bastian,
I read again your message and I would suggest you to check if the institutions you have created on your Mahara have all at least one authentication method set. The user manual (http://manual.mahara.org/en/1.9/) says about creating new institutions:
"[...] You will have to choose at least one authentication method for this institution so that user accounts can be created.[...]"
Source: http://manual.mahara.org/en/1.9/administration/institutions.html#edit-an-institution
Regards,
-dajan
25 April 2014, 1:57
Dear Bastian,
One last thought for your presentation...
Sometimes when I do a presentation or a training on Mahara, I set up an institution with the authentication method set to "None" (see point 9.5.3 of the admin manual) :
[...]Be careful when choosing the “None” authentication method. This allows anyone to log in. It should only be used for testing purposes.[...]
That way you let anyone to create an account which will be put into the institution directly. I then delete the institution and the members at the end of the presentation / training session.
HTH
Grûsse
-dajan
03 June 2014, 9:47
Thanks for all the ideas.
Small update: I posted the errors also to our university web-database-service-whatever team and they modified the database I am working in. After that the errors were solved.
Actually Mahara is running error free for 7 weeks with 360 Students working in it.
Seems good. For now. :-)
08 June 2014, 18:47
Hello Bastian,
Great to read that your errors were resolved!
If you want to connect with other Mahara users face-to-face soon, I suggest to book a flight to Brighton where the next Mahara UK conference is going to take place on 17 and 19 July 2014. More info at http://maharauk.org/
Cheers
Kristina