mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #38238
[Bug 1632717] [NEW] Bugs after updating Mahara
Public bug reported:
Hello,
After the update to the latest version of Mahara (16.04) I have problems
with the display pages of the groups.
Here is an example :
[WAR] 1b (lib/group.php:2338) Trying to get property of non-object
Call stack (most recent first):
log_message(string(size 36), integer, true, true, string(size 53), integer) at /mypath/maha/lib/errors.php:513
error(integer, string(size 36), string(size 53), integer, array(size 2)) at /mypath/maha/lib/group.php:2338
group_get_homepage_view(string(size 2)) at /mypath/maha/lib/view.php:5734
View->display_author() at /mypath/maha/view/view.php:362
[WAR] 1b (lib/errors.php:820) Failed to get a recordset: mysqli error: [1452: Cannot add or update a child row: a foreign key constraint fails ("mybdd"."view", CONSTRAINT "view_ibfk_7" FOREIGN KEY ("type") REFERENCES "view_type" ("type"))] in EXECUTE("INSERT INTO "view" ("ctime", "mtime", "atime", "copynewuser", "anonymise") VALUES ('2016-10-12 15:32:22', '2016-10-12 15:32:22', '2016-10-12 15:32:22', 0, 0)")
Command was: INSERT INTO "view" ("ctime", "mtime", "atime", "copynewuser", "anonymise") VALUES (?, ?, ?, ?, ?) and values was (ctime:2016-10-1215:32:22,mtime:2016-10-1215:32:22,atime:2016-10-1215:32:22,copynewuser:0,anonymise:0)
Call stack (most recent first):
log_message(string(size 618), integer, true, true) at /mypath/maha/lib/errors.php:95
log_warn(string(size 618)) at /mypath/maha/lib/errors.php:820
SQLException->__construct(string(size 618)) at /mypath/maha/lib/dml.php:1088
insert_record(string(size 4), object(stdClass), string(size 2), true) at /mypath/maha/lib/view.php:728
View->commit() at /mypath/maha/lib/view.php:702
View->__destruct() at /mypath/maha/view/view.php:362
View->display_author() at /mypath/maha/view/view.php:362
[WAR] 1b (lib/dml.php:1088) Failed to get a recordset: mysqli error: [1452: Cannot add or update a child row: a foreign key constraint fails ("mybdd"."view", CONSTRAINT "view_ibfk_7" FOREIGN KEY ("type") REFERENCES "view_type" ("type"))] in EXECUTE("INSERT INTO "view" ("ctime", "mtime", "atime", "copynewuser", "anonymise") VALUES ('2016-10-12 15:32:22', '2016-10-12 15:32:22', '2016-10-12 15:32:22', 0, 0)")
Command was: INSERT INTO "view" ("ctime", "mtime", "atime", "copynewuser", "anonymise") VALUES (?, ?, ?, ?, ?) and values was (ctime:2016-10-1215:32:22,mtime:2016-10-1215:32:22,atime:2016-10-1215:32:22,copynewuser:0,anonymise:0)
Call stack (most recent first):
insert_record(string(size 4), object(stdClass), string(size 2), true) at /mypath/maha/lib/view.php:728
View->commit() at /mypath/maha/lib/view.php:702
View->__destruct() at /mypath/maha/view/view.php:362
View->display_author() at /mypath/maha/view/view.php:362
Untitled
Mywebsite Mahara : Site unavailable
A nonrecoverable error occurred. This probably means you have encountered a bug in the system
Thank you for your help.
** Affects: mahara
Importance: Undecided
Status: New
** Tags: bug mysql update
** Attachment added: "bug.png"
https://bugs.launchpad.net/bugs/1632717/+attachment/4759914/+files/bug.png
** Description changed:
Hello,
After the update to the latest version of Mahara (16.04) I have problems
with the display pages of the groups.
Here is an example :
-
[WAR] 1b (lib/group.php:2338) Trying to get property of non-object
Call stack (most recent first):
- log_message(string(size 36), integer, true, true, string(size 53), integer) at /var/www/clients/client1/web32/web/maha/lib/errors.php:513
- error(integer, string(size 36), string(size 53), integer, array(size 2)) at /var/www/clients/client1/web32/web/maha/lib/group.php:2338
- group_get_homepage_view(string(size 2)) at /var/www/clients/client1/web32/web/maha/lib/view.php:5734
- View->display_author() at /var/www/clients/client1/web32/web/maha/view/view.php:362
+ log_message(string(size 36), integer, true, true, string(size 53), integer) at /mypath/maha/lib/errors.php:513
+ error(integer, string(size 36), string(size 53), integer, array(size 2)) at /mypath/maha/lib/group.php:2338
+ group_get_homepage_view(string(size 2)) at /mypath/maha/lib/view.php:5734
+ View->display_author() at /mypath/maha/view/view.php:362
[WAR] 1b (lib/errors.php:820) Failed to get a recordset: mysqli error: [1452: Cannot add or update a child row: a foreign key constraint fails ("mybdd"."view", CONSTRAINT "view_ibfk_7" FOREIGN KEY ("type") REFERENCES "view_type" ("type"))] in EXECUTE("INSERT INTO "view" ("ctime", "mtime", "atime", "copynewuser", "anonymise") VALUES ('2016-10-12 15:32:22', '2016-10-12 15:32:22', '2016-10-12 15:32:22', 0, 0)")
Command was: INSERT INTO "view" ("ctime", "mtime", "atime", "copynewuser", "anonymise") VALUES (?, ?, ?, ?, ?) and values was (ctime:2016-10-1215:32:22,mtime:2016-10-1215:32:22,atime:2016-10-1215:32:22,copynewuser:0,anonymise:0)
Call stack (most recent first):
- log_message(string(size 618), integer, true, true) at /var/www/clients/client1/web32/web/maha/lib/errors.php:95
- log_warn(string(size 618)) at /var/www/clients/client1/web32/web/maha/lib/errors.php:820
- SQLException->__construct(string(size 618)) at /var/www/clients/client1/web32/web/maha/lib/dml.php:1088
- insert_record(string(size 4), object(stdClass), string(size 2), true) at /var/www/clients/client1/web32/web/maha/lib/view.php:728
- View->commit() at /var/www/clients/client1/web32/web/maha/lib/view.php:702
- View->__destruct() at /var/www/clients/client1/web32/web/maha/view/view.php:362
- View->display_author() at /var/www/clients/client1/web32/web/maha/view/view.php:362
+ log_message(string(size 618), integer, true, true) at /mypath/maha/lib/errors.php:95
+ log_warn(string(size 618)) at /mypath/maha/lib/errors.php:820
+ SQLException->__construct(string(size 618)) at /mypath/maha/lib/dml.php:1088
+ insert_record(string(size 4), object(stdClass), string(size 2), true) at /mypath/maha/lib/view.php:728
+ View->commit() at /mypath/maha/lib/view.php:702
+ View->__destruct() at /mypath/maha/view/view.php:362
+ View->display_author() at /mypath/maha/view/view.php:362
[WAR] 1b (lib/dml.php:1088) Failed to get a recordset: mysqli error: [1452: Cannot add or update a child row: a foreign key constraint fails ("mybdd"."view", CONSTRAINT "view_ibfk_7" FOREIGN KEY ("type") REFERENCES "view_type" ("type"))] in EXECUTE("INSERT INTO "view" ("ctime", "mtime", "atime", "copynewuser", "anonymise") VALUES ('2016-10-12 15:32:22', '2016-10-12 15:32:22', '2016-10-12 15:32:22', 0, 0)")
Command was: INSERT INTO "view" ("ctime", "mtime", "atime", "copynewuser", "anonymise") VALUES (?, ?, ?, ?, ?) and values was (ctime:2016-10-1215:32:22,mtime:2016-10-1215:32:22,atime:2016-10-1215:32:22,copynewuser:0,anonymise:0)
Call stack (most recent first):
- insert_record(string(size 4), object(stdClass), string(size 2), true) at /var/www/clients/client1/web32/web/maha/lib/view.php:728
- View->commit() at /var/www/clients/client1/web32/web/maha/lib/view.php:702
- View->__destruct() at /var/www/clients/client1/web32/web/maha/view/view.php:362
- View->display_author() at /var/www/clients/client1/web32/web/maha/view/view.php:362
+ insert_record(string(size 4), object(stdClass), string(size 2), true) at /mypath/maha/lib/view.php:728
+ View->commit() at /mypath/maha/lib/view.php:702
+ View->__destruct() at /mypath/maha/view/view.php:362
+ View->display_author() at /mypath/maha/view/view.php:362
Untitled
Mywebsite Mahara : Site unavailable
- A nonrecoverable error occurred. This probably means you have encountered a bug in the system
-
+ A nonrecoverable error occurred. This probably means you have encountered a bug in the system
Thank you for your help.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1632717
Title:
Bugs after updating Mahara
Status in Mahara:
New
Bug description:
Hello,
After the update to the latest version of Mahara (16.04) I have
problems with the display pages of the groups.
Here is an example :
[WAR] 1b (lib/group.php:2338) Trying to get property of non-object
Call stack (most recent first):
log_message(string(size 36), integer, true, true, string(size 53), integer) at /mypath/maha/lib/errors.php:513
error(integer, string(size 36), string(size 53), integer, array(size 2)) at /mypath/maha/lib/group.php:2338
group_get_homepage_view(string(size 2)) at /mypath/maha/lib/view.php:5734
View->display_author() at /mypath/maha/view/view.php:362
[WAR] 1b (lib/errors.php:820) Failed to get a recordset: mysqli error: [1452: Cannot add or update a child row: a foreign key constraint fails ("mybdd"."view", CONSTRAINT "view_ibfk_7" FOREIGN KEY ("type") REFERENCES "view_type" ("type"))] in EXECUTE("INSERT INTO "view" ("ctime", "mtime", "atime", "copynewuser", "anonymise") VALUES ('2016-10-12 15:32:22', '2016-10-12 15:32:22', '2016-10-12 15:32:22', 0, 0)")
Command was: INSERT INTO "view" ("ctime", "mtime", "atime", "copynewuser", "anonymise") VALUES (?, ?, ?, ?, ?) and values was (ctime:2016-10-1215:32:22,mtime:2016-10-1215:32:22,atime:2016-10-1215:32:22,copynewuser:0,anonymise:0)
Call stack (most recent first):
log_message(string(size 618), integer, true, true) at /mypath/maha/lib/errors.php:95
log_warn(string(size 618)) at /mypath/maha/lib/errors.php:820
SQLException->__construct(string(size 618)) at /mypath/maha/lib/dml.php:1088
insert_record(string(size 4), object(stdClass), string(size 2), true) at /mypath/maha/lib/view.php:728
View->commit() at /mypath/maha/lib/view.php:702
View->__destruct() at /mypath/maha/view/view.php:362
View->display_author() at /mypath/maha/view/view.php:362
[WAR] 1b (lib/dml.php:1088) Failed to get a recordset: mysqli error: [1452: Cannot add or update a child row: a foreign key constraint fails ("mybdd"."view", CONSTRAINT "view_ibfk_7" FOREIGN KEY ("type") REFERENCES "view_type" ("type"))] in EXECUTE("INSERT INTO "view" ("ctime", "mtime", "atime", "copynewuser", "anonymise") VALUES ('2016-10-12 15:32:22', '2016-10-12 15:32:22', '2016-10-12 15:32:22', 0, 0)")
Command was: INSERT INTO "view" ("ctime", "mtime", "atime", "copynewuser", "anonymise") VALUES (?, ?, ?, ?, ?) and values was (ctime:2016-10-1215:32:22,mtime:2016-10-1215:32:22,atime:2016-10-1215:32:22,copynewuser:0,anonymise:0)
Call stack (most recent first):
insert_record(string(size 4), object(stdClass), string(size 2), true) at /mypath/maha/lib/view.php:728
View->commit() at /mypath/maha/lib/view.php:702
View->__destruct() at /mypath/maha/view/view.php:362
View->display_author() at /mypath/maha/view/view.php:362
Untitled
Mywebsite Mahara : Site unavailable
A nonrecoverable error occurred. This probably means you have encountered a bug in the system
Thank you for your help.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1632717/+subscriptions
Follow ups
-
[Bug 1632717] Re: Bugs after updating Mahara
From: Kristina Hoeppner, 2016-10-24
-
[Bug 1632717] Re: Bugs after updating Mahara
From: Antonella DC, 2016-10-23
-
[Bug 1632717] Re: Bugs after updating Mahara
From: Kristina Hoeppner, 2016-10-23
-
[Bug 1632717] Re: Bugs after updating Mahara
From: Lilian HUGUES, 2016-10-21
-
[Bug 1632717] Re: Bugs after updating Mahara
From: Antonella DC, 2016-10-21
-
[Bug 1632717] Re: Bugs after updating Mahara
From: Antonella DC, 2016-10-19
-
[Bug 1632717] Re: Bugs after updating Mahara
From: Antonella DC, 2016-10-19
-
[Bug 1632717] Re: Bugs after updating Mahara
From: Antonella DC, 2016-10-19
-
[Bug 1632717] Re: Bugs after updating Mahara
From: Kristina Hoeppner, 2016-10-19
-
[Bug 1632717] Re: Bugs after updating Mahara
From: Antonella DC, 2016-10-19
-
[Bug 1632717] Re: Bugs after updating Mahara
From: Antonella DC, 2016-10-19
-
[Bug 1632717] Re: Bugs after updating Mahara
From: Kristina Hoeppner, 2016-10-18
-
[Bug 1632717] Re: Bugs after updating Mahara
From: Lilian HUGUES, 2016-10-18
-
[Bug 1632717] Re: Bugs after updating Mahara
From: Robert Lyon, 2016-10-18
-
[Bug 1632717] Re: Bugs after updating Mahara
From: Antonella DC, 2016-10-13
-
[Bug 1632717] Re: Bugs after updating Mahara
From: Robert Lyon, 2016-10-12
-
[Bug 1632717] Re: Bugs after updating Mahara
From: Robert Lyon, 2016-10-12