metricbikes Posted April 3, 2005 Posted April 3, 2005 I installed cc.php from the contributions but am getting this error when trying a test order. It was working fine until now. Any help? Warning: pre_confirmation_check(includes/classes/cc_validation1.php): failed to open stream: No such file or directory in /home/metricbi/public_html/ecommerce/os/catalog/includes/modules/payment/cc.php on line 102 Warning: pre_confirmation_check(includes/classes/cc_validation1.php): failed to open stream: No such file or directory in /home/metricbi/public_html/ecommerce/os/catalog/includes/modules/payment/cc.php on line 102 Warning: pre_confirmation_check(): Failed opening 'includes/classes/cc_validation1.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/metricbi/public_html/ecommerce/os/catalog/includes/modules/payment/cc.php on line 102 Fatal error: Cannot instantiate non-existent class: cc_validation in /home/metricbi/public_html/ecommerce/os/catalog/includes/modules/payment/cc.php on line 104 Quote
Arcadiauk Posted April 4, 2005 Posted April 4, 2005 If I remember rightly you have to either edit the new cc.php file and look for "cc_validation1.php" & change it to "cc_validation.php" or create a copy of "cc_validation".php and name it "cc_validation1.php" within the /includes/classes directory. Check the file permissions too. You might also want to read this too.... http://www.oscommerce.com/forums/index.php?showtopic=143584 Good luck Derek Quote
metricbikes Posted April 4, 2005 Author Posted April 4, 2005 Hello Derek, That fixed it :thumbsup: Thanks for the reply. I changed it to cc_validation.php and it is working. I am in the process of upgrading metricbikes.com to the oscommerce from agoracart (no data base). Steve If I remember rightly you have to either edit the new cc.php file and look for "cc_validation1.php" & change it to "cc_validation.php" or create a copy of "cc_validation".php and name it "cc_validation1.php" within the /includes/classes directory. Check the file permissions too. You might also want to read this too.... http://www.oscommerce.com/forums/index.php?showtopic=143584 Good luck Derek <{POST_SNAPBACK}> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.