Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

continue shopping --> 404


stalkert

Recommended Posts

Posted

When i have the following scenario on this site, i get a 404 page:

 

1. go to a product section and add an product to the shoppingcart.

2. click on the 'continue shopping'-button, this works fine.

3. click on the button "Mijn winkelwagen" in dutch or "Mon panier" in french (actually the language doesn't matter)

4. when you now click on 'continue shopping' button you get a 404-page

 

when you don't get the 404 page, try the steps 3,4,3,4,etc. and i am sure you get one ;)

 

Anyone have an idea what is wrong here?

Posted

This are my configure files:

 

<?php
// Please, note that all changes in this file will be lost
// after reconfiguring application by Plesk
define('HTTP_SERVER', 'http://www.mijndomein.com');
define('HTTPS_SERVER', 'http://www.mijndomein.com');
define('ENABLE_SSL', 'false');
define('HTTP_COOKIE_DOMAIN', 'mijndomein.com');
define('HTTPS_COOKIE_DOMAIN', 'mijndomein.com');
define('HTTP_COOKIE_PATH', '/');
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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection

define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'user');
define('DB_SERVER_PASSWORD', 'ww');
define('DB_DATABASE', 'oscommerce');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');
?>

 

en

<?php
// Please, note that all changes in this file will be lost
// after reconfiguring application by Plesk
define('HTTP_SERVER', 'http://www.mijndomein.com');
define('HTTP_CATALOG_SERVER', 'http://www.mijndomein.com');
define('HTTPS_CATALOG_SERVER', 'http://www.mijndomein.com');
define('ENABLE_SSL_CATALOG', 'false');
define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/mijndomein.com/httpdocs');
define('DIR_WS_ADMIN', '/shop/admin/');
define('DIR_FS_ADMIN', '/home/httpd/vhosts/mijndomein.com/httpdocs/shop/admin');
define('DIR_WS_CATALOG', '/shop/');
define('DIR_FS_CATALOG', '/home/httpd/vhosts/mijndomein.com/httpdocs/shop/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

// define our database connection

define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'user');
define('DB_SERVER_PASSWORD', 'ww');
define('DB_DATABASE', 'oscommerce');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');
?>

 

settings in my admin-> sessions:

 

Session Directory			 /tmp/   
Force Cookie Use			 False   
Check SSL Session ID			 False   
Check User Agent			 False   
Check IP Address			 False   
Prevent Spider Sessions			True   
Recreate Session			 False

Posted

The 404 error is solved to modify the cookie path to:

 

define('HTTP_COOKIE_PATH', '/shop/');

 

But the problem is that every click oscommerce add a new session to my sessions-table. Anyone an idea how i can fix this? May it be confuration files which contain errors?

Archived

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

×
×
  • Create New...