s304 Posted December 4, 2007 Posted December 4, 2007 Hi All, im getting the following error when going to continue to the preferred payment method. Warning: main(includes/languages/english/checkout_payment.php) [function.main]: failed to open stream: No such file or directory in /home/tot14261/public_html/store/checkout_payment.php on line 76 Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/checkout_payment.php' (include_path='.:/usr/lib/php') in /home/tot14261/public_html/store/checkout_payment.php on line 76 would anyone know how to fix this
Guest Posted December 4, 2007 Posted December 4, 2007 Hi All, im getting the following error when going to continue to the preferred payment method. Warning: main(includes/languages/english/checkout_payment.php) [function.main]: failed to open stream: No such file or directory in /home/tot14261/public_html/store/checkout_payment.php on line 76 Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/checkout_payment.php' (include_path='.:/usr/lib/php') in /home/tot14261/public_html/store/checkout_payment.php on line 76 would anyone know how to fix this store/checkout_payment.php on line 76 says what?
♥FWR Media Posted December 4, 2007 Posted December 4, 2007 store/checkout_payment.php on line 76says what? includes/languages/english/checkout_payment.php is missing Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
s304 Posted December 4, 2007 Author Posted December 4, 2007 store/checkout_payment.php on line 76says what? require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_PAYMENT);
s304 Posted December 4, 2007 Author Posted December 4, 2007 includes/languages/english/checkout_payment.php is missing require(DIR_WS_LANGUAGES . $language . '/includes/languages/english/checkout_payment.php' . FILENAME_CHECKOUT_PAYMENT); that is what it says now does that look right?
s304 Posted December 9, 2007 Author Posted December 9, 2007 Hi All, i still haven't had any luck with getting this sorted has anyone got any ideas?
Guest Posted December 10, 2007 Posted December 10, 2007 The answer has already been given by Babygurgles. includes/languages/english/checkout_payment.php is missing Check to see if this file is missing, if it isn't then check the code as this is where the error is coming from.
MmmmGuinness Posted December 10, 2007 Posted December 10, 2007 I had this problem. I'm assuming you added a new module and it doesnt have its "language defs". You'll have to find a copy of the file and throw it up there. For example, I installed authorize.net AIM and it didnt have its "language" file and I had to grab it out of some other sourceforge project, zencart I think? HTH
s304 Posted December 10, 2007 Author Posted December 10, 2007 sorry guys im new to all this so any help would be great, this is what the checkout_payment.php file has from line 72 to line 102 // load all enabled payment modules require(DIR_WS_CLASSES . 'payment.php'); $payment_modules = new payment; require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_PAYMENT); $breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); $breadcrumb->add(NAVBAR_TITLE_2, tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> <script language="javascript"><!-- var selected; function selectRowEffect(object, buttonSelect) { if (!selected) { if (document.getElementById) { selected = document.getElementById('defaultSelected'); } else { selected = document.all['defaultSelected']; } } if (selected) selected.className = 'moduleRow'; object.className = 'moduleRowSelected'; selected = object;
s304 Posted December 10, 2007 Author Posted December 10, 2007 I had this problem. I'm assuming you added a new module and it doesnt have its "language defs". You'll have to find a copy of the file and throw it up there. For example, I installed authorize.net AIM and it didnt have its "language" file and I had to grab it out of some other sourceforge project, zencart I think? HTH im not sure if anything new was added as a i had someone else doing the work for me before
♥FWR Media Posted December 10, 2007 Posted December 10, 2007 I think you may be missing the point. there should be a file ... includes/languages/english/includes/languages/english/checkout_payment.php i.e. directory catalog > directory includes > directory languages > directory english > THIS FILE checkout_payment.php Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
s304 Posted December 11, 2007 Author Posted December 11, 2007 I think you may be missing the point. there should be a file ... includes/languages/english/includes/languages/english/checkout_payment.php i.e. directory catalog > directory includes > directory languages > directory english > THIS FILE checkout_payment.php yes that file is there, the contents of the file is as follows. /* $Id: checkout_payment.php,v 1.14 2003/02/06 17:38:16 thomasamoulton Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE_1', 'Checkout'); define('NAVBAR_TITLE_2', 'Payment Method'); define('HEADING_TITLE', 'Payment Information'); define('TABLE_HEADING_BILLING_ADDRESS', 'Billing Address'); define('TEXT_SELECTED_BILLING_DESTINATION', 'Please choose from your address book where you would like the invoice to be sent to.'); define('TITLE_BILLING_ADDRESS', 'Billing Address:'); define('TABLE_HEADING_PAYMENT_METHOD', 'Payment Method'); define('TEXT_SELECT_PAYMENT_METHOD', 'Please select the preferred payment method to use on this order.'); define('TITLE_PLEASE_SELECT', 'Please Select'); define('TEXT_ENTER_PAYMENT_INFORMATION', 'This is currently the only payment method available to use on this order.'); define('TABLE_HEADING_COMMENTS', 'Add Comments About Your Order'); define('TITLE_CONTINUE_CHECKOUT_PROCEDURE', 'Continue Checkout Procedure'); define('TEXT_CONTINUE_CHECKOUT_PROCEDURE', 'to confirm this order.');
shadow007 Posted December 11, 2007 Posted December 11, 2007 Could I have a look at your website? Everyone is changing the world. Everyone is a world. For everyone needs my help, PM or email if I amn't online.
s304 Posted December 11, 2007 Author Posted December 11, 2007 Could I have a look at your website? www.totalhaircare.com.au
shadow007 Posted December 11, 2007 Posted December 11, 2007 Contents in the both checkout_payment.php files are ok. Please check if checkout_payment.php locates in public_html/store/includes/languages/english/. Everyone is changing the world. Everyone is a world. For everyone needs my help, PM or email if I amn't online.
shadow007 Posted December 11, 2007 Posted December 11, 2007 And could you send me the contents of public_html/store/includes/configure.php by PM Everyone is changing the world. Everyone is a world. For everyone needs my help, PM or email if I amn't online.
s304 Posted December 11, 2007 Author Posted December 11, 2007 Contents in the both checkout_payment.php files are ok.Please check if checkout_payment.php locates in public_html/store/includes/languages/english/. yes its there
Recommended Posts
Archived
This topic is now archived and is closed to further replies.