Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

some customers can't login or use cart


bigbird_3156

Recommended Posts

Posted

Hi everyone,

 

I'm in major trouble here... I have set up a site that was all working fine until I found out that some people cannot login, even with existing accounts or add stuff to their shopping cart...

 

I have checked the set up on a few computers that I know are having this problem... it does not seem to be a cookie blocking problem or anything... One computer that I use will even randomly allow you to login or not allow you to (same with cart)

 

Could I get some people to log onto my site, and just see if they can add something to their cart or not (no need to login or create an account as these problems are obviously linked) and let me know how they go...

 

www.underthemulberrytree.com/catalog

 

ALSO if anyone can help me with the problem and give me some suggestions it would be greatly appreciated (the worst bit about all of this is that my computer has no probs logging in at all... AARRGGHH!!)

 

here are my config files incase that is any help...

 

<?php
 define('HTTP_SERVER', 'https://www.underthemulberrytree.com');
 define('HTTPS_SERVER', 'https://www.underthemulberrytree.com');
 define('ENABLE_SSL', true);
 define('HTTP_COOKIE_DOMAIN', 'underthemulberrytree.com');
 define('HTTPS_COOKIE_DOMAIN', 'underthemulberrytree.com');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/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/mulberry/public_html/catalog');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 define('DB_SERVER', 'localhost');
 define('DB_SERVER_USERNAME', 'XXXXXX');
 define('DB_SERVER_PASSWORD', 'XXXXXX');
 define('DB_DATABASE', 'mulberry_osc1');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');

 

<?php
 define('HTTP_SERVER', 'https://www.underthemulberrytree.com');
 define('HTTP_CATALOG_SERVER', 'https://www.underthemulberrytree.com');
 define('HTTPS_CATALOG_SERVER', 'https://www.underthemulberrytree.com');
 define('ENABLE_SSL_CATALOG', 'true');
 define('DIR_FS_DOCUMENT_ROOT', '/home/mulberry/public_html/catalog');
 define('DIR_WS_ADMIN', '/catalog/admin/');
 define('DIR_FS_ADMIN', '/home/mulberry/public_html/catalog/admin/');
 define('DIR_WS_CATALOG', '/catalog/');
 define('DIR_FS_CATALOG', '/home/mulberry/public_html/catalog/');
 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('DB_SERVER', 'localhost');
 define('DB_SERVER_USERNAME', 'XXXXXX');
 define('DB_SERVER_PASSWORD', 'XXXXXX');
 define('DB_DATABASE', 'mulberry_osc1');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

 

Thankyou SOOOOOOOOOOO much for any help you can give...

Posted

sorry, just to clarify.... when it does not work, if you try to log in it takes you back to the welcome page (says... welcome guest)...

 

if you try to add something to the cart the page just refreshes (as it always does) but the cart is empty both in the cart context box on the left and if you go to the cart page

Posted

Hi Peter,

 

Adding things to cart seemed to work for me ... i even went to the secure login page and items where still in the cart ...

 

However I know that this:

 

  define('HTTP_COOKIE_DOMAIN', 'underthemulberrytree.com');
 define('HTTPS_COOKIE_DOMAIN', 'underthemulberrytree.com');

 

should be

 

  define('HTTP_COOKIE_DOMAIN', '.underthemulberrytree.com');
 define('HTTPS_COOKIE_DOMAIN', '.underthemulberrytree.com');

 

from How to install SSL on OSC: A Simple 1-2-3 Instruction, Simple, straighforward instructions

 

Could be causing your issue

Posted
Hi Peter,

 

Adding things to cart seemed to work for me ... i even went to the secure login page and items where still in the cart ...

 

However I know that this:

 

  define('HTTP_COOKIE_DOMAIN', 'underthemulberrytree.com');
 define('HTTPS_COOKIE_DOMAIN', 'underthemulberrytree.com');

 

should be

 

  define('HTTP_COOKIE_DOMAIN', '.underthemulberrytree.com');
 define('HTTPS_COOKIE_DOMAIN', '.underthemulberrytree.com');

 

from How to install SSL on OSC: A Simple 1-2-3 Instruction, Simple, straighforward instructions

 

Could be causing your issue

 

Thanks for that... what you suggested unfortunatly did not fix the problem...

 

Just to let you all know... on further investigationing...

 

you can add a new customer from a computer that will not allow you to log in ... it will just not let you log into it....

 

... if you type in incorrect login details on these computers it will tell you that this customer does not exist... it is only when you log in successfuly that it will take you back to the welcome page un-logged-in...

 

... obviously therefore, you can accesss the database from these computers...

Posted

it would seem that the problem is linked with the "add weight to product attributes V0.2" module...

 

if someone has any idea if there is another module that will allow you to add weights to product attributes that works it would be great to know about...

 

apparently the cart/login problem only seems to affect people who have not visited the site before I added the module... that is why it was so hard to pick up the problem...

 

so there you go...

Archived

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

×
×
  • Create New...