Please close. Working as expected after an upgrade to 1.6.1 Thanks -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/1072770
Title: Not sending email notifications when an admin adds a new users Status in Mahara ePortfolio: New Bug description: The following errors are created when trying to add a new users either manually or by LEAP import. The user gets created but does not receive a confirmation email. Mysite free ePortfolios : Site unavailable A nonrecoverable error occurred. This probably means you have encountered a bug in the system [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] [WAR] 08 (lib/dml.php:1568) Array to string conversion, referer: http://www.mysite.com/admin/users/ad d.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] Call stack (most recent first):, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * log_message("Array to string conversion", 8, true, true, "/var/www/mysite/lib/dml.php", 1568) at /var/www/mysite/lib/errors.php:446, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * error(8, "Array to string conversion", "/var/www/mysite/lib/dml.php", 1568, array(size 4)) at Unk nown:0, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * implode(",", array(size 3)) at /var/www/mysite/lib/dml.php:1568, referer: http://www.mysite/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * create_sql_exception_message(object(ADODB_Exception), "INSERT INTO "usr_account_preference" ("usr", "fiel...", array(size 3)) at /var/www/mysite/lib/dml.php:1060, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * insert_record("usr_account_preference", object(stdClass)) at /var/www/mysite/lib/user.php:112, re ferer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * set_account_preference(665, "mobileuploadtoken", array(size 1)) at /var/www/mysite/lib/user.php:2 163, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * create_user(object(stdClass), array(size 0), "mahara", object(stdClass), null, array(size 27)) at /var/www/mysite/admin/users/add.php:308, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * adduser_submit(object(Pieform), array(size 26)) at Unknown:0, referer: http://www.mysite.com/admi n/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * call_user_func_array("adduser_submit", array(size 2)) at /var/www/mysite/lib/pieforms/pieform.php :514, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * Pieform->__construct(array(size 7)) at /var/www/mysite/lib/pieforms/pieform.php:161, referer: htt p://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * Pieform::process(array(size 7)) at /var/www/mysite/lib/pieforms/pieform.php:71, referer: http://w ww.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * pieform(array(size 7)) at /var/www/mysite/admin/users/add.php:164, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] , referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] [WAR] 08 (lib/errors.php:749) Failed to get a recordset: mysql error: [1054: Unknown column 'Array' in 'field list' ] in adodb_throw(INSERT INTO "usr_account_preference" ("usr", "field", "value") VALUES (665, 'mobileuploadtoken', Array), ), referer: http://www.mysite.com/ad min/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] [WAR] 08 (lib/errors.php:749) Command was: INSERT INTO "usr_account_preference" ("usr", "field", "value") VALUES (? , ?, ?) and values was (665,mobileuploadtoken,Array), referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] Call stack (most recent first):, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * log_message("Failed to get a recordset: mysql error: [1054: Unk...", 8, true, true) at /var/www/portfoliocommun ities/lib/errors.php:109, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * log_warn("Failed to get a recordset: mysql error: [1054: Unk...") at /var/www/mysite/lib/errors.p hp:749, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * SQLException->__construct("Failed to get a recordset: mysql error: [1054: Unk...") at /var/www/mysite/lib/dml.php:1060, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * insert_record("usr_account_preference", object(stdClass)) at /var/www/mysite/lib/user.php:112, re ferer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * set_account_preference(665, "mobileuploadtoken", array(size 1)) at /var/www/mysite/lib/user.php:2 163, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * create_user(object(stdClass), array(size 0), "mahara", object(stdClass), null, array(size 27)) at /var/www/mysite/admin/users/add.php:308, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * adduser_submit(object(Pieform), array(size 26)) at Unknown:0, referer: http://www.mysite.com/admi n/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * call_user_func_array("adduser_submit", array(size 2)) at /var/www/mysite/lib/pieforms/pieform.php :514, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * Pieform->__construct(array(size 7)) at /var/www/mysite/lib/pieforms/pieform.php:161, referer: htt p://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * Pieform::process(array(size 7)) at /var/www/mysite/lib/pieforms/pieform.php:71, referer: http://w ww.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * pieform(array(size 7)) at /var/www/mysite/admin/users/add.php:164, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] , referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] [WAR] 08 (lib/errors.php:464) An exception was thrown of class InvalidArgumentException. , referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] [WAR] 08 (lib/errors.php:464) THIS IS BAD and should be changed to something extending MaharaException,, referer: h ttp://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] [WAR] 08 (lib/errors.php:464) unless the exception is from a third party library., referer: http://www.mysite/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] [WAR] 08 (lib/errors.php:464) Original trace follows, referer: http://www.mysite.com/admin/users/add. php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] [WAR] 08 (lib/user.php:115) Failed to insert account preference Array for mobileuploadtoken for user 665, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] Call stack (most recent first):, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * set_account_preference(665, "mobileuploadtoken", array(size 1)) at /var/www/mysite/lib/user.php:2 163, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * create_user(object(stdClass), array(size 0), "mahara", object(stdClass), null, array(size 27)) at /var/www/mysite/admin/users/add.php:308, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * adduser_submit(object(Pieform), array(size 26)) at Unknown:0, referer: http://www.mysite.com/admi n/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * call_user_func_array("adduser_submit", array(size 2)) at /var/www/mysite/lib/pieforms/pieform.php :514, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * Pieform->__construct(array(size 7)) at /var/www/mysite/lib/pieforms/pieform.php:161, referer: htt p://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * Pieform::process(array(size 7)) at /var/www/mysite/lib/pieforms/pieform.php:71, referer: http://w ww.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] * pieform(array(size 7)) at /var/www/mysite/admin/users/add.php:164, referer: http://www.mysite.com/admin/users/add.php [Tue Oct 23 13:57:24 2012] [error] [client xx.xx.xxx.xx] , referer: http://www.mysite.com/admin/users/add.php To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1072770/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp