By Elvira on Sunday, 13 April 2014
Posted in Technical Issues
Replies 24
Likes 0
Views 1K
Votes 0
Hi,

I'm not sure what I did wrong...I set up cronjob so that the email can be delivered. But now I'm getting this error on the component page. Doesn't matter if I'm logged in or not and it shows for every user also.
I looked on the forum for this issue but couldn't find the correct info (I think). I entered the email adresses, but maybe I forgot one?
Hello Elvira,

I am really sorry for the delay of this reply as it is a weekend for us here. There's a possibility that the user was deleted and for some reason the mail queue still contains their email. I have purged the mail queue and it shouldn't display any errors now
·
Sunday, 13 April 2014 01:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Delay? Man that was quick! Thanks. So if this might happen when the site goes live, where can I purge the mail queue? Or shouldn't this happen at all? (at least not often I hope)
·
Sunday, 13 April 2014 01:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Elvira,

Ah, you can actually clear it under the mail activities but it should never happen again in the next 1.2.8 update as I have added some codes to clear off recipients that are deleted from the mail queue automagically.
·
Sunday, 13 April 2014 15:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok thanks very much! I do have another question about this email thing. I ceated a cronjob and set 'Process emails on page' to yes. Are those the correct settings? I noticed the for every like on the page also an email is sent but I turned the 'like' emails off.

And I noticed some grammar/spelling erros in emails that are sent, where can I correct those?

Thanks.
·
Sunday, 13 April 2014 20:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Elvira,

I am really sorry for the delay of this reply as it is a weekend for us here. If you have created cronjob, you do not need "Process emails on page load". That option should be disabled when cronjob is active. You can alter the translations in the language file located in /language/en-GB/en-GB.com_easysocial.ini
·
Sunday, 13 April 2014 21:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Cool. Found the file.

Hmm, okay then I think I didn't setup cronjobs properly, cause when I turn off 'process emails on page' no emails are sent. Just setting up a cronjob should be enough? Or do I have to do anything else?
·
Sunday, 13 April 2014 21:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Elvira,

Yep, setting up cron job is enough. Check with your hosting provider with the command that you are running with cronjob and see what they have to say about it
·
Sunday, 13 April 2014 22:04
·
0 Likes
·
0 Votes
·
0 Comments
·
I checked the command again and I know what the hosting command is supposed to be but not quite sure about easysocial. Is it this one? /index.php?option=com_easysocial&cron=true
·
Sunday, 13 April 2014 23:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Yep, that's correct
·
Sunday, 13 April 2014 23:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Would this sound logical to you? /usr/local/php5/bin/php -f ~/html/rooster/index.php?option=com_easysocial&cron=true (rooster is the folder joomla is installed in as a test site)

I'm getting this error: No input file specified.

My host is sending me suggestions on what to enter but I have a feeling it might take a while before I find the correct path....
·
Monday, 14 April 2014 04:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Elvira,

I am really sorry for the delay of this reply as it is a weekend for us here. Ah, if you are using the CLI of php in cron, you need to do this


/usr/local/php5/bin/php -f /html/rooster/components/com_easysocial/cron.php


Then, edit the cron.php file and rename site.com with your site
·
Monday, 14 April 2014 10:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks again. I still am doing something wrong....

I tried:
/usr/local/php5/bin/php -f /html/rooster/components/com_easysocial/cron.php

And, (as my host said)
/usr/local/php5.4/bin/php -f /html/rooster/components/com_easysocial/cron.php

I changed the cron.php file but it says: No input file specified.

Any other suggestion?
·
Monday, 14 April 2014 13:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Got another update. The correct path is /usr/local/php5/bin/php -f ~/html/rooster/components/com_easysocial/cron.php

I can see that cronjob is being processed but I'm not receiving any confirmation emails when I'm testing. Also in the backend the emails arent' sent according to 'email activity'. (sorry for bugging , it's my first cronjob thing)
·
Monday, 14 April 2014 17:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Elvira,

Did you edit the cron.php file and update it to your own domain? By the way, could you post your URL here so that I can test this out?
·
Monday, 14 April 2014 19:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

Yes I changed the domain in the cron.php. I enclosed the information.
·
Monday, 14 April 2014 19:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Elvira,

Can you please provide us with the FTP access too?
·
Monday, 14 April 2014 19:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, here you go.
·
Monday, 14 April 2014 19:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Elvira,

Ah, okay it should work fine now. It looks like we missed a "subfolder" settings in the cron.php because you are running it on a subfolder
·
Monday, 14 April 2014 23:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes it's working! Brilliant. Thanks much for the service. I see where you added the subfolder. So when I move the site to the main folder I have to delete the rooster part from the command line and cron.php. Thanks again.
·
Tuesday, 15 April 2014 00:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, that's correct
·
Tuesday, 15 April 2014 03:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok, so I didn't back up the cron.php but I did do the update of easy social. Didn't know those files would also be overwritten. Could you tell me where to put the subfolder, so I can safe the file for a next update? Tnx.
·
Friday, 18 April 2014 19:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Elvira,

I have made the modifications for the cron.php file in /components/com_easysocial/ for you
·
Saturday, 19 April 2014 01:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark. I backed it up now
·
Saturday, 19 April 2014 17:05
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Saturday, 19 April 2014 22:16
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post