Forums | Mahara Community

Mahara/Moodle integration /
Create new user problem from Moodle


anonymous profile picture
Account deleted
Posts: 15

30 August 2011, 9:54

I have got Moodle 2.1 linked to Mahara 1.4. Unfortunately I've had to set up on windows and IIS. Things seemed to run fine but there is a problem that keeps occuring.

I have set Moodle up to create users from LDAP. When a user logs in and clicks on the link to Mahara it creates a new Mahara user. However Mahara hangs as it seems to try and send email.

I get a whole bunch of messages like the one at the bottom. It seems to be trying to send a message to one of the Admins and fails. The user is created but the whole thing hangs as its repeatedly trying to send emails out.

I have filled in the email server details, so I don't think thats the problem.

Any ideas anyone?

 

Thanks in advance.

 

Steve Longley

User notification error was probably caused by your server configuration.

exception 'EmailException' with message 'Couldn't send email to Liam Mann (4241) with subject TGA e-Porfolio: User notification error was probably caused by your server configuration.. Error from phpmailer was: SMTP Error: Could not authenticate.' in D:\EPORTFOLIO\lib\user.php:457
Stack trace:
#0 D:\EPORTFOLIO\notification\email\lib.php(97): email_user(Object(stdClass), NULL, 'TGA e-Porfolio:...', 'You have been s...', NULL, NULL)
#1 [internal function]: PluginNotificationEmail::notify_user(Object(stdClass), Object(stdClass))
#2 D:\EPORTFOLIO\lib\mahara.php(1184): call_user_func_array(Array, Array)
#3 D:\EPORTFOLIO\lib\activity.php(462): call_static_method('PluginNotificat...', 'notify_user', Object(stdClass), Object(stdClass))
#4 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#5 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#6 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#7 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#8 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#9 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#10 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#11 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#12 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#13 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#14 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#15 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#16 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#17 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#18 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#19 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#20 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#21 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#22 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#23 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#24 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#25 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#26 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#27 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#28 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#29 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#30 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#31 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#32 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#33 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#34 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#35 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#36 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#37 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#38 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#39 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#40 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#41 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#42 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#43 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#44 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#45 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#46 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#47 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#48 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#49 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#50 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#51 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#52 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#53 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#54 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#55 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#56 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#57 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#58 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#59 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#60 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#61 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#62 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#63 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#64 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#65 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#66 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#67 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#68 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#69 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#70 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#71 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#72 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#73 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#74 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#75 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#76 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#77 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#78 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#79 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#80 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#81 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#82 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#83 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#84 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#85 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#86 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#87 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#88 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#89 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#90 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#91 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#92 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#93 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#94 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#95 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#96 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#97 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#98 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#99 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#100 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#101 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#102 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#103 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#104 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#105 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#106 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#107 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#108 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#109 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#110 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#111 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#112 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#113 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#114 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#115 D:\EPORTFOLIO\lib\activity.php(476): activity_occurred('maharamessage', Object(stdClass))
#116 D:\EPORTFOLIO\lib\activity.php(489): ActivityType->notify_user(Object(stdClass))
#117 D:\EPORTFOLIO\lib\activity.php(82): ActivityType->notify_users()
#118 D:\EPORTFOLIO\lib\activity.php(50): handle_activity(Object(stdClass), Object(stdClass))
#119 D:\EPORTFOLIO\lib\institution.php(224): activity_occurred('maharamessage', Object(stdClass))
#120 D:\EPORTFOLIO\lib\user.php(1667): Institution->addUserAsMember(Object(stdClass))
#121 D:\EPORTFOLIO\auth\xmlrpc\lib.php(218): create_user(Object(User), Array, 'tudorgrangeacad...', Object(AuthXmlrpc), 'kdewe')
#122 D:\EPORTFOLIO\auth\xmlrpc\land.php(94): AuthXmlrpc->request_user_authorise('da09c4407b31c02...', 'http://tgispace...')
#123 {main}              
Chris Kenniburg's profile picture
Posts: 34

21 September 2011, 6:52

I had this issue too.  I also have moodle using LDAP. 

In Mahara, I had to make sure that the email settings were correct.  I had initially set it up to use SMTP.  When I removed the SMTP settings from Site Administration it worked great and users could SSO in.

anonymous profile picture
Account deleted
Posts: 23

20 October 2011, 10:25

Hi there - I have the same problem but the SMTP settings are empty except for System Maila ddress which is [email protected] (internal IP) .  This is a small local testing server and doesn't have email on it.

However also have another server which is set up same but works - weird!

3 results