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 Installation Error (https://forum.x-cart.com/showthread.php?t=63919)

mwhelland 06-12-2012 11:57 AM

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.

cflsystems 06-12-2012 12:43 PM

Re: X-Payments Installation Error
 
Make sure the file is there. Make sure it has correct permissions so the installation can read it

apkkmi 06-12-2012 02:02 PM

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

cflsystems 06-12-2012 02:20 PM

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

mwhelland 06-13-2012 10:32 AM

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.

cflsystems 06-13-2012 10:50 AM

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

mwhelland 06-13-2012 10:56 AM

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.

cflsystems 06-13-2012 11:37 AM

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...

mwhelland 06-13-2012 11:51 AM

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?

cflsystems 06-13-2012 12:26 PM

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


All times are GMT -8. The time now is 05:05 PM.

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