Forums / Bug Reports / [Not a bug] My Store Does Not Work In Google Chrome

[Not a bug] My Store Does Not Work In Google Chrome

Locked

Started by articleck on 13 Nov 2011, 9:16 PM · Views: 3,869

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
13 Nov 2011, 9:16 PM
#1
articleck avatar

articleck

New Zenner

Join Date:
Nov 2011
Posts:
33
Plugin Contributions:
0

[Not a bug] My Store Does Not Work In Google Chrome

Problem...

Customers cannot signup or login when using Google Chrome as a browser. Instead of going to the next step the page refreshes and all the information that they entered is lost as far as they know.

The account is created however, but the customer is unable to login. No error message is given, the page just refreshes.

This means that over 24% of our vistitors cannot buy (source google analytics).

Is anyone else having this problem? No-one wants a store where a quarter of their market could not buy even if they wanted to. This needs fixing quickly.

13 Nov 2011, 9:24 PM
#2
articleck avatar

articleck

New Zenner

Join Date:
Nov 2011
Posts:
33
Plugin Contributions:
0

Re: [Not a bug] My Store Does Not Work In Google Chrome

Just in case someone tells ME not to use Google Chrome

Top 5 browsers used to access our store in the last 7 days

  1. Internet Explorer
    Visits: 683 43.37%
  2. Chrome
    Visits: 390 24.76%
  3. Firefox
    Visits: 309 19.62%
  4. Safari
    Visits: 118 7.49%
  5. Opera
    Visits: 54 3.43%
13 Nov 2011, 9:26 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: [Not a bug] My Store Does Not Work In Google Chrome

A link to your store would let us see the problem ourselves.

13 Nov 2011, 9:30 PM
#4
articleck avatar

articleck

New Zenner

Join Date:
Nov 2011
Posts:
33
Plugin Contributions:
0

Re: [Not a bug] My Store Does Not Work In Google Chrome

http://www.magicwoodshed.com/cart

It is a fresh install of zen cart 1.3.9 no mods activated.

This is a testing environment so I can turn on any debugging if need be. (just not sure how yet).

13 Nov 2011, 9:34 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,725
Plugin Contributions:
0

Re: [Not a bug] My Store Does Not Work In Google Chrome

Switch back to the default Classic template - Do things work?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

13 Nov 2011, 9:44 PM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,725
Plugin Contributions:
0

Re: [Not a bug] My Store Does Not Work In Google Chrome

k- changing the template doesn't help - Has this shop ever worked with Chrome? Who is your host?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

13 Nov 2011, 9:46 PM
#7
articleck avatar

articleck

New Zenner

Join Date:
Nov 2011
Posts:
33
Plugin Contributions:
0

Re: [Not a bug] My Store Does Not Work In Google Chrome

No nothing changed when I switch to default template.

I'll leave it that way for now, but man it looks ugly lol.

13 Nov 2011, 9:48 PM
#8
articleck avatar

articleck

New Zenner

Join Date:
Nov 2011
Posts:
33
Plugin Contributions:
0

Re: [Not a bug] My Store Does Not Work In Google Chrome

If I enter a password that is NOT correct, I do get an error message.

Error: Sorry, there is no match for that email address and/or password.

But using the correct password does not log one in.

13 Nov 2011, 9:51 PM
#9
articleck avatar

articleck

New Zenner

Join Date:
Nov 2011
Posts:
33
Plugin Contributions:
0

Re: [Not a bug] My Store Does Not Work In Google Chrome

I have a VPS with dotblock.com

server info is

Server OS: Linux 2.6.18-274.7.1.el5 Database: MySQL 5.0.92-community-log
Server Date: 11/13/2011 16:50:09 Database Date: 11/13/2011 16:50:09
Server Up Time: 16:50:09 up 10 days, 6:55, 0 users, load average: 0.11, 0.23, 0.26 HTTP Server: Apache
PHP Version: 5.3.8 (Zend: 2.3.0) PHP Memory Limit: 64M PHP Safe Mode: Off

13 Nov 2011, 9:54 PM
#10
articleck avatar

articleck

New Zenner

Join Date:
Nov 2011
Posts:
33
Plugin Contributions:
0

Re: [Not a bug] My Store Does Not Work In Google Chrome

This shop has never worked in chrome.

I have a working store running the latest version of osc but I find it hard to work with and cannot get a discount coupons mod working on it... which is essential to my marketing strategy.

I am hoping to use zen cart, for many reason. Mainly the template structure is better. I have tried oscmax but found that difficult too a problem that I could not surmount with no-one willing to help in the forum, even with the offer of payment.

