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

X-Payments Installation Error
 
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions
 
Thread Tools
  #1  
Old 06-12-2012, 11:57 AM
 
mwhelland mwhelland is offline
 

Member
  
Join Date: Oct 2011
Posts: 18
 

Default X-Payments Installation Error

Hello,

I am trying to install X-Payments and after agreeing to the terms and conditions, I get the following error on step 2:
Warning: require_once(/home/stacybre/public_html/xpayments/lib/PDO.php) [function.require-once]: failed to open stream: No such file or directory in /home/stacybre/public_html/xpayments/top.inc.PHP53.php on line 84

Fatal error: require_once() [function.require]: Failed opening required '/home/stacybre/public_html/xpayments/lib/PDO.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/stacybre/public_html/xpayments/top.inc.PHP53.php on line 84

What do I need to do to continue the installation?

Thank you.
__________________
X-Cart 4.4.5 Gold

X-FancyCategories
Altered Cart Checkout-One
X-Banners
X-Menus
Predictive Search
Reply With Quote
  #2  
Old 06-12-2012, 12:43 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 13,615
 

Default Re: X-Payments Installation Error

Make sure the file is there. Make sure it has correct permissions so the installation can read it
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
ambal (06-13-2012)
  #3  
Old 06-12-2012, 02:02 PM
 
apkkmi apkkmi is offline
 

Newbie
  
Join Date: May 2012
Posts: 5
 

Default Re: X-Payments Installation Error

Hello,

I am working with mwhelland on installing X-Payments for our site.

The xpayments/lib directory only contains a subdirectory 'XPay' which also does not contain the PDO.php file anywhere inside. The installation instructions did not say to copy any files to the lib directory and even though we have PDO enabled I cannot find a file by the name 'PDO.php'.

Is this a file that should have been in the X-Payments .zip folder?

Thank you
__________________
X-Cart Gold 4.6.3
X-Payments 1.0.6
Reply With Quote
  #4  
Old 06-12-2012, 02:20 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 13,615
 

Default Re: X-Payments Installation Error

It sounds like you have not uploaded all files. You need to upload all files from the XPayments distribution pack by preserving directory structure
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
ambal (06-13-2012)
  #5  
Old 06-13-2012, 10:32 AM
 
mwhelland mwhelland is offline
 

Member
  
Join Date: Oct 2011
Posts: 18
 

Default Re: X-Payments Installation Error

Hello,

This file does not exist in the distribution package. We have redownloaded it, and PDO.php is nowhere to be found anywhere within the package. We uploaded all files in a fashion that would preserve the directory structure. Thank you.
__________________
X-Cart 4.4.5 Gold

X-FancyCategories
Altered Cart Checkout-One
X-Banners
X-Menus
Predictive Search
Reply With Quote
  #6  
Old 06-13-2012, 10:50 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 13,615
 

Default Re: X-Payments Installation Error

Do you have PDO installed with your PHP installation? it is needed for X-Payments to function but the error you get implies it is not installed with PHP so PHP is trying to load it from current location (X-Payments) and include path

http://us3.php.net/manual/en/book.pdo.php
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #7  
Old 06-13-2012, 10:56 AM
 
mwhelland mwhelland is offline
 

Member
  
Join Date: Oct 2011
Posts: 18
 

Default Re: X-Payments Installation Error

PDO is installed and enabled:

php -i | grep PDO
PDO
PDO support => enabled
PDO drivers => sqlite, sqlite2, mysql
PDO Driver for MySQL => enabled
PDO Driver for SQLite 3.x => enabled

Thank you.
__________________
X-Cart 4.4.5 Gold

X-FancyCategories
Altered Cart Checkout-One
X-Banners
X-Menus
Predictive Search
Reply With Quote
  #8  
Old 06-13-2012, 11:37 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 13,615
 

Default Re: X-Payments Installation Error

According to the error it is not or cannot be found

Failed opening required '/home/stacybre/public_html/xpayments/lib/PDO.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')

I would guess the problem is with your server or php settings or something like php version...
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #9  
Old 06-13-2012, 11:51 AM
 
mwhelland mwhelland is offline
 

Member
  
Join Date: Oct 2011
Posts: 18
 

Default Re: X-Payments Installation Error

If xpayments/lib/PDO.php is a required file, and isn't included in the distribution package as part of the xpayments file structure, where would it come from?
__________________
X-Cart 4.4.5 Gold

X-FancyCategories
Altered Cart Checkout-One
X-Banners
X-Menus
Predictive Search
Reply With Quote
  #10  
Old 06-13-2012, 12:26 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 13,615
 

Default Re: X-Payments Installation Error

This file is not part of X-Payments, it should be part of the PHP install. Any script that requires it will look for it in the include path and local directory (from where is being called). Your include path is

include_path='.:/usr/lib/php:/usr/local/lib/php'

and it is not found there so X-Payments will look for it in the local directory and it is not found there either of course
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
ambal (06-15-2012)
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 11:26 PM.

   

 
X-Cart forums © 2001-2018