By cbais on Thursday, 14 September 2017
Posted in Technical Issues
Likes 0
Views 598
Votes 0
Hello,

Somehow the notification mails are not being send anymore. The cron job runs. When I turn on email reports of the cronjob, I got a nice email every minute which tells me: Cronjob processed.

This means that the cronjob runs and the cron.php is executed. This is the echo command at the end of the file cron.php.

However, no mails are send! They remain pending. This is on my main site, still working on version 2.0.24 aswel as on a new project of mine, which already runs on 2.0.25 but is still in design phase.

On the first site, running on 2.0.24 I havent changed anything recently. It suddenly stopped sending notification emails.

Can You fix this or point me into the right direction for a fix?

Thanks in advance!
Additional information:

It stopped working at 2017-08-09 15:34

Since that moment there are no notification mails send anymore. I never looked at it, cause I had no idea it stopped working...
That date looks like the period I updatet to 2.0.24, but not sure anymore....
·
Thursday, 14 September 2017 06:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

I tried to run cronjob using URL below, and it seems that those emails are executed. I suspected that there are issues with your cron.php as it might not setup correctly as currently your are using SSL for your site.

https://www.tgirlsplaza.nl/index.php?option=com_easysocial&cron=true


By the way, right now, i am using one of joomla file manager to check on your site, but it seems that i dont have full permission to edit those files currently. It would be best if you can provide us with full permission on your files in order to further check on this issues. Please advice.
·
Thursday, 14 September 2017 12:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Now You mention it, around that date the cron stopped working, I also changed to https (ssl) on my sites.
Maybe that has something to do with it?

To check this problem further, I added ftp login information to the main post...

Thanks in advance!
·
Thursday, 14 September 2017 23:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey cbais,

Hm, if you have changed your site from http:// to https:// , you would also need to update your cronjob. Can you take a print screen of your current cronjob?

P/S: I think while you were adding the FTP, the site access was removed Could you kindly please add these info back?
·
Friday, 15 September 2017 01:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

edited the post. Added site (backend) access and ftp this time before pressing save :-)

The current cronjob which runs is de cron.php of easysocial. Only thing I changed is the url.

As i interpreted the php file correct, there is a function that strips off http/https from the entered url, so I have no idea were to change from http to https in the cron.php file.

The file returns that the job is completed after running it via a cronjob of my server.

Hope You can help me out

Thanks in Advance
·
Friday, 15 September 2017 01:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

I have made some fixes, on your site and it should sent out now. Please give it a check and see how it goes
·
Friday, 15 September 2017 11:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks,

Unfortunatly, the mails are still not send. I turned on logging again to see the output of the cron.php file when it runs, and it just returns:

Cronjob processed.

The file is processed automatically every minute, but the mails are still not sending
·
Saturday, 16 September 2017 03:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

After check further again, it seems like when the cronjob process, it actually hitting this for some reason :


Operation timed out after 2001 milliseconds with 0 bytes received


So we already update some of the code extend the timeout limit from this cron.php file, it should work fine now, can you give it a check again?
·
Saturday, 16 September 2017 13:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Thanks! That did the trick! It works fine now
·
Tuesday, 19 September 2017 03:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Tuesday, 19 September 2017 09:40
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post