I am hoping that zen cart is the solution.

13 Nov 2011, 11:08 PM
#11
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: [Not a bug] My Store Does Not Work In Google Chrome

we have built a couple of hundred zencart stores over the years. we test them in ALL popular browsers, including chrome, IE6,7,8,9 and FF (right the way back to 3.6), and safari...

... and they all seem to work just fine in all browsers.

OK... so we seldom tamper with the core code, we use a very reliable and knowledgeable host, and we strenuously avoid using suspicious commercial templates.

20 years a Zencart User

14 Nov 2011, 12:21 AM
#12
articleck avatar

articleck

New Zenner

Join Date:
Nov 2011
Posts:
33
Plugin Contributions:
0

Re: [Not a bug] My Store Does Not Work In Google Chrome

Ok, and your comments help me how?

You can see it not working.

Template is not the issue. It is something else.

I advise everyone to check there store in google chrome, because then we may be able to find a solution.

I am sure others are affected by this.

If you don't have a constructive comment, why post?

14 Nov 2011, 12:28 AM
#13
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,748
Plugin Contributions:
56

Re: [Not a bug] My Store Does Not Work In Google Chrome

In some hosting environments, Chrome has weird session issues. Have you tried this change:

http://www.zen-cart.com/forum/showpost.php?p=875306&postcount=19

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

14 Nov 2011, 6:40 AM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: [Not a bug] My Store Does Not Work In Google Chrome

articleck:

If I enter a password that is NOT correct, I do get an error message.

Error: Sorry, there is no match for that email address and/or password.

> 
> But using the correct password does not log one in.
Those symptoms are perfect indicators that your problem is related to session handling, specifically that your browser isn't communicating correctly with the server in a way the server recognizes, and thus the session cannot be negotiated properly. Chrome is notorious for that. 

If the problem were consistent across all browsers, the following troubleshooting would be suggested: <https://www.zen-cart.com/tutorials/index.php?article=281> . Tips from that article may still be useful, but I'd start with swguy's suggestion above, as it's more targeted to your unique problem.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

14 Nov 2011, 8:40 PM
#15
articleck avatar

articleck

New Zenner

Join Date:
Nov 2011
Posts:
33
Plugin Contributions:
0

Re: [Not a bug] My Store Does Not Work In Google Chrome

swguy:

In some hosting environments, Chrome has weird session issues. Have you tried this change:

http://www.zen-cart.com/forum/showpost.php?p=875306&postcount=19

I cannot make the changes detailed in that post because the code to change does not exist in the file specified.

The only similar code that I can find in the file is

if (PHP_VERSION >= '5.2.0') {
  session_set_cookie_params(0, $path, (zen_not_null($cookieDomain) ? $domainPrefix . $cookieDomain : ''), FALSE, TRUE);
} else {
  session_set_cookie_params(0, $path, (zen_not_null($cookieDomain) ? $domainPrefix . $cookieDomain : ''));
}

But my server is not php version 5.2.0 it is 5.3.8

14 Nov 2011, 9:31 PM
#16
articleck avatar

articleck

New Zenner

Join Date:
Nov 2011
Posts:
33
Plugin Contributions:
0

Re: [Not a bug] My Store Does Not Work In Google Chrome

I set Cookie Domain to false in sessions configuration.

Now it seems to be working. Not fully tested yet, but looking good. :cool:

14 Nov 2011, 9:44 PM
#17
articleck avatar

articleck

New Zenner

Join Date:
Nov 2011
Posts:
33
Plugin Contributions:
0

Re: [Not a bug] My Store Does Not Work In Google Chrome

ok, it's not fixed.

One can login now, but not checkout...

If one is logged in, the cart redirects to the login/signup screen
when attempting to to checkout.

14 Nov 2011, 9:51 PM
#18
articleck avatar

articleck

New Zenner

Join Date:
Nov 2011
Posts:
33
Plugin Contributions:
0

Re: [Not a bug] My Store Does Not Work In Google Chrome

It's working... I cleared my browser cache and the problem went away.

Thanks for the help

Dan

15 Nov 2011, 2:38 AM
#19
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: [Not a bug] My Store Does Not Work In Google Chrome

articleck:

I set Cookie Domain to false in sessions configuration.

Now it seems to be working. Not fully tested yet, but looking good. :cool:

articleck:

It's working... I cleared my browser cache and the problem went away.

Thanks for the help

Dan

Thanks for confirming that it works fine.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.