Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customer Login Problem


sbeehre

Recommended Posts

Posted

Ok i have setup and online skate shop at http://www.concretesurf.co.nz/csshop/index.php and when i want to login as a user i get this error message:- 404 Not Found https://www.safeshop.co.nz/csshop/index.php...e5e23c839dc617b

 

The strange thing is before i click the login button the web address is https://www.safeshop.co.nz/csurf/csshop/login.php but as you can see it drops the csurf part!?

 

here is my /includes/configure.php file

 

<?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.concretesurf.co.nz'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.safeshop.co.nz'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.concretesurf.co.nz');
 define('HTTPS_COOKIE_DOMAIN', 'www.concretesurf.co.nz');
 define('HTTP_COOKIE_PATH', '/csshop/');
 define('HTTPS_COOKIE_PATH', '/csurf/csshop/');
 define('DIR_WS_HTTP_CATALOG', '/csshop/');
 define('DIR_WS_HTTPS_CATALOG', '/csurf/csshop/');
 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', '/home/httpd/vhlinks/www.concretesurf.co.nz/csshop/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

Here is how i setup my secure site in my web control panel

cpanel.jpg

what could i be doing wrong?? also if i try to checkout goods i get this error to!!!

Posted

AH HAH!!! I have figured my problem out. Make sure everything that has HTTP'' has something defined!!! I used mirrored paths and cookies for each http and https and that worked for me. I noticed in your file that you have different ones. Try matching them and see what happens!

 

Bed time!

;)

  • 10 months later...
Posted
AH HAH!!! I have figured my problem out. Make sure everything that has HTTP'' has something defined!!! I used mirrored paths and cookies for each http and https and that worked for me. I noticed in your file that you have different ones. Try matching them and see what happens!

 

Bed time!

;)

 

Yeah was stuck at this for 5 hours..

(login, add to cart result in blank page)

 

n know what..

 

the cookie is causing the problem i encounter , eg: (config from one of the earlier post)

 

At the end 'mysql' cannot be blank, once 'mysql' is entered and the top section cookie domain is set correctly 'www.yourdomain.com' problem was fixed!!!

=========================

 

define('HTTP_SERVER', 'http://www.concretesurf.co.nz'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.safeshop.co.nz'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'www.concretesurf.co.nz');

define('HTTPS_COOKIE_DOMAIN', 'www.concretesurf.co.nz');

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

define('HTTPS_COOKIE_PATH', '/csurf/csshop/');

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

define('DIR_WS_HTTPS_CATALOG', '/csurf/csshop/');

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', '/home/httpd/vhlinks/www.concretesurf.co.nz/csshop/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

This end section..

=============

 

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

Archived

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

×
×
  • Create New...