Ihave been trying to get mass mailer to work for over a month now. With no luck. I set the cons job as follows using Cpanel:
MAILTO=helpcenter@maddpoets.com
0 0 * * * /usr/local/bin/php -q /home/gnetport/public_html/maddpoets/periodic/cmd.php
*/10 * * * * /usr/local/bin/php -q /home/gnetport/public_html/maddpoets/periodic/notifies.php
* */1 * * * /usr/local/bin/php -q /home/gnetport/public_html/maddpoets/periodic/cupid.php
Cpanel or my host server changed each line as this:
/ramdisk/bin/php5 -q
meaning it deleted and changed this:
/usr/local/bin/php –q
now I tried to send mass mail and I got this sent in my mail box at helpcenter@maddpoets.com
Warning: require_once(["/home/gnetport/public_html/maddpoets/"]inc/header.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/gnetport/public_html/maddpoets/periodic/notifies.php on line 21
Fatal error: require_once() [function.require]: Failed opening required '["/home/gnetport/public_html/maddpoets/"]inc/header.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gnetport/public_html/maddpoets/periodic/notifies.php on line 21
so i looked up the file and this is what i get on line 21:
require_once( '["/home/gnetport/public_html/maddpoets/"]inc/header.inc.php' );
is this line correct? and if not what needs to be fixed. I am new to the code side and i think from Inc to php needs to be in the quote part but i dont know php so i dont know. Can ya help? I checked the permissions and the file is there. Also from my host I got this as a reply to my help ticket”
Dear Customer,
Thanks for contacting us.
We apologize for the trouble you've been having. /ramdisk/bin/php5 is the path that you should be using for the php program you do not have access to /usr/local on the server. Another way that you can setup php scripts as cron jobs would be as follows:
wget -q -O - http://maddpoets.com/periodic/cupid.php
Thanks
Zak
So now I must add after changing my crons to this suggested line the mass mailer has done anything in 24 hours.
HELLLLLLLLLLLLLLLLLLLLLLLLLP!