← Back to team overview

mahara-contributors team mailing list archive

[Bug 1045134] Re: error when attempting to add saml auth with 'create users' checked

 

https://reviews.mahara.org/1645


** Changed in: mahara
       Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1045134

Title:
  error when attempting to add saml auth with 'create users' checked

Status in Mahara ePortfolio:
  In Progress

Bug description:
  When trying to add a saml connection with the "we create users"
  checkbox checked, this is logged:

  [Mon Sep 03 12:17:53 2012] [error] [client 127.0.0.1] [WAR] 41 (auth/saml/lib.php:519) Invalid argument supplied for foreach(), referer: http://dev.mahara.schlumbumbel.wgtn.cat-it.co.nz/admin/users/addauthority.php?add=1&i=mahara&p=saml
  [Mon Sep 03 12:17:53 2012] [error] [client 127.0.0.1] Call stack (most recent first):, referer: http://dev.mahara.schlumbumbel.wgtn.cat-it.co.nz/admin/users/addauthority.php?add=1&i=mahara&p=saml
  [Mon Sep 03 12:17:53 2012] [error] [client 127.0.0.1]   * log_message("Invalid argument supplied for foreach()", 8, true, true, "/var/www/maharadev/code/htdocs/auth/saml/lib.php", 519) at /var/www/maharadev/code/htdocs/lib/errors.php:446, referer: http://dev.mahara.schlumbumbel.wgtn.cat-it.co.nz/admin/users/addauthority.php?add=1&i=mahara&p=saml
  [Mon Sep 03 12:17:53 2012] [error] [client 127.0.0.1]   * error(2, "Invalid argument supplied for foreach()", "/var/www/maharadev/code/htdocs/auth/saml/lib.php", 519, array(size 4)) at /var/www/maharadev/code/htdocs/auth/saml/lib.php:519, referer: http://dev.mahara.schlumbumbel.wgtn.cat-it.co.nz/admin/users/addauthority.php?add=1&i=mahara&p=saml
  [Mon Sep 03 12:17:53 2012] [error] [client 127.0.0.1]   * PluginAuthSaml::validate_instance_config_options(array(size 17), object(Pieform)) at Unknown:0, referer: http://dev.mahara.schlumbumbel.wgtn.cat-it.co.nz/admin/users/addauthority.php?add=1&i=mahara&p=saml
  [Mon Sep 03 12:17:53 2012] [error] [client 127.0.0.1]   * call_user_func_array(array(size 2), array(size 2)) at /var/www/maharadev/code/htdocs/lib/mahara.php:1359, referer: http://dev.mahara.schlumbumbel.wgtn.cat-it.co.nz/admin/users/addauthority.php?add=1&i=mahara&p=saml
  [Mon Sep 03 12:17:53 2012] [error] [client 127.0.0.1]   * call_static_method("PluginAuthSaml", "validate_instance_config_options", array(size 17), object(Pieform)) at /var/www/maharadev/code/htdocs/admin/users/addauthority.php:130, referer: http://dev.mahara.schlumbumbel.wgtn.cat-it.co.nz/admin/users/addauthority.php?add=1&i=mahara&p=saml
  [Mon Sep 03 12:17:53 2012] [error] [client 127.0.0.1]   * auth_config_validate(object(Pieform), array(size 17)) at Unknown:0, referer: http://dev.mahara.schlumbumbel.wgtn.cat-it.co.nz/admin/users/addauthority.php?add=1&i=mahara&p=saml
  [Mon Sep 03 12:17:53 2012] [error] [client 127.0.0.1]   * call_user_func_array("auth_config_validate", array(size 2)) at /var/www/maharadev/code/htdocs/lib/pieforms/pieform.php:1324, referer: http://dev.mahara.schlumbumbel.wgtn.cat-it.co.nz/admin/users/addauthority.php?add=1&i=mahara&p=saml
  [Mon Sep 03 12:17:53 2012] [error] [client 127.0.0.1]   * Pieform->validate(array(size 17)) at /var/www/maharadev/code/htdocs/lib/pieforms/pieform.php:492, referer: http://dev.mahara.schlumbumbel.wgtn.cat-it.co.nz/admin/users/addauthority.php?add=1&i=mahara&p=saml
  [Mon Sep 03 12:17:53 2012] [error] [client 127.0.0.1]   * Pieform->__construct(array(size 5)) at /var/www/maharadev/code/htdocs/lib/pieforms/pieform.php:161, referer: http://dev.mahara.schlumbumbel.wgtn.cat-it.co.nz/admin/users/addauthority.php?add=1&i=mahara&p=saml
  [Mon Sep 03 12:17:53 2012] [error] [client 127.0.0.1]   * Pieform::process(array(size 5)) at /var/www/maharadev/code/htdocs/lib/pieforms/pieform.php:71, referer: http://dev.mahara.schlumbumbel.wgtn.cat-it.co.nz/admin/users/addauthority.php?add=1&i=mahara&p=saml
  [Mon Sep 03 12:17:53 2012] [error] [client 127.0.0.1]   * pieform(array(size 5)) at /var/www/maharadev/code/htdocs/admin/users/addauthority.php:103, referer: http://dev.mahara.schlumbumbel.wgtn.cat-it.co.nz/admin/users/addauthority.php?add=1&i=mahara&p=saml
  [Mon Sep 03 12:17:53 2012] [error] [client 127.0.0.1] , referer: http://dev.mahara.schlumbumbel.wgtn.cat-it.co.nz/admin/users/addauthority.php?add=1&i=mahara&p=saml

  ubuntu 11.10
  postgres 8.4
  firefox

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1045134/+subscriptions


References