Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

login redirects to wrong page


mxer210

Recommended Posts

Posted

I tried logging into my store, which is under development, but once you enter the info, and click enter, it redirets to index.php, and doesn' t log the user in. I've been editing the hmtl and php of my store, but I just reuploaded the osc default files and it still doesn' twork. I reuploaded default login.php, account.php, index.php, and header.php and still doesn't work. I changed servers 2 weeks ago and so I'm not sure if that could be it. Could anyone help me out? Thanks

Posted

Make sure that in your configure.php files that your cookie domain is set to www.yourdomain.com and not http://www.yourdomain.com

 

If that doesn't work then post your includes/configure.php file here - without the database user name and password.

 

Vger

Posted

I changed it and it didn't work. When I click "my acount" it goes to http://www.purefiveaudio.com/www.purefivea...com/account.php

 

Here's my configure.php file. Thanks for your help. :-)

 

 

 

 

 

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

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

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

define('HTTP_COOKIE_DOMAIN', 'www.purefiveaudio.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

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/purefi2/public_html/');

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

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

Archived

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

×
×
  • Create New...