Forums | Mahara Community
Support
/
CRON Job terminates with errors
09 October 2009, 17:04
amazing. it detected the forum posts now and built up a mail:
[DBG] e1 (lib/dml.php:1016) INSERT INTO "notification_internal_activity" ("type", "usr", "ctime", "subject", "message", "read") VALUES (?, ?, ?, ?, ?, ?)
[DBG] e1 (lib/activity.php:400) notify
[DBG] e1 (lib/activity.php:401) stdClass Object
[DBG] e1 (lib/activity.php:401) (
[DBG] e1 (lib/activity.php:401) [id] => 28
[DBG] e1 (lib/activity.php:401) [username] => kasel_test
[DBG] e1 (lib/activity.php:401) [firstname] => Arnold
[DBG] e1 (lib/activity.php:401) [lastname] => Kasel
[DBG] e1 (lib/activity.php:401) [preferredname] =>
[DBG] e1 (lib/activity.php:401) [email] => <My Email>
[DBG] e1 (lib/activity.php:401) [admin] => 0
[DBG] e1 (lib/activity.php:401) [staff] => 0
[DBG] e1 (lib/activity.php:401) [method] => email
[DBG] e1 (lib/activity.php:401) [lang] =>
[DBG] e1 (lib/activity.php:401) [subject] => Manfred: Manfred Forum: gjgjgjgj
[DBG] e1 (lib/activity.php:401) [message] => gjgjgjgj by Admin User
[DBG] e1 (lib/activity.php:401) Friday, 09. October 2009, 22:18
[DBG] e1 (lib/activity.php:401) ------------------------------------------------------------------------
[DBG] e1 (lib/activity.php:401)
[DBG] e1 (lib/activity.php:401) hgjhghj
[DBG] e1 (lib/activity.php:401)
[DBG] e1 (lib/activity.php:401) ------------------------------------------------------------------------
[DBG] e1 (lib/activity.php:401) To see and reply to the post online, follow this link:
[DBG] e1 (lib/activity.php:401) https://<Our Mahara IP>/e/mahara/interaction/forum/topic.php?id=15#post19
[DBG] e1 (lib/activity.php:401)
[DBG] e1 (lib/activity.php:401) To unsubscribe from this forum, visit:
[DBG] e1 (lib/activity.php:401) https://<Our Mahara IP>/e/mahara/interaction/forum/unsubscribe.php?forum=9&key=5dfa6929
[DBG] e1 (lib/activity.php:401) )
[DBG] e1 (lib/activity.php:401)
However, the URL is wrong: https://<Our Mahara IP>/e/mahara/interaction/forum
From where does it get the /e/ anyway ....?
Well, still got no mails, but I begin being afraid that this might be some humiliating missetting...
09 October 2009, 17:53
And we are back ....
guess, I will research
$userdata->internalid = call_static_method('PluginNotificationInternal', 'notify_user', $user, $userdata);
now, then
call_static_method(generate_class_name('notification', $method), 'notify_user', $user, $userdata);
I have the feelung, $user->method tells, if the message should go to the outside or not? Within mahara, I always get those "mails" / notifications ..... well ...?
09 October 2009, 18:48
ok, as far as I know now: the mail is sent from user.php -> mail_user
However, it is sent by "noreply@<IP of Our Mahara Installation>"
This may be rejected by the Mailserver of the University ... I need to change that first .....
09 October 2009, 19:31
ok ....
I did receive the positive-test mail from the creation my new account
BUT I did still not receive the mail from the notication, although I changed the noreply address to a valid value..... search continues
[DBG] e2 (notification/email/lib.php:80) stdClass Object
[DBG] e2 (notification/email/lib.php:80) (
[DBG] e2 (notification/email/lib.php:80) [id] => 1
[DBG] e2 (notification/email/lib.php:80) [username] => admin
[DBG] e2 (notification/email/lib.php:80) [password] => <PASSWORD>
[DBG] e2 (notification/email/lib.php:80) [salt] =>
[DBG] e2 (notification/email/lib.php:80) [passwordchange] => 0
[DBG] e2 (notification/email/lib.php:80) [active] => 1
[DBG] e2 (notification/email/lib.php:80) [deleted] => 0
[DBG] e2 (notification/email/lib.php:80) [expiry] =>
[DBG] e2 (notification/email/lib.php:80) [expirymailsent] => 0
[DBG] e2 (notification/email/lib.php:80) [lastlogin] => 2009-10-09 22:41:00
[DBG] e2 (notification/email/lib.php:80) [inactivemailsent] => 0
[DBG] e2 (notification/email/lib.php:80) [staff] => 0
[DBG] e2 (notification/email/lib.php:80) [admin] => 1
[DBG] e2 (notification/email/lib.php:80) [firstname] => Admin
[DBG] e2 (notification/email/lib.php:80) [lastname] => User
[DBG] e2 (notification/email/lib.php:80) [studentid] =>
[DBG] e2 (notification/email/lib.php:80) [preferredname] =>
[DBG] e2 (notification/email/lib.php:80) [email] => <VALID EMAIL>
[DBG] e2 (notification/email/lib.php:80) [profileicon] =>
[DBG] e2 (notification/email/lib.php:80) [suspendedctime] =>
[DBG] e2 (notification/email/lib.php:80) [suspendedreason] =>
[DBG] e2 (notification/email/lib.php:80) [suspendedcusr] =>
[DBG] e2 (notification/email/lib.php:80) [quota] => 10485760
[DBG] e2 (notification/email/lib.php:80) [quotaused] => 0
[DBG] e2 (notification/email/lib.php:80) [authinstance] => 1
[DBG] e2 (notification/email/lib.php:80) [sessionid] => 44baeb1cf8f362d643cd8b9e541c7567
[DBG] e2 (notification/email/lib.php:80) [lastauthinstance] => 1
[DBG] e2 (notification/email/lib.php:80) [lastlastlogin] => 2009-10-09 22:18:00
[DBG] e2 (notification/email/lib.php:80) [lastaccess] => 2009-10-10 01:24:26
[DBG] e2 (notification/email/lib.php:80) )
09 October 2009, 21:17
ok, I know from the syslog now that the older mails were bounced, because of the invalid sendaddress (noreply@<IP Address>)
And the notification is sent (until now) only to my colleague. Difficult to ask him now to check his email at 3:15 AM Saturday morning.....
Well, he seems to get mail, but I also subscribed to that forum, why didn't I get mails (and the notification settings in my account are all set on E-Mail)....
11 October 2009, 19:21
Heh, looks like you've been hard at work debugging
The lines disappear from the activity_queue table once they have been processed. It looks like the Mahara side of things is working almost ok, except for the /e/ in the URL and the noreply thing.
Regarding the /e/ - maybe it would be a good idea for you to manually set $CFG->wwwroot in the config.php, and delete the wwwroot setting in the database. The next page load, the value will migrate from config.php to the database and then all those URLs should work. I hope! If not, we might need to know a little more about your setup - e.g. if you're behind any proxies, what the url should be and what it actually is, etc.
The noreply you can actually set in config.php as well (and clear from the database so it migrates there). I think the setting is $CFG->noreplyaddress. So you could set that to an address that works, to see if that helps.
11 October 2009, 20:20
Hi Nigel!
yes, I found a message from Penny in the forum concerning wwwroot and the noreply address and those configuration values worked nicely.
I checked the syslog and the last information I have is, that both, the directly sent mail (the one arriving) and the mail sent by cron (not arriving) are handed to the MTA. There seems to be no difference, so this is strange. But Monday, the mail-guys from the uni data processing center are back again, so I will squeeze the reason out of them, I hope :-)
We are now using Mahara in the Uni Hannover in one lecture by a way of trail, but they like it already, particuarily, because one could build up views easily (However, the lecturer asked to copy views from individuals to groups (?))
12 October 2009, 15:44
Hi - well I hope you have luck with the mail guys
Regarding the copying - that is already possible. If you go to a group's Views page, you will see the Copy a View button. From there, you can copy any copyable view, even those of an individual
13 October 2009, 4:38
Hi Nigel!
May I can ask you again about the copying? I tried it several times but the behavior of Mahara is as follow: I go to
- "group" and there
- "views" (This is the translation from german to english, I don´t know the english buttons) and
- press the button "Copying View"
Everything works fine. I can choice the view, make changes of the view, and so on. But at the end I can see this view only in the field "my portfolio". I don´t know how to bring this copy to the groups.
User or system error ;-) ?
Greetings from the north of germany
Marc
13 October 2009, 18:28
Hi - firstly, yes "views" is right
It sounds like you have gone through the steps exactly right. I have done this twice now, and both times the copied view showed up in the Group's "views" section.
What version of Mahara are you using? Have you made any customisations?
Is your system available publicly for looking at?
- «Previous page
- 1
- 2
- »Next page