Re: Abandoned Shopping Cart Email Reminder
Thx dr. Byte, but that didn't work. Called godaddy and they recommended getting rid of the php -f and going direct, this occurred, so, getting deeper...
/home/content/69/11416569/html/cart_reminder_cron.php: line 1: ?php
: No such file or directory
/home/content/69/11416569/html/cart_reminder_cron.php: line 2:
: command not found
/home/content/69/11416569/html/cart_reminder_cron.php: line 3: /**
: No such file or directory
/home/content/69/11416569/html/cart_reminder_cron.php: line 4: backup: command not found
/home/content/69/11416569/html/cart_reminder_cron.php: line 5: backup: command not found
/home/content/69/11416569/html/cart_reminder_cron.php: line 6: backup: command not found
/home/content/69/11416569/html/cart_reminder_cron.php: line 7: backup: command not found
/home/content/69/11416569/html/cart_reminder_cron.php: line 8: backup: command not found
/home/content/69/11416569/html/cart_reminder_cron.php: line 9: backup: command not found
/home/content/69/11416569/html/cart_reminder_cron.php: line 10: backup: command not found
/home/content/69/11416569/html/cart_reminder_cron.php: line 11: backup: command not found
/home/content/69/11416569/html/cart_reminder_cron.php: line 12: **/
: No such file or directory
/home/content/69/11416569/html/cart_reminder_cron.php: line 13:
: command not found
/home/content/69/11416569/html/cart_reminder_cron.php: line 14: /bin: is a directory
/home/content/69/11416569/html/cart_reminder_cron.php: line 15:
: command not found
/home/content/69/11416569/html/cart_reminder_cron.php: line 16: =: command not found
/home/content/69/11416569/html/cart_reminder_cron.php: line 16:
: command not found
/home/content/69/11416569/html/cart_reminder_cron.php: line 17:
: command not found
/home/content/69/11416569/html/cart_reminder_cron.php: line 45: syntax error near unexpected token `('
/home/content/69/11416569/html/cart_reminder_cron.php: line 45: `/* Step 1: Remove all items in cart_reminder table that don't have an associated cart (where the users aren't logged in) */
'
What now? They recommended doing /web/cgi-bin/php5_3 as prefix
Re: Abandoned Shopping Cart Email Reminder
Does anyone know will this work with Ver 1.50?
Re: Abandoned Shopping Cart Email Reminder
Quote:
Originally Posted by
Trademagic
The code I placed in cron is 0 ****cd/home/content/69/11416569/html/; php cart_reminder_cron.php > /dev/null
Hi Trademagic,
I believe the problem is that you removed a bunch of spaces. You need to have a space after each * and after "cd". Try formatting it like this:
0 * * * * cd /home/content/69/11416569/html/; php cart_reminder_cron.php > /dev/null
Re: Abandoned Shopping Cart Email Reminder
Quote:
Originally Posted by
dsimon55
Does anyone know will this work with Ver 1.50?
Yes, it should.
Re: Abandoned Shopping Cart Email Reminder
Quote:
Originally Posted by
gonsman
Hi Trademagic,
I believe the problem is that you removed a bunch of spaces. You need to have a space after each * and after "cd". Try formatting it like this:
0 * * * * cd /home/content/69/11416569/html/; php cart_reminder_cron.php > /dev/null
Thanks Gonsman, but when I do that, I get this
/bin/sh: 0: command not found
/bin/sh: php: command not found
I have had it send the letter twice, but with way different code. Needing the right way to do it, and willing to try anything. Also, if someone could give me the correct format for changing the zen cart logo and replacing it with my logo, in the letter generated, it would be appreciated.
Marc
Re: Abandoned Shopping Cart Email Reminder
Quote:
Originally Posted by
Trademagic
Thanks Gonsman, but when I do that, I get this
/bin/sh: 0: command not found
/bin/sh: php: command not found
I have had it send the letter twice, but with way different code. Needing the right way to do it, and willing to try anything. Also, if someone could give me the correct format for changing the zen cart logo and replacing it with my logo, in the letter generated, it would be appreciated.
Marc
In GoDaddy, does it ask you for the day, month, hour and minute in a different field? If so, you may need to remove the first part of the cron job and only provide the command: cd /home/content/69/11416569/html/; php cart_reminder_cron.php > /dev/null
It also sounds like GoDaddy does not support the alias php so you need the full path the PHP executable. Something like cd /home/content/69/11416569/html/; /usr/bin/php cart_reminder_cron.php > /dev/null
Re: Abandoned Shopping Cart Email Reminder
It does ask for those items separately, so will try the codes and see which works.
1st one returned this
/bin/sh: pp: command not found
2nd returned this
/bin/sh: /usr/bin/php: No such file or directory
sending exact results so you can see what it takes and didn't take more clearly.
I appreciate every bit of your tracking this down. perhaps the next iteration...
Marc
Re: Abandoned Shopping Cart Email Reminder
Quote:
Originally Posted by
Trademagic
It does ask for those items separately, so will try the codes and see which works.
1st one returned this
/bin/sh: pp: command not found
2nd returned this
/bin/sh: /usr/bin/php: No such file or directory
sending exact results so you can see what it takes and didn't take more clearly.
I appreciate every bit of your tracking this down. perhaps the next iteration...
Marc
According to GoDaddy, the PHP path is /web/cgi-bin/php5 (see http://support.godaddy.com/help/arti...-is-a-cron-job)
If this is the case, the command would be cd /home/content/69/11416569/html/; /web/cgi-bin/php5 cart_reminder_cron.php > /dev/null
Re: Abandoned Shopping Cart Email Reminder
neither of those worked and I sent a post which I tried to append to. Perhaps you saw it, I can repost the info.
First try was /bin/sh: php: command not found
second was /bin/sh: /usr/bin/php: No such file or directory
I appreciate every bit of your tracking this down. perhaps the next iteration...
if I remove the cd from the front of the equation i get this
/bim/sh: /home/content/69/11416569/html: is a directory
/bin/sh: php: command not found
Re: Abandoned Shopping Cart Email Reminder
Quote:
Originally Posted by
Trademagic
neither of those worked and I sent a post which I tried to append to. Perhaps you saw it, I can repost the info.
First try was /bin/sh: php: command not found
second was /bin/sh: /usr/bin/php: No such file or directory
I appreciate every bit of your tracking this down. perhaps the next iteration...
if I remove the cd from the front of the equation i get this
/bim/sh: /home/content/69/11416569/html: is a directory
/bin/sh: php: command not found
Please see my previous post.