| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
x-payments config - proxy settings | ||||
|
|
Thread Tools |
#11
|
|||||||
|
|||||||
Re: x-payments config - proxy settings
This command:
php '''regen-codebook.php''' -run <'''public_html/xpayments''' consists of the following parts: 1) "php" - is the PHP binary file. You should use the PHP 5.3. binary with the necessary extensions installed (i.e. so that it meets the X-Payments system requirements). Possibly you'll need to run it with the -c path_to_php.ini_file option. Contact your hosting to verify which PHP binary and ini file should be used. 2) "regen-codebook.php" is the name of the execuring PHP script. Since only file name is used, it's considered that you've already are in the directory where X-Payments is installed. Otherwise you may use the full server path to this file. 3) "-run" specifies that the regeneration should be preformed. 4) "public_html/xpayments" should be the full server path of the X-Payments directory. You may get it executing the pwd command via shell. If you find it difficult to construct the command line yourself we advise you to contact support through HelpDesk: https://secure.qtmsoft.com
__________________
joss@x-cart.com |
|||||||
#12
|
|||||||||
|
|||||||||
Re: x-payments config - proxy settings
Thank you Joss, I appreciate you taking the time to respond.
Moving on from this to installing the x-payments-connector-for-X-Cart-4.0.x-4.2.x on Xcart v4.1.10, I get the following text at the top of the page in the admin and the store front end, when applying the patch_4_1_12.diff Code:
Any idea what would cause this? Thanks |
|||||||||
#13
|
|||||||
|
|||||||
Re: x-payments config - proxy settings
There is a bug in the internal X-Cart patching system, the code is being added to the end of the file (in other cases it works corectly).
You should modify the <xcart-dir>/top.inc.php file in such a way, that the closing tag: ?> is the last line of the file. Note: there shouldn't be any spaces or line brakes after this tag. Besides, please make sure you've removed the "?>" tag which is prior the code you see on the pages.
__________________
joss@x-cart.com |
|||||||
#14
|
|||||||||
|
|||||||||
Re: x-payments config - proxy settings
Excellent! Worked like a charm, thanks a lot Joss
|
|||||||||
#15
|
|||||||
|
|||||||
Re: x-payments config - proxy settings
Finally got regen-codebook to work.
In order to call the CLI version of PHP I couldn't just type PHP regen-codebook.php -run etc I had to type: /ramdisk/php/53/bin/php5-cli regen-codebook.php -run etc Like I would have been able to work that out myself. |
|||||||
|
|
Thread Tools | |
|
|
|
|||
X-Cart forums © 2001-2020
|