Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A few problems


Evenstar

Recommended Posts

When a customer logs in and presses log in the page they are then sent to is coming up with a page not found error.

The same happens on continue after the successful order confimation page and also if you click on the Checkout header when there is nothing in the basket.

In the checkout one there is already a redirect set up by OSC if the basket is empty but it isn't doing this.

Can someone tell me what I need to change to solve this.

Link to comment
Share on other sites

When a customer logs in and presses log in the page they are then sent to is coming up with a page not found error.

The same happens on continue after the successful order confimation page and also if you click on the Checkout header when there is nothing in the basket.

In the checkout one there is already a redirect set up by OSC if the basket is empty but it isn't doing this.

Can someone tell me what I need to change to solve this.

 

A url might help but usually when there is a problem with the login and checkout links it is ssl related. If you do not have a ssl certificate you need to set ssl to false in your two configure.php files. If you do have a certificate you need to make sure the https: defines in your configure.php files are correct

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

A url might help but usually when there is a problem with the login and checkout links it is ssl related.  If you do not have a ssl certificate you need to set ssl to false in your two configure.php files. If you do have a certificate you need to make sure the https: defines in your configure.php files are correct

 

Hi this is what I have in my config file. I have a shared ssl.

 

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 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://filmcellworld.co.uk');

define('HTTPS_SERVER', 'https://server2.simplewebserver.co.uk/~filmcell/commerce');

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'http://filmcellworld.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'https://server2.simplewebserver.co.uk/~filmcell/commerce');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/commerce/');

define('DIR_WS_HTTPS_CATALOG','/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', '/commerce/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', username);

define('DB_SERVER_PASSWORD', password);

define('DB_DATABASE', database);

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql');

?>

Link to comment
Share on other sites

Hi this is what I have in my config file. I have a shared ssl.

 

<?php

/*

  $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

  osCommerce, Open Source E-Commerce Solutions

  http://www.oscommerce.com

 

  Copyright ? 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://filmcellworld.co.uk');

define('HTTPS_SERVER', 'https://server2.simplewebserver.co.uk/~filmcell/commerce');

  define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'http://filmcellworld.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'https://server2.simplewebserver.co.uk/~filmcell/commerce');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/commerce/');

define('DIR_WS_HTTPS_CATALOG','/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', '/commerce/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', username);

define('DB_SERVER_PASSWORD', password);

define('DB_DATABASE', database);

  define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql');

?>

 

Can anyone help on this. I think my SSL settings are ok as everything else that others have had problems with work ok.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...