Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

x-payments config - proxy settings

 
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions
 
Thread Tools
  #1  
Old 06-18-2012, 06:09 AM
 
gblair gblair is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 69
 

Default 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?
__________________
paperwhimsy.com
Gale Blair
4.1.10
Reply With Quote
  #2  
Old 06-18-2012, 06:15 AM
  photo's Avatar 
photo photo is offline
 

X-Wizard
  
Join Date: Feb 2006
Location: UK
Posts: 1,146
 

Default 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.
__________________
v4.1.10
In Dev v4.5.x


"If you don't keep an eye on your business, someone else will."
Reply With Quote
  #3  
Old 06-18-2012, 06:22 AM
 
gblair gblair is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 69
 

Default Re: x-payments config - proxy settings

Great, now I'm scared.
__________________
paperwhimsy.com
Gale Blair
4.1.10
Reply With Quote
  #4  
Old 06-18-2012, 06:55 AM
 
gblair gblair is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 69
 

Default 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.
__________________
paperwhimsy.com
Gale Blair
4.1.10
Reply With Quote
  #5  
Old 06-18-2012, 07:00 AM
  photo's Avatar 
photo photo is offline
 

X-Wizard
  
Join Date: Feb 2006
Location: UK
Posts: 1,146
 

Default 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"
__________________
v4.1.10
In Dev v4.5.x


"If you don't keep an eye on your business, someone else will."
Reply With Quote
  #6  
Old 06-18-2012, 07:11 AM
 
gblair gblair is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 69
 

Default Re: x-payments config - proxy settings

Thanks. I had a " missing. Doh!

I'm now into the Dashboard!! Woohoo!
__________________
paperwhimsy.com
Gale Blair
4.1.10
Reply With Quote
  #7  
Old 06-18-2012, 07:59 AM
 
gblair gblair is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 69
 

Default 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?
__________________
paperwhimsy.com
Gale Blair
4.1.10
Reply With Quote
  #8  
Old 06-18-2012, 08:06 AM
  photo's Avatar 
photo photo is offline
 

X-Wizard
  
Join Date: Feb 2006
Location: UK
Posts: 1,146
 

Default 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!
__________________
v4.1.10
In Dev v4.5.x


"If you don't keep an eye on your business, someone else will."
Reply With Quote
  #9  
Old 06-18-2012, 08:13 AM
  photo's Avatar 
photo photo is offline
 

X-Wizard
  
Join Date: Feb 2006
Location: UK
Posts: 1,146
 

Default 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
__________________
v4.1.10
In Dev v4.5.x


"If you don't keep an eye on your business, someone else will."
Reply With Quote
  #10  
Old 06-19-2012, 03:36 AM
  photo's Avatar 
photo photo is offline
 

X-Wizard
  
Join Date: Feb 2006
Location: UK
Posts: 1,146
 

Default 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
__________________
v4.1.10
In Dev v4.5.x


"If you don't keep an eye on your business, someone else will."
Reply With Quote
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020