About › Support › Bulk email › Cron returning error “file not found”
- This topic is empty.
-
AuthorPosts
-
17th May 2015 at 2:30 am #2616
Janeen
MemberHi
I’m trying to set up the cron job to send emails, but when I put in the url address from the pdf churchadmin generates, I get a “file not found” message.
The PDF shows the entry on two lines/usr/local/bin/php -f
/nfs/c08/h03/mnt/126983/domains/uubgky.org/html/wp-content/plugins/church-admin/includes/cronemail.phpCan I put both strings on one line? Does the spacing matter?
It’s a great plugin, and I’d love to be able to use it all.
17th May 2015 at 10:33 pm #3470Andy Moyle
KeymasterIt should all be on one line, with a space between the first section, the -f and then the path.
We switched to mailchimp.com for sending emails out – free for smallish list. The reason was that we were on a shared server at our hosting company and because other users were spammers, our emails were also getting blocked….
18th May 2015 at 4:16 am #3471Janeen
MemberHmmm…
I’ve got
/usr/local/bin/php -f /nfs/c08/h03/mnt/126983/domains/uubgky.org/html/wp-content/plugins/church-admin/includes/cronemail.phpall on one line with the space before and after the -f and no spaces before the /usr or after the .php, and I’m still getting a file not found.
Not a clue why it’s not working.
I’ll look into mailchimp; thanks for the tip.
19th May 2015 at 9:02 pm #3479Andy Moyle
KeymasterTry
/usr/local/bin/php -f /nfs/c08/h03/mnt/126983/domains/uubgky.org/wp-content/plugins/church-admin/includes/cronemail.php
as I think the html is superfluous unless you have a strange setup!
20th May 2015 at 11:06 pm #3482Janeen
Member(I inherited this site, and I’m still trying to make sense of it.) Whoever installed WordPress did so inside a folder named html. There is indeed a path
[ Home / domains / uubgky.org / html / wp-content / plugins / church-admin / includes / cronemail.php ] . The .htaccess file is in folder [Home /domains/uubgky.org/html/ ] and it reads:AddHandler php5-script .php
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]# END WordPress
anything in there that might be confusing things?
21st May 2015 at 4:29 pm #3484Andy Moyle
KeymasterNo, there’s nothing wrong with the htaccess file.
Try…
/usr/local/bin/php -f /home/domains/uubgky.org/html/wp-content/plugins/church-admin/includes/cronemail.phpAs it might be all that weirdness you had before the domain name that was causing the error. If not contact the hosting provider and see what they say!
-
AuthorPosts
- You must be logged in to reply to this topic.