mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #25443
[Bug 1443239] [NEW] Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
Public bug reported:
This is a bug in the Mahara PHP code which interfaces with the
MaharaDroid android app. See
https://github.com/MaharaProject/maharadroid/issues/6 for the
MaharaDroid side of this bug.
To replicate:
1. Create a new Mahara account
2. Connect it to MaharaDroid
3. Try to upload a file via MaharaDroid
Result: You see this warning in the Apache logs:
[Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] [WAR] 88 (api/mobile/sync.php:77) Invalid argument supplied for foreach()
[Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] Call stack (most recent first):
[Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] * log_message("Invalid argument supplied for foreach()", 8, true, true, "/home/demo/code/mahara/htdocs/api/mobile/sync.php", 77) at /home/demo/code/mahara/htdocs/lib/errors.php:430
[Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] * error(2, "Invalid argument supplied for foreach()", "/home/demo/code/mahara/htdocs/api/mobile/sync.php", 77, array(size 59)) at /home/demo/code/mahara/htdocs/api/mobile/sync.php:77
[Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88]
** Affects: mahara
Importance: Low
Status: Confirmed
** Affects: mahara/1.10
Importance: Low
Status: Confirmed
** Affects: mahara/1.8
Importance: Low
Status: Confirmed
** Affects: mahara/1.9
Importance: Low
Status: Confirmed
** Affects: mahara/15.04
Importance: Low
Status: Confirmed
** Affects: mahara/15.10
Importance: Low
Status: Confirmed
** Tags: maharadroid
** Also affects: mahara/15.10
Importance: Undecided
Status: New
** Also affects: mahara/1.10
Importance: Undecided
Status: New
** Also affects: mahara/15.04
Importance: Low
Status: Confirmed
** Also affects: mahara/1.9
Importance: Undecided
Status: New
** Also affects: mahara/1.8
Importance: Undecided
Status: New
** Changed in: mahara/1.10
Status: New => Confirmed
** Changed in: mahara/1.8
Status: New => Confirmed
** Changed in: mahara/1.9
Status: New => Confirmed
** Changed in: mahara/15.10
Status: New => Confirmed
** Changed in: mahara/1.10
Importance: Undecided => Low
** Changed in: mahara/1.8
Importance: Undecided => Low
** Changed in: mahara/1.9
Importance: Undecided => Low
** Changed in: mahara/15.10
Importance: Undecided => Low
** Changed in: mahara/1.10
Milestone: None => 1.10.3
** Changed in: mahara/1.8
Milestone: None => 1.8.7
** Changed in: mahara/1.9
Milestone: None => 1.9.5
** Changed in: mahara/15.10
Milestone: None => 15.10.0
--
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/1443239
Title:
Warning in Mahara logs when a MaharaDroid user has no tags in their
Mahara account
Status in Mahara ePortfolio:
Confirmed
Status in Mahara 1.10 series:
Confirmed
Status in Mahara 1.8 series:
Confirmed
Status in Mahara 1.9 series:
Confirmed
Status in Mahara 15.04 series:
Confirmed
Status in Mahara 15.10 series:
Confirmed
Bug description:
This is a bug in the Mahara PHP code which interfaces with the
MaharaDroid android app. See
https://github.com/MaharaProject/maharadroid/issues/6 for the
MaharaDroid side of this bug.
To replicate:
1. Create a new Mahara account
2. Connect it to MaharaDroid
3. Try to upload a file via MaharaDroid
Result: You see this warning in the Apache logs:
[Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] [WAR] 88 (api/mobile/sync.php:77) Invalid argument supplied for foreach()
[Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] Call stack (most recent first):
[Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] * log_message("Invalid argument supplied for foreach()", 8, true, true, "/home/demo/code/mahara/htdocs/api/mobile/sync.php", 77) at /home/demo/code/mahara/htdocs/lib/errors.php:430
[Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] * error(2, "Invalid argument supplied for foreach()", "/home/demo/code/mahara/htdocs/api/mobile/sync.php", 77, array(size 59)) at /home/demo/code/mahara/htdocs/api/mobile/sync.php:77
[Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88]
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1443239/+subscriptions
Follow ups
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Robert Lyon, 2016-12-12
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Robert Lyon, 2016-12-11
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Robert Lyon, 2016-10-24
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Robert Lyon, 2016-10-21
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Robert Lyon, 2016-10-20
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Robert Lyon, 2016-08-08
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Robert Lyon, 2016-07-11
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Robert Lyon, 2016-06-09
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Aaron Wells, 2016-04-28
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Robert Lyon, 2016-03-21
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Kristina Hoeppner, 2016-03-12
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Aaron Wells, 2015-11-26
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Aaron Wells, 2015-10-27
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Robert Lyon, 2015-10-26
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Aaron Wells, 2015-10-23
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Robert Lyon, 2015-08-17
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Robert Lyon, 2015-08-17
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Aaron Wells, 2015-07-10
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Aaron Wells, 2015-05-26
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Aaron Wells, 2015-05-19
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Jinelle Foley-Barnes, 2015-04-20
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Aaron Wells, 2015-04-20
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Robert Lyon, 2015-04-20
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Son Nguyen, 2015-04-19
-
[Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Robert Lyon, 2015-04-17
-
[Bug 1443239] [NEW] Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account
From: Aaron Wells, 2015-04-13
References