Sergey
Total posts: 13,748
03 Oct 2013 07:40

Fixed. But unfortunately not in today's release. Only next Thursday.


stblink VIP
Total posts: 501
04 Oct 2013 08:23

This is something that MintJoomla appears to be struggling to make it work. :S


ngarasan VIP
Total posts: 181
13 Oct 2013 06:52

Is it fixed on Cobalt v.8.347 Stable?


ngarasan VIP
Total posts: 181
18 Oct 2013 04:55

Still not working.. No email sent..


pepperstreet VIP
Total posts: 3,837
18 Oct 2013 10:58

+1 for additional simple mailer option ;-)

Notifications - Emails - Simple without CRON


Jeff VIP
Total posts: 745
20 Oct 2013 01:27

**ngarasan **

Still not working.. No email sent..

Have you tried to insert the cron command (without "wget") directly into your browser's address bar?

If you receive emails shortly after entering the url, then the system works and you probably need another syntax for the cron command.

BTW. did you insert thesecret parameter "123456" into Cobalt's settings?

Best regards,

Jeff


ngarasan VIP
Total posts: 181
20 Oct 2013 07:54

I just tried to insert the command directly and I received the email directly.

Any sugestion for the correct syntac? I use cpanel for the administration.

Thank you for your help..


Jeff VIP
Total posts: 745
20 Oct 2013 08:25

Hi ngarasan,

I'm also trying to get this thing working, no luck so far :(

You can let the server send an email every time a cron job runs.

This will give you information why the cron job failed.

These are the notifications I have received:

Cron: lynx -source https://mysite.com/index.php?option=com_cobalt& ;task=cron.sendAlert&secret=123456

Looking up mysite.com

Making HTTPS connection to mysite.com

lynx: Can't access startfile  https://mysite.com/index.php?option=com_cobalt 

Cron: wget https://mysite.com/index.php?option=com_cobalt& ;task=cron.sendAlert&secret=123456

 https://mysite.com/index.php?option=com_cobalt 

Resolving mysite.com... 181.xxx.xxx.xx Connecting to mysympathy.com.au|181.xxx.xxx.xx|:443... connected.

ERROR: certificate common name `www.mysite.com' doesn't match requested host name `mysite.com'.

To connect to mysite.com insecurely, use `--no-check-certificate'.

Unable to establish SSL connection.

Cron: wget --no-check-certificate //mysite.com/index.php?option=com_cobalt&task=cron.sendAlert&secret=123456

//mysite.com/index.php?option=com_cobalt: Unsupported scheme.

I will try more settings/syntaxes en keep you updated


Jeff VIP
Total posts: 745
20 Oct 2013 08:54

Cron: wget --no-check-certificate https://mysite.com/index.php?option=com_cobalt& ;task=cron.sendAlert&secret=123456

 https://mysite.com/index.php?option=com_cobalt 

Resolving mysite.com... 181.xxx.xxx.xx Connecting to mysite.com|181.xxx.xxx.xx|:443... connected.

WARNING: certificate common name `www.mysite.com' doesn't match requested host name `mysite.com'.

HTTP request sent, awaiting response... 500 View not found [name, type, prefix]: cobalt, html, cobaltView

2013-10-20 08:30:04 ERROR 500: View not found [name, type, prefix]: cobalt, html, cobaltView.

:(


Sergey
Total posts: 13,748
21 Oct 2013 00:57

https://mysite.com? Why https? This will require certificate confirm. Use http.


Jeff VIP
Total posts: 745
21 Oct 2013 02:06

Sergey

https://mysite.com? Why https?

Because my site is https://mysite.com and not http://mysite.com

Do you mean I can still use http://mysite.com in the cron command, even if my site url is https://mysite.com?


ngarasan VIP
Total posts: 181
21 Oct 2013 04:18

My hosting advice me not to use wget. Is there any other syntax can be used?


Sergey
Total posts: 13,748
21 Oct 2013 06:10

try tio access this link from browser. If you success then ok.


Sergey
Total posts: 13,748
21 Oct 2013 06:14

Also you may try to use CULR

curl --insecure -c --url " https://website.com/ "


ngarasan VIP
Total posts: 181
21 Oct 2013 10:50

Using linx:

Lynx file "/etc/lynx.lss" is not available.

Using curl:

% Total % Received % Xferd Average Speed Time Time Time Current

                            Dload  Upload  Total  Spent    Left  Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

126 379 126 379 0 0 1105 0 --:--:-- --:--:-- --:--:-- 94750

406 Not Acceptable

Not Acceptable

An appropriate representation of the requested resource /index.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


ngarasan VIP
Total posts: 181
21 Oct 2013 10:52

sergey,

what is the complete syntax for the curl without https.


Jeff VIP
Total posts: 745
21 Oct 2013 17:39

Sergey

Also you may try to use CULR

curl --insecure -c --url " https://website.com/ "

This is the response from the server:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100    65    0    65    0     0    133      0 --:--:-- --:--:-- --:--:--   138

array(0) {

}

array(0) {

}

array(0) {

}

array(0) {

}

array(0) {

}

Unfortunately, no mails are sent :S


ngarasan VIP
Total posts: 181
22 Oct 2013 02:18

I use this: curl -c --url " http://website.com/ "

I get this message:


% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 123 370 123 370 0 0 1388 0 --:--:-- --:--:-- --:--:-- 361k <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>406 Not Acceptable</title> </head><body> <h1>Not Acceptable</h1> <p>An appropriate representation of the requested resource / could not be found on this server.</p> <p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p> </body></html>

Why it does not work for me?


ngarasan VIP
Total posts: 181
23 Oct 2013 09:29

I have deleted all notifications on the mentioned table, but the cron still gave me this message:


% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 123 370 123 370 0 0 842 0 --:--:-- --:--:-- --:--:-- 92500 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>406 Not Acceptable</title> </head><body> <h1>Not Acceptable</h1> <p>An appropriate representation of the requested resource / could not be found on this server.</p> <p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p> </body></html>

Sergey
Total posts: 13,748
24 Oct 2013 01:30

This looks like Apache or server generated page. May be you have no rights to call that page through CURL? What if you simply use this URL in browser?

Powered by Cobalt