Forums | Mahara Community

Support /
Notifications not working?


anonymous profile picture
Account deleted
Posts: 9

15 December 2008, 15:41

Hi All!

Our Mahara install does not appear to be sending out notifications (ver 1.06). I have a couple views on the watchlist but I do not get any notices when those views are updated.

 

Where should I look to solve this problem?

 

Thank you!

anonymous profile picture
Account deleted
Posts: 1643

15 December 2008, 19:49

This means that you are not running the cron job, nine times out of 10. The installation instructions have information about setting up the cron job.

Note: before you do set it up, I would have a look in the activity_queue table, and probably delete all rows in there. Otherwise, when you enable the cron job, all your past notifications are going to be sent out at once, which might annoy your users! 

anonymous profile picture
Account deleted
Posts: 9

16 December 2008, 17:27

Nigel...

I tried all kinds of different crontab scripts. None of them worked until i tried this:

* * * * * wget /Library/WebServer/Documents/mahara/lib/cron.php

 The one you have listed on the wiki would not work for me. :-(  

 I was a little concerned because the few notifications I got after chaning it to wget appeared to be duplicates. However it appears to have stopped after a couple. Maybe they had just built up in que?

I'm running Mahara on an Apple OSX Server with Moodle.

So, if I log in as another user and make a change to one of the views on that user's account that I'm watching,   I should see a notification about the view change?

 Thanks!

anonymous profile picture
Account deleted
Posts: 1643

16 December 2008, 19:11

You will get a notification within five minutes - the activity queue is processed once every five minutes. You will get it delivered wherever your "Watchlist" notification setting says you want it.
anonymous profile picture
Account deleted
Posts: 3

28 December 2008, 10:51

Hi friend, i tried all things but nothing... when anyone try to register into my Mahara Website the person not receive the activate e-mail in your e-mail box.... All things related to "e-mail or notifications" not working... 

 I setup cron, i reviewed all configurations of server:

Mysql:  5.0.51

PHP:    5.2.8

SO:     CentOS

Apache: 2.2.11 

 

Can you help me? 

anonymous profile picture
Account deleted
Posts: 1643

28 December 2008, 17:42

For people reading this thread who have email related problems - if you just installed a fresh 1.0.7, see this thread for a fix.
anonymous profile picture
Account deleted
Posts: 24

12 May 2011, 23:13

Email settings can be set up under new directory structure of Mahara 1.3

Access /var/www/mahara/htdocs/lib  (this location depends on your directory structure but you will find phpmailer under lib directory.

You have to setup few parameters in class.phpmailer.php:

 

public $From  = 'admin@urdomainname';

 public $Sender = 'admin@urdomainname';

The most important is:

public $Host          = 'smtp.urdomainname.com';

 

This configuration is working for me. Let me know if I can help anymore...

7 results