X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   X-Payments issues & questions (https://forum.x-cart.com/forumdisplay.php?f=50)
-   -   x-payments config - proxy settings (https://forum.x-cart.com/showthread.php?t=63978)

gblair 06-18-2012 06:09 AM

x-payments config - proxy settings
 
OK, who, like me is waiting until the last minute to setup x-payments :-)

I'm going through the config now following tips from the forum. But I'm unsure about the proxy settings.

What are you all putting there?
Where do I get that information from?

photo 06-18-2012 06:15 AM

Re: x-payments config - proxy settings
 
Quote:

Originally Posted by gblair
OK, who, like me is waiting until the last minute to setup x-payments :-)

I'm going through the config now following tips from the forum. But I'm unsure about the proxy settings.

What are you all putting there?
Where do I get that information from?


I never filled any of the proxy fields in and the install went fine. But good luck with step 8

Quote:

8. IMPORTANT. Default codes contained in <lib/XPay/Model/Codebook.php> must be changed after the installation is done. Use maintenance script regen-codebook.php to generate a new codebook.

gblair 06-18-2012 06:22 AM

Re: x-payments config - proxy settings
 
Great, now I'm scared.

gblair 06-18-2012 06:55 AM

Re: x-payments config - proxy settings
 
If I could get to step 8, then I'd be scared....

I can't even get past step two of the installation.

"Installation script could not connect to database server.
Please check all parameters in config.ini.php file and try again."

I've set up a ton of databases in the past but can't see what I've done wrong on this one.

MySQL settings
host : localhost
port : 3306
unix_socket : <Not specified>
dbname : paperwhi_xpay
user : paperwhi_xpaymen
password : ************************
auth : LOGIN
timeout : 10


Maybe I need to step away for a while.



..... nevermind, I found it.

photo 06-18-2012 07:00 AM

Re: x-payments config - proxy settings
 
Quote:

Originally Posted by gblair
If I could get to step 8, then I'd be scared....

I can't even get past step two of the installation.

"Installation script could not connect to database server.
Please check all parameters in config.ini.php file and try again."

I've set up a ton of databases in the past but can't see what I've done wrong on this one.

MySQL settings
host : localhost
port : 3306
unix_socket : <Not specified>
dbname : paperwhi_xpay
user : paperwhi_xpaymen
password : ************************
auth : LOGIN
timeout : 10


Maybe I need to step away for a while.


Try this,

Code:

MySQL settings
host :"localhost"
port :
unix_socket:
dbname :"paperwhi_xpay"
user :"paperwhi_xpaymen"
password :"************************"
auth :"LOGIN"
timeout :"10"


gblair 06-18-2012 07:11 AM

Re: x-payments config - proxy settings
 
Thanks. I had a " missing. Doh!

I'm now into the Dashboard!! Woohoo!

gblair 06-18-2012 07:59 AM

Re: x-payments config - proxy settings
 
OK, now about step 8....

What!?

I'm in shell and changed to my xpayments directory
When I run

php regen-codebook.php -run

it says SAPI is NOT CLIpaperwhi@paperwhimsy.com

If I be run php regen-codebook.php lib/XPay/Model/Codebook.prev.php -run

I get the same error

I should mention that the folder doesn't have a codebook.prev.php file, but does have a codebook.php file



How is any non technical person supposed to understand any of this?

photo 06-18-2012 08:06 AM

Re: x-payments config - proxy settings
 
Quote:

Originally Posted by gblair
How is any non technical person supposed to understand any of this?


That is the one million dollar question!

I tried,

Code:

php '''regen-codebook.php''' -run <'''public_html/xpayments'''>

and got.

Quote:

syntax error near unexpected token 'newline'

I'm stuck!

photo 06-18-2012 08:13 AM

Re: x-payments config - proxy settings
 
I also tried,

Code:

php regen-codebook.php -run public_html/xpayments

and got,


Code:

Could not open input file: regen-codebook.php

photo 06-19-2012 03:36 AM

Re: x-payments config - proxy settings
 
Quote:

Originally Posted by photo
That is the one million dollar question!

I tried,

Code:

php '''regen-codebook.php''' -run <'''public_html/xpayments'''>

and got.



I'm stuck!


QT could you chime in on this?

1. Version = x-payments-1.0.4
2. Folder Path = public_html/xpayments
3. Command = php regen-codebook.php -run public_html/xpayments (is this correct)?
4. Command = php '''regen-codebook.php''' -run <'''public_html/xpayments'''> (or is this correct)?
5. Error Message = syntax error near unexpected token 'newline'(what does that mean)?


Thanks


All times are GMT -8. The time now is 03:13 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.