By Sean Carney on Saturday, 12 April 2014
Posted in Technical Issues
Replies 7
Likes 0
Views 1K
Votes 0
I just received the following message from a new user at Starch-Smart.com:
So, When I was making my User Name - I typed in Irene and it told me I had to have 4 characters! Does not compute! I added "H" to the end and it was happy... I deleted the H and then it was happy with "Irene" Tested it by re-entering "Irene" and it again told me I need 4 characters! FYI

Anyhow, it does seem wrong to deny somebody the ability to use their name because it needs four characters if they have actually already entered five characters.

Also, I sent her two message through the messaging system. The first she told me she received email for twice and the second she told me she actually received FIVE emails. So, there is something wrong between EasySocial/Joomla/My Email and I am not sure what it would be. Do you have any ideas? I sure do not want us to be flooding people with email.

I also have been trying to figure out a way to copy her text from her previous messages but all I seem to be able to find are my messages to her and none of her replies. I am attaching a screenshot.
I hope it is OK that there are three issues in this one help request.

Sean Carney
Hello Sean,

Those cronjobs listed there are correct and you shouldn't have the "Send email on page load" enabled if you already have cronjobs
·
Tuesday, 15 April 2014 11:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sean,

I have tried to access the registration form but I don't seem to be able to reproduce this. Upon typing "Irene", this is what I am getting, http://screencast.com/t/ImbAcF9IK . As for the email duplication issues, are you running on cronjob or are you sending on page load?
·
Saturday, 12 April 2014 13:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,
The reason that you see that the name Irene is already taken is because she was able to get it. But, she had to jump through some hoops. Basically she told me she first tried to reserve the name Irene but received a message that she needed to have at least four characters. But, that seemed odd to her because she had a five character name selected. Then she stated that she added an H to the end of the name and then the error message went away. At that point she stated she was able to then remove the H she had just added and that satisfied the system which did indeed allow her to register the name Irene. All of that said... I have been trying to reproduce this reported problem but have not been able to reproduce it. So, if I hear more I will let you know but for now there is not much to do on this.

Regarding the email I must be using send on page load because the only cronjob I had set up was for the distrubution of content to my Amazon S3 bucket and another cronjob to periodically run the smart indexing.

Maybe I need to set up a cronjob to do regular email delivery to get rid of this problem? Is this something I should just work out with my hosting company? Is there any setting within EasySocial that would need to be made for this? I am thinking that maybe I had my settings wrong in the Cronjob Settings section of the Settings -> General Settings. What I had set up was the following under Cronjob Settings:
Enable secure cronjob url?: Yes
Secure cronjob key: left blank
Emails to process at a time?: 20

I am right now changing the Enable secure cronjob url to No until I better understand the best way to do this. Do you have a document about this somewhere?

Thank you, Sean Carney
·
Monday, 14 April 2014 06:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sean,

The secure cronjob is for users who doesn't want to allow anyone access to the cron URL by requesting for a secure key. If you do not use that, you should just leave it disabled. You should setup a cronjob on your hosting's area and turn off the "Send email on page load" option.
·
Monday, 14 April 2014 11:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark,
I want to do as you suggested and turn the Email Transporter Behaviour option Process emails on page to NO. That is what I should have done from the start.
CloudAccess.net will set up the cronjob for me. they asked me the following information which I may need from you:
If you provide us with a URL to trigger and with how often you want it triggered our team would be glad to install it for you. Alternatively there a knowledge base article at:
http://www.cloudaccess.net/additional-resources/58-ftp-sftp-ssh/582-creating-cron-jobs-from-an-ssh-terminal.html

I actually am wondering if he is not understanding because I was of the impression we do not want to use a url to trigger the outgoing email.

also just as an FYI, here are the two cronjobs they already set up for me to use the Amazon S3 for images and media and to keep the finder current so that all my sites content is available through the ES search:
Here are the two crontab jobs that are live on starch-smart.com as you requested:
-sh-4.1$ crontab -l
*/2 * * * * wget -O /dev/null "http://starch-smart.cloudaccess.net/index.php?option=com_easysocial&cron=true";
0 0 * * * php /mnt/data/vhosts/casite-477306.cloudaccess.net/httpdocs/cli/finder_indexer.php

Sean
·
Tuesday, 15 April 2014 06:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok. I did not know that I had the correct cronjob set up already because I thought the job we set up was for the Amazon S3 synch.. So this cronjob must be doing more for our EasySocial than doing the Amazon S3 synchronization:

*/2 * * * * wget -O /dev/null "http://starch-smart.cloudaccess.net/index.php?option=com_easysocial&cron=true";

What else does this cronjob do?

Thanks, Sean
·
Wednesday, 16 April 2014 00:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sean,

That particular URL also processes emails as well
·
Wednesday, 16 April 2014 02:31
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post