By Jay Haydon on Tuesday, 17 April 2018
Posted in Technical Issues
Replies 3
Likes 0
Views 1K
Votes 0
Hi,

I recently encountered issues with Komento, not properly generating email notifications.
The current setup is that Komento would send email notifications when a new comment is posted, to all users within a specific Joomla User Group.

But this seems to work only if Notify Content Author (in Settings > Notifications) is also checked and set to active.

Is this the wanted behaviour or could this be considered a minor bug? If this isn't a bug, is there a way for Komento to generate (and send) email notifications to only this specific Joomla User Group?

I'm also having issues on a server, setting the cronjob for these email notifications, but I understand servers often cause this. Triggering the cron ~ task URL works from a different server or when triggered manually, but still I just wanted to check if there's an easy solution and what could be the cause for the server not executing the cronjob properly?

This is the exact cron I've set: curl --silent https://www.sitename.com/index.php?option=com_komento&task=cron

Thanks!
That was known issue, can you try download my attached file and replace into this file location and see how it goes?

JoomlaFolder/administrator/components/com_komento/includes/notification/notification.php

Before you replace the file you have to backup the original first.

Regarding with your cron issue, different hosting have their own different command to execute cron URL on the server.

May i know your current cron configuration page have any cron mail field allow you to enter your email address?

Because you can see what is the response when your server execute this following cron command on your server.

So you will know whether this following command is setup correctly or not.
[gist type="php"]
curl --silent https://www.sitename.com/index.php?option=com_komento&task=cron
[/gist]
·
Tuesday, 17 April 2018 23:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the quick response and your help.

I implemented the new notifications.php file, and this feature now works as expected, but considering Joomla & Komento updates, would this cause any issues ie. would this file be safe from updates overriding it? Will this file be sort of included in a next Komento release, or we'd have to override/implement it after every update?

Regarding the crons, an issue within the server was fixed and now work fine.

Thanks!
·
Wednesday, 18 April 2018 21:49
·
0 Likes
·
0 Votes
·
0 Comments
·
This fix will included in next release version as well.
·
Wednesday, 18 April 2018 22:36
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post