Support Forum

If you want to show a shortcode in forum post - use [ instead of [ as you write it so you can see the shortcode 😉

We use and recommend UK2 for hosting - get a month free

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register sp_MemberList Members

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Cron returning error "file not found"
17th May 2015
2:30 am
Avatar
Member
Members
Forum Posts: 23
Member Since:
27th March 2015
sp_UserOfflineSmall Offline

Hi
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.php

Can 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
10:33 pm
Avatar
Admin
Forum Posts: 867
Member Since:
4th March 2015
sp_UserOfflineSmall Offline

It 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....

If you are finding the plugin useful, please subscribe to the app - it's free for your congregation to use and only £9.99pm for a church subscription - free int'l bank transfers with Revolut

18th May 2015
4:16 am
Avatar
Member
Members
Forum Posts: 23
Member Since:
27th March 2015
sp_UserOfflineSmall Offline

Hmmm...
I've got
/usr/local/bin/php -f /nfs/c08/h03/mnt/126983/domains/uubgky.org/html/wp-content/plugins/church-admin/includes/cronemail.php

all 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
9:02 pm
Avatar
Admin
Forum Posts: 867
Member Since:
4th March 2015
sp_UserOfflineSmall Offline

Try

/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!

If you are finding the plugin useful, please subscribe to the app - it's free for your congregation to use and only £9.99pm for a church subscription - free int'l bank transfers with Revolut

20th May 2015
11:06 pm
Avatar
Member
Members
Forum Posts: 23
Member Since:
27th March 2015
sp_UserOfflineSmall Offline

(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
4:29 pm
Avatar
Admin
Forum Posts: 867
Member Since:
4th March 2015
sp_UserOfflineSmall Offline

No, 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.php

As 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!

If you are finding the plugin useful, please subscribe to the app - it's free for your congregation to use and only £9.99pm for a church subscription - free int'l bank transfers with Revolut

Forum Timezone: Europe/London

Most Users Ever Online: 101

Currently Online:
9 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Pastor Andres: 97

Rich Cox: 94

David Z.: 84

rrfranks: 57

seanmcint: 52

Allen: 51

Jon: 44

Gavin: 41

Janeen: 23

365sussex: 21

Member Stats:

Guest Posters: 44

Members: 408

Moderators: 0

Admins: 1

Forum Stats:

Groups: 5

Forums: 14

Topics: 570

Posts: 2120

Administrators: andymoyle: 867