| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#11
|
|||||||||
|
|||||||||
Re: xpayments Cron help please
I just tried that but the email i received was -
/bin/sh: php-cli: command not found I changed the username as needed, I have contacted qt but waiting for them to get back due to the holiday...
__________________
-------------- V4.6.1 xcartmods - Reboot Template X-cart - X-PDF Altered Cart - Checkout one |
|||||||||
#12
|
|||||||||
|
|||||||||
Re: xpayments Cron help please
I just removed the cd from the above command but received this
/bin/sh: /home/mysite/public_html/xpayments: is a directory /bin/sh: php-cli: command not found
__________________
-------------- V4.6.1 xcartmods - Reboot Template X-cart - X-PDF Altered Cart - Checkout one |
|||||||||
#13
|
|||||||||
|
|||||||||
Re: xpayments Cron help please
Now - Hands-on should be able to help you if you need the path to php-cli.
You can try php-cli /home/gezawear/public_html/xcart/xpayments/cron.php If that does not work - I think Hands-On can help you get the paths straight. ---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
#14
|
|||||||||
|
|||||||||
Re: xpayments Cron help please
Ive just had a new separate server setup for xpayments, ive been trying to setup a cron job, everything i tried didn't work kept getting emails of various descriptions.
My last cron command in Cpanel was - php -q /home/mysite/public_html/xpayments/cron.php I am not receiving any emails now so don't know whether this is a good or bad thing, but ive checked in xpayments backend and i still see this error The cron.php script execution error The cron.php script was launched more than 24 hours ago. It is recommended to run cron.php once every 24 hours, otherwise the PCI DSS requirements for protecting cardholder data might not be met. Please check the cron.php launch settings. Can anyone advise please Many thanks Dean
__________________
-------------- V4.6.1 xcartmods - Reboot Template X-cart - X-PDF Altered Cart - Checkout one |
|||||||||
#15
|
|||||||||
|
|||||||||
Re: xpayments Cron help please
Use php-cli instead of php in your command line. If php-cli is not found, you have to ask your host for the path to it.
---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
#16
|
|||||||||
|
|||||||||
Re: xpayments Cron help please
Hi thanks for your help i change the code to -
php-cli /home/mysite/public_html/xpayments/cron.php but got this email back - /bin/sh: php-cli: command not found So presume i have part of the path missing, ive dropped a note to Handson see if they can advise... Many thanks again
__________________
-------------- V4.6.1 xcartmods - Reboot Template X-cart - X-PDF Altered Cart - Checkout one |
|||||||||
#17
|
|||||||||
|
|||||||||
Re: xpayments Cron help please
Handson have just emailed me back and said -
We have added php-cli to your path and it is now available to your user account But not sure what i have to do now, wish x-cart guys would have written an easy install for this... Do i need to do something in Cpanel now or add something extra to this line - php-cli /home/mysite/public_html/xpayments/cron.php
__________________
-------------- V4.6.1 xcartmods - Reboot Template X-cart - X-PDF Altered Cart - Checkout one |
|||||||||
#18
|
|||||||
|
|||||||
Re: xpayments Cron help please
Use the command line posted here and you'll be good to go:
http://forum.x-cart.com/showpost.php?p=338849&postcount=9 |
|||||||
#19
|
|||||||||
|
|||||||||
Re: xpayments Cron help please
Hi hooter thanks for your help, Handson sorted the issue out for me, as usual top work from them...this is what the wrote -
There was an error in the script when executed manually: PHP Fatal error: require_once(): Failed opening required './top.inc.php' (include_path='.:/usr/local/php53/pear') in /home/mysite/public_html/xpayments/cron.php on line 23 Fatal error: require_once(): Failed opening required './top.inc.php' (include_path='.:/usr/local/php53/pear') in /home/mysite/public_html/xpayments/cron.php on line 23 So I created a php.ini file inside of the xpayments directory with the following include_path="/home/mysite/public_html/xpayments/" And the script is now executing without error, this is really something that the module developers should include in their documentation ans the required includes are stored directly in the same folder and php did not know to look there by default until specified in the php.ini file. Hope this will help someone else out as its been a major headache trying to sort this, many thanks to all for your help...
__________________
-------------- V4.6.1 xcartmods - Reboot Template X-cart - X-PDF Altered Cart - Checkout one |
|||||||||
#20
|
|||||||||
|
|||||||||
Re: xpayments Cron help please
Have you tried command like this:
Quote:
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|