Zen Cart Logo
Forums / General Questions / Forced to log into account when viewing products

Forced to log into account when viewing products

Views: 1,832

Results 21 to 34 of 34
29 Jan 2015, 7:35 PM
#21
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Forced to log into account when viewing products

clriding:

Hi and thank you. Yeah I can't understand why this is an issue? It shouldn't be and I am not too happy with 12leaves as I contacted them 2 days ago now.. I realise that it may take up to 72 hours however, this is affecting people staying on my site. Ok, I will go through the comparison tool and see what's what... thanks :)This is why you NEVER make wholesale changes to your LIVE site.. You need to set up a development CLONE of your site to test changes before applying them to your live site.. If you want to stop impacting sales, then you need to go back to your old template..

In the meantime the FASTEST way to see what 12 Leaves did is to compare their template files to their Zen Cart defaults.. You willsee the changes they made, and hopefully it will be clear which change they made is the one that prevents customers from seeing product pages unless they are logged in.

In the meantime you should ALSO double check your settings as Ajeh asked about..> Ajeh:

What are your settings for Configuration ... Customer Details ...

29 Jan 2015, 7:44 PM
#22
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Forced to log into account when viewing products

Also, if you turn off the SEO/rewrites on your site ... does this change things? This is especial of interest if you are not using any settings for the Customer Authorization that I asked about in post #18 ...

29 Jan 2015, 7:52 PM
#23
clriding avatar

clriding

New Zenner

Join Date:
Feb 2012
Posts:
53
Plugin Contributions:
0

Re: Forced to log into account when viewing products

DivaVocals:

This is why you NEVER make wholesale changes to your LIVE site.. You need to set up a development CLONE of your site to test changes before applying them to your live site.. If you want to stop impacting sales, then you need to go back to your old template..

In the meantime the FASTEST way to see what 12 Leaves did is to compare their template files to their Zen Cart defaults.. You willsee the changes they made, and hopefully it will be clear which change they made is the one that prevents customers from seeing product pages unless they are logged in.

In the meantime you should ALSO double check your settings as Ajeh asked about..

Good Evening, yes I know you are right in all you say. I am working on comparing the files - I will not give up! Yes the admin settings are the first thing I checked and they are all correct.

I will keep you posted.

29 Jan 2015, 7:53 PM
#24
clriding avatar

clriding

New Zenner

Join Date:
Feb 2012
Posts:
53
Plugin Contributions:
0

Re: Forced to log into account when viewing products

Ajeh:

Also, if you turn off the SEO/rewrites on your site ... does this change things? This is especial of interest if you are not using any settings for the Customer Authorization that I asked about in post #18 ...

I tried that what you suggested and this did not work. I don't know about the SEO/rewrites, it did cross my mind... ok, it's on my checklist.

29 Jan 2015, 7:54 PM
#25
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Forced to log into account when viewing products

What are the current settings on your site for those questions in post #18?

30 Jan 2015, 2:54 PM
#26
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Forced to log into account when viewing products

clriding:

I tried that what you suggested and this did not work. I don't know about the SEO/rewrites, it did cross my mind... ok, it's on my checklist.

I'm thinking the template change is a bit of a red herring.

Have you tried reverting back to the original template to confirm the problem goes away?

I appreciate you said earlier "It works fine on my previous template", but unless you've tried reverting back again to confirm this, the correct wording would/should be "It worked fine on the previous template.

Where I'm coming from is that it is possible that something else may have got changed when you installed the new template, and if you now try to revert back to the original template (which should take only a couple of keypresses) I have a got feeling that you'll still be having the exact same problem.

The reason I've come to this theory is because after inspecting the source code for the relevant site pages I have determined that the links being provided are correct and valid, but when entered directly into a web browser I'm still being redirected to the login page, and the only thing that could cause this is via the use of URL rewriting.

I've eliminated *CUSTOMERS_APPROVAL_AUTHORIZATION *settings as being a possible cause, because if the customer was unauthorised they'd either not be seeing the prices, and/or they certainly wouldn't be able to add to cart (which they CAN do in your store)

The problem therefore has to be related to the SEO URL rewriting. Not much else it can be.

Cheers
RodG

30 Jan 2015, 5:46 PM
#27
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Forced to log into account when viewing products

RodG:

...The problem therefore has to be related to the SEO URL rewriting. Not much else it can be. ...
I'm definitely seeing a problem with the installation of a module (or hand created .htaccess with redirects) to provide "Alternate URLs". I see the stock "Zen Cart URLs" in the HTML / pages (and the canonical), and then a 301 to the "Alternate URLs". The OP will want to disable (or remove these alterations) to help aid in testing.

I'm also seeing issues with the template. The biggest is a "link" element to "bootstrap" CSS code (relative URI) being loaded before the "base" element. In the HTML head element, when the "base" element is added for relative links (not starting with a "/" or protocol identifier), the "base" element should always be added before any "link" elements using relative paths.

Ajeh:

What are the current settings on your site for those questions in post #18?
At this point we really need the OP to provide answers to the questions asked by Ajeh and the questions asked in the "Posting Tips" (installed modules and their version, upgrade history, debug logs, etc). In addition I would ask the OP to provide the contents of their .htaccess file (wrap response inside code tags, ex: ```
[CODE]contents of .htaccess file[/CODE]




**NOTE:** I also note the thread mentions Zen Cart 1.3.9d... If this is accurate... There have been a large number of bugfixes, enhancements, security patches, and other changes to Zen Cart since April 2010... It may be time for the OP to start the upgrade process (on a development site once their main site is working again).
30 Jan 2015, 7:17 PM
#28
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Forced to log into account when viewing products

RodG:

I'm thinking the template change is a bit of a red herring.

Have you tried reverting back to the original template to confirm the problem goes away?

> RodG:

Where I'm coming from is that it is possible that something else may have got changed when you installed the new template, and if you now try to revert back to the original template (which should take only a couple of keypresses) I have a got feeling that you'll still be having the exact same problem.

At the VERY BEGINNING of this thread the OP was asked what happens when reverting the template back to her previous template.. she reported that the problem went away.. What OTHER conclusion do you draw from that???? Because IMHO, that SCREAMS that the issue is possibly related to her template..

DivaVocals:

What happens if you switch to a different template?

clriding:

Hi,

It works fine on my previous template.

regards

30 Jan 2015, 7:23 PM
#29
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Forced to log into account when viewing products

lhungil:

At this point we really need the OP to provide answers to the questions asked by Ajeh and the questions asked in the "Posting Tips" (installed modules and their version, upgrade history, debug logs, etc). In addition I would ask the OP to provide the contents of their .htaccess file (wrap response inside code tags, ex: ```
[CODE]contents of .htaccess file[/CODE]


and she needs to do the file comparison exercise I suggest to MAKE SURE her template is not the culprit..
30 Jan 2015, 7:28 PM
#30
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Forced to log into account when viewing products

RodG:

I appreciate you said earlier "It works fine on my previous template", but unless you've tried reverting back again to confirm this, the correct wording would/should be "It worked fine on the previous template.

If the OP did not in fact switch templates (as I asked her to do when I made my inquiry) I agree she is not aiding her cause AT ALL.. Hopefully she is NOT ASSUMING that because it worked BEFORE that there would be no problem now..

I do hope her answer was not a matter of semantics here, and that when she said "It works fine on my previous template", she means she ACTUALLY switched her template back to test what happens when she switched back (as I asked her to do when I made my inquiry)..

It NEVER helps when people make assumptions versus trying the things being SUGGESTED..

30 Jan 2015, 11:06 PM
#31
clriding avatar

clriding

New Zenner

Join Date:
Feb 2012
Posts:
53
Plugin Contributions:
0

Re: Forced to log into account when viewing products

Ajeh:

Also, if you turn off the SEO/rewrites on your site ... does this change things? This is especial of interest if you are not using any settings for the Customer Authorization that I asked about in post #18 ...

Hey, I tried disabling the seo rewrites but this did not have any effect. I'm turning in for the night and will try again tomorrow. Unfortunately, 12leaves from whom I bought the template from, reckon it's nothing to do with their hard-coding as they have not touched it in any way... to be continued. :)

30 Jan 2015, 11:12 PM
#32
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Forced to log into account when viewing products

clriding:

Hey, I tried disabling the seo rewrites but this did not have any effect. I'm turning in for the night and will try again tomorrow. Unfortunately, 12leaves from whom I bought the template from, reckon it's nothing to do with their hard-coding as they have not touched it in any way... to be continued. :)and you confirmed this HOW????

21 Feb 2015, 2:58 PM
#33
clriding avatar

clriding

New Zenner

Join Date:
Feb 2012
Posts:
53
Plugin Contributions:
0

Re: Forced to log into account when viewing products

DivaVocals:

If the OP did not in fact switch templates (as I asked her to do when I made my inquiry) I agree she is not aiding her cause AT ALL.. Hopefully she is NOT ASSUMING that because it worked BEFORE that there would be no problem now..

I do hope her answer was not a matter of semantics here, and that when she said "It works fine on my previous template", she means she ACTUALLY switched her template back to test what happens when she switched back (as I asked her to do when I made my inquiry)..

It NEVER helps when people make assumptions versus trying the things being SUGGESTED..
s
Hi ya, yep I actually revert back to previous template and test it. I then resolved the issue, however, it has now happened again!! Looking over this forum as I can'[t remember what I did.

21 Feb 2015, 6:25 PM
#34
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Forced to log into account when viewing products

clriding:

s
Hi ya, yep I actually revert back to previous template and test it. I then resolved the issue, however, it has now happened again!! Looking over this forum as I can'[t remember what I did.

and honestly since you really never provided enough detail about what you did (or didn't do), neither can anyone here..