Please help me :)
What am I doing wrong to get this?
/bin/sh: /home/clubadve/public_html/americanwebdate.com/periodic: is a directory
Could not open input file: cron.php
Please help me :)
What am I doing wrong to get this?
/bin/sh: /home/clubadve/public_html/americanwebdate.com/periodic: is a directory | |
Take a look in Cpanel and tell me if your cron job looks like this:
/usr/bin/php -q /home/clubadve/public_html/americanwebdate.com/periodic/cron.php
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin | |
| |
mscott, do you not need the cd in order to bounce out and change directory to /usr/bin/php
?
but the path to sh, seems incorrect to me.
where are you hosted, i see you most likely have cpanel, or maybe not, since the full domain name is listed in your home path.
americanwebdate.com is a subdomain and a subdirectory
? Take a look in Cpanel and tell me if your cron job looks like this:
/usr/bin/php -q /home/clubadve/public_html/americanwebdate.com/periodic/cron.php
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support | |
I changed it over to /usr/bin/php -q /home/clubadve/public_html/americanwebdate.com/periodic/cron.php Will see if I get the errors..
THANKS | |
in the htaccess it has this
Deny from all <FilesMatch "^.*\.php|.*\.html$">
ForceType application/x-httpd-php-source
</FilesMatch> | |
interesting, no more error messages but I have no idea if it is working :)
Not even sure what it should be doing.. | |
Nah, I've always used the format I posted and it's always worked.
mscott, do you not need the cd in order to bounce out and change directory to /usr/bin/php?
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin | |
If you're not getting the error emails you should be ok. You should get an email around midnight (server time) showing that it cleaned up the database. Also if you upload a video you'll get an email from ffmpeg showing what it did. Your mass mailer will work now also.
interesting, no more error messages but I have no idea if it is working :)
Not even sure what it should be doing..
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin | |
thanks will watch for it... :) | |
woke up to a truck full of these
/bin/sh: /home/clubadve/public_html/adventistdate.com/periodic: is a directory | |
is your files is in public_html dir? if yes then remove the text in red. /home/clubadve/public_html/americanwebdate.com/periodic maybe its a typo mistake during setup so much to do.... | |
The folder they are in is in the folder americanwebdate.com which is a folder in the public_html folder.
All my domains are inside that... | |
oh! than thats ok so much to do.... | |
try usr/local/bin/php just for the heck of it.... https://dolphin-techs.com - Skype: Dolphin Techs | |
add cd /home/something/public_html/periodic; /usr/local/bin/php -q cron.php for just trying....lol so much to do.... | |
stan, not sure where you are hosted, however, it would appear to me that you could get your hosting service to tell you the path to php binary
or you could look in the tips and tricks on how to run a few tests and determine that path yourself. then once you know the path to php binary, then you can set the cron job to fire.
also, if you are not doing cd, then the server and app are not communicating and you are getting that error.
so i think its not taking the correct path, and it says it cant find cron.php
i would be willing to look into this for you. hit me on PM or skype --> socialnetworkhosting
i have written a tutorial and placed it on the forums. The folder they are in is in the folder americanwebdate.com which is a folder in the public_html folder.
All my domains are inside that...
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |