Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

fatal error....


Tina

Recommended Posts

Posted

When I create an order and go to checkout and click on credit card I get the following error:

 

Fatal error: Failed opening required 'includes/languages/english/FILENAME_CCVAL_FUNCTION' (include_path='') in /home/pjs/public_html/shop/includes/functions/ccval.php on line 33

 

I did the same exact process on a different site and it worked just fine. (They are the same files)

 

I checked my ccval.php file and I didnt see any thing wrong.

 

<?php

/*

 $Id: ccval.php,v 1.5 2002/04/29 19:09:02 project3000 Exp $



 osCommerce, Open Source E-Commerce Solutions

 http://www.oscommerce.com



 Copyright (c) 2002 osCommerce



 Released under the GNU General Public License

*/



define('TEXT_CCVAL_ERROR_INVALID_DATE', 'The expiry date entered, %s/%s, is <font color="#FF0000"><b>invalid</b></font>. Please check the date and try again.');

define('TEXT_CCVAL_ERROR_INVALID_NUMBER', 'The <b>%s</b> number entered, %s, is <font color="#FF0000"><b>invalid</b></font>. Please check the number and try again.');

define('TEXT_CCVAL_ERROR_UNKNOWN_CARD', 'The first four digits of the number entered are %s.<br> If that's correct, we don't accept that type of credit card.<br> If it's wrong, please try again.');

?>

 

Any ideas?

 

Many thanks

Posted

This sounds like a permissions problem. Check to see if the permissions on /catalog/includes/languages/english/ccval.php are set to 755.

Posted

Look at the line you posted:

 

Fatal error: Failed opening required 'includes/languages/english/FILENAME_CCVAL_FUNCTION

 

You're missing a filename define in application_top.php.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...