[quote name=‘hykit’]Can you test out my website?
www.inkwow.com
Does it work out for all privacy settings?
I’m running cscart 2.0.8
If my website works and yours does not, then there is something wrong with your installation.
My installation has problems with AOL users.[/QUOTE]
Actuallly, it appears the “$data[‘ip’] = $ip[‘host’];” fix offered by CS-Cart, along with clearing temporary Internet files and cookies seems to have resolved the problem with IE8 on that one particular machine.
On that same machine, though, the AT&T-Yahoo browser consistently fails for my site. I’ll try yours from that machine and let you know what I find.
i am having this problem too i tried cs-cart fix its working on my computers… i think you need to clear cookies for it to work
Hi, Guys -
I can finally replicate my problem (which appears now to be quite different from what everyone else is likely dealing with):
- Open IE 8 (might happen on other browsers, too, but I’ve been testing this one).
- Go to Google.com.
- search for: avocado lemon soap site:herbariasoap.com
- Click on the first search result.
- Once at the “Avocado Lemon” soap page in the herbaria site, click “add to cart”.
- I predict you’ll see a message that the cart is empty.
- Click on any soap link in the left-hand column.
- Once you’ve arrived at the new page, I predict you’ll see the mini cart showing that there’s one item in the cart.
- Click the “add to cart” button in the current soap page.
- I predict you’ll once again see an empty cart in the shopping cart page.
Now try the following:
- Clear your browser cache and restart IE 8.
- Visit herbariasoap.com directly.
- Click on any soap page.
- Add the soap to your cart.
- I predict you’ll see the item in your cart now.
I believe it’s an issue with my .htaccess file, in which I’ve created several redirects from the corresponding pages in my former ASP version of the site. For example, it redirects “http://www.herbariasoap.com/soaps/chocolate-soap.asp” to “http://www.herbariasoap.com/soaps/chocolate-soap.html”, among numerous others. I’ve done this to maintain my amazingly-good Google search rankings.
However, it appears that as long as one of these redirects is triggered, it causes the add-to-cart problem I’ve been battling all along.
So my question is, how do I perform the redirects without preventing items from being added to my cart?
I’ve attached my .htaccess file, renamed to allow the upload.
[quote name=‘Herbaria’]Hi, Guys -
I can finally replicate my problem (which appears now to be quite different from what everyone else is likely dealing with):
- Open IE 8 (might happen on other browsers, too, but I’ve been testing this one).
- Go to Google.com.
- search for: avocado lemon soap site:herbariasoap.com
- Click on the first search result.
- Once at the “Avocado Lemon” soap page in the herbaria site, click “add to cart”.
- I predict you’ll see a message that the cart is empty.
- Click on any soap link in the left-hand column.
- Once you’ve arrived at the new page, I predict you’ll see the mini cart showing that there’s one item in the cart.
- Click the “add to cart” button in the current soap page.
- I predict you’ll once again see an empty cart in the shopping cart page.
Now try the following:
- Clear your browser cache and restart IE 8.
- Visit herbariasoap.com directly.
- Click on any soap page.
- Add the soap to your cart.
- I predict you’ll see the item in your cart now.
I believe it’s an issue with my .htaccess file, in which I’ve created several redirects from the corresponding pages in my former ASP version of the site. For example, it redirects “http://www.herbariasoap.com/soaps/chocolate-soap.asp” to “http://www.herbariasoap.com/soaps/chocolate-soap.html”, among numerous others. I’ve done this to maintain my amazingly-good Google search rankings.
However, it appears that as long as one of these redirects is triggered, it causes the add-to-cart problem I’ve been battling all along.
So my question is, how do I perform the redirects without preventing items from being added to my cart?
I’ve attached my .htaccess file, renamed to allow the upload.[/QUOTE]
Your website is definitely broken.
I’m using Safari and when I clicked on “add to cart”, I get your shopping basket is currently empty.
Definitely your .htaccess and your mods are screwing things up.
I see 2 separate cookies:
one for the path: “/soaps”
one for the path: “/”
Set it up so only one cookie is created with the path “/”.
My issue is specific to AOL users.
More progress…
I’ve updated my .htaccess file (attached), and the vast majority of my Google links don’t disrupt my add-to-cart-buttons anymore.
In reference to my previous example:
- Open IE 8.
- Go to Google.com.
- search for: avocado lemon soap site:herbariasoap.com
- Click on the first search result.
- Once at the “Avocado Lemon” soap page in the herbaria site, click “add to cart”.
- I predict you’ll see a message that the cart now has an item in it.
What seems to be happening:
- The Google link points to an .ASP URL from my old site.
- The .htacces file redirects to the appropriate /index.php?dispatch=products.view&product_id=XXX file.
HOWEVER…
Two Google links still don’t work (that I’ve found thus far), and they are ones that already link to the updated SEO-friendly URL:
- Clear your browser cache.
- Visit Google.com
- Search on: sensitive skin fragrance free soap
- In the first search result, note that the linked URL is the new, SEO-friendly “www.herbariasoap.com/soaps/sensitive-skin-fragrance-free-soap.html”.
- Click on the link.
- Click the add-to-cart button
- I predict you’ll see the cart is empty.
How do I rectify this? It seems like my new .htaccess file works only so long as Google hasn’t yet located my new SEO-friendly URLs.
[quote name=‘hykit’]Your website is definitely broken.
I’m using Safari and when I clicked on “add to cart”, I get your shopping basket is currently empty.
Definitely your .htaccess and your mods are screwing things up.
I see 2 separate cookies:
one for the path: “/soaps”
one for the path: “/”
Set it up so only one cookie is created with the path “/”.
My issue is specific to AOL users.[/QUOTE]
hykit -
Thanks so much for your insightful response.
Unfortunately, my knowledge of cookies is very limited. To the best of my understanding, I haven’t changed any code pertaining to cookies (as I’ve modified only .tpl files in my site, and no .php files).
So unfortunately, I really don’t know how the cookies are created to begin with, and I don’t know how to “set it up so only one cookie is created with the path ‘/’”, as you graciously suggested.
Any idea where this could be going wrong? I would greatly appreciate your help.
Also, please note my updated .htaccess file in my previous post.
Thanks ahead of time.
[quote name=‘Herbaria’]hykit -
Thanks so much for your insightful response.
Unfortunately, my knowledge of cookies is very limited. To the best of my understanding, I haven’t changed any code pertaining to cookies (as I’ve modified only .tpl files in my site, and no .php files).
So unfortunately, I really don’t know how the cookies are created to begin with, and I don’t know how to “set it up so only one cookie is created with the path ‘/’”, as you graciously suggested.
Any idea where this could be going wrong? I would greatly appreciate your help.
Also, please note my updated .htaccess file in my previous post.
Thanks ahead of time.[/QUOTE]
You can modified ‘class.session.php’
Change:
ini_set(‘session.cookie_path’, Registry::get(‘config.current_path’));
To:
ini_set(‘session.cookie_path’,‘/’);
[quote name=‘hykit’]You can modified ‘class.session.php’
Change:
ini_set(‘session.cookie_path’, Registry::get(‘config.current_path’));
To:
ini_set(‘session.cookie_path’,‘/’);[/QUOTE]
You are a genius. As best as I can tell, your solution has fixed my problem. I never would have figured this out on my own, so I am indebted to you for your help. Thank you very, very much!
If you’d like some handmade all-natural soap as a gift, please help yourself! Place an order in the cart, pay by “check by mail”, explain in your order notes that “Scott said this is free”, and I’ll get you taken care of!
Thanks again! I’ll keep my fingers crossed that this has truly resolved my issue.
[quote name=‘Herbaria’]You are a genius. As best as I can tell, your solution has fixed my problem. I never would have figured this out on my own, so I am indebted to you for your help. Thank you very, very much!
If you’d like some handmade all-natural soap as a gift, please help yourself! Place an order in the cart, pay by “check by mail”, explain in your order notes that “Scott said this is free”, and I’ll get you taken care of!
Thanks again! I’ll keep my fingers crossed that this has truly resolved my issue.[/QUOTE]
I’m glad that fixed your issue.
Thanks for the offer of the free gift, but I’m a manly man who bathes in detergent.
However, if you have some herbal shampoo that makes my hair silky soft, full of body, and smell all nice, I might be interested.
My cart seems to have been working okay for a week, but today, several people called in saying they kept getting the “empty cart” message after adding items to the cart.
The steps I’ve taken to address the issue–as I’ve done all along during this debacle–are the following:
- Closed the store
- Deleted all rows from the user_session_products table (there were a few hundred)
- Deleted all rows from the cscart_stored_sessions table (there were almost 7,000!)
- Deleted all rows from the cscart_sessions table (a few hundred).
What baffles me is why there are so many sessions in the cscart_stored_sessions table. Shouldn’t there be at most one per visitor? According to both Google Analytics and the CS-Cart Statistics, we’re averaging about 400 visitors a day. The last time I cleared out the aforementioned tables was 11/1/09. Today is 11/6/09. In those 6 days, then, we’ve had about 2,400 visitors to our site. How can we possibly have almost 7,000 records in the cs_cart_stored_sessions table then?
My cart seems to be fundamentally not properly keeping track of visitors and their sessions.
Can’t help but think that this excerpt from my php_errorlog file shows problems.
Herbaria,
It’s those pesky robots that are flooding your sessions table.
cs-cart doesn’t do a good job cleaning out those sessions table.