Page 1 of 1
[osCommerce] No Order Total
Posted: Mon Feb 22, 2010 1:58 am
by maiis
Hi,
I'm trying to install MSU on my oscommerce but i've a strange issue. Everything works fine, but when a customer make an order, the confirmation page is displayed, the confirmation mail is sent, but the order doesn't show on the customer history neither in the admin panel...
After looking in the DB, the order is record, but nothing in the order_total table.
Any idea ?
Without MSU it's just works fine.
Best regards,
Emmanuel
Re: [osCommerce] No Order Total
Posted: Mon Feb 22, 2010 2:00 am
by maiis
Some details of my configuration:
- PHP Version 5.2.6-1+lenny4
- MySQL 5.0.51a
- Zend Optimizer 3.3.9
- Oscommerce MS2
- STS Template
Re: [osCommerce] No Order Total
Posted: Mon Feb 22, 2010 1:46 pm
by inveo
What is your store URL?
Re: [osCommerce] No Order Total
Posted: Mon Feb 22, 2010 1:51 pm
by maiis
Re: [osCommerce] No Order Total
Posted: Mon Feb 22, 2010 2:34 pm
by inveo
I don't see MSU installed there. What is your includes/configure.php content?
Re: [osCommerce] No Order Total
Posted: Mon Feb 22, 2010 2:36 pm
by maiis
It is not installed at this time, cause it's a live shop and if i don't receive orders ...
Re: [osCommerce] No Order Total
Posted: Mon Feb 22, 2010 2:38 pm
by maiis
Code: Select all
<?php
/*
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
*/
// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://www.virtualracingchassis.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.virtualracingchassis.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'virtualracingchassis.com');
define('HTTPS_COOKIE_DOMAIN', 'virtualracingchassis.com');
define('HTTP_COOKIE_PATH', '/shop/');
define('HTTPS_COOKIE_PATH', '/shop/');
define('DIR_WS_HTTP_CATALOG', '/shop/');
define('DIR_WS_HTTPS_CATALOG', '/shop/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
define('DIR_FS_CATALOG', 'pathtocatalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
// define our database connection
define('DB_SERVER', '');
define('DB_SERVER_USERNAME', '');
define('DB_SERVER_PASSWORD', '');
define('DB_DATABASE', '');
define('USE_PCONNECT', 'true'); // use persistent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php');
define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php');
define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php');
define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/');
define('STS_DEFAULT_TEMPLATE', DIR_WS_INCLUDES . 'sts_template.html');
define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php');
define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php');
define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php');
?>
Re: [osCommerce] No Order Total
Posted: Mon Feb 22, 2010 2:57 pm
by inveo
First of all, correct your includes/configure.php file (listing changed lines only):
Code: Select all
define('HTTP_COOKIE_DOMAIN', 'www.virtualracingchassis.com');
define('HTTPS_COOKIE_DOMAIN', 'www.virtualracingchassis.com');
define('USE_PCONNECT', 'false'); // use persistent connections?
and try if that helps.
maiis wrote:It is not installed at this time, cause it's a live shop and if i don't receive orders ...
Without MSU installed we can not make any tests and tell you what is wrong.
Re: [osCommerce] No Order Total
Posted: Tue Feb 23, 2010 1:10 am
by maiis
I've made the changes you suggest, and I found a .htaccess in the includes/ dir, don't know what it was for, delete it, and now it's works fine.
Thanks