Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Location
    BC, Canada
    Posts
    10
    Plugin Contributions
    0

    Default Customer log in issue with SEO mod installed

    [Initial info]
    Version: Zen Cart v1.3.8a/v1.3.8
    Changes: There were some code changes but unfortunately I know nothing about them
    URL: https://amazingdiscoveries.org/store
    [/Initial info]

    Hi,

    I have a problem with customer logging in. (Our store uses SSL ) Here is what to reproduce problem:

    1) Restart web browser (probably cookies or other data need to be shreded)
    2) Enter https://amazingdiscoveries.org/store
    3) Fill in the log in form:

    Code:
    <form method="post" action="https://amazingdiscoveries.org/store/index.php?main_page=login&action=process&zenid=b231ce7a01753cc8bbcf6e0da29b1ccc" name="login"/>
    Email: <input id="login-email-address" type="text" value="Email address ..." onfocus="this.value=(this.value=='Email address ...')? '' : this.value ;" onblur="if (this.value == '') this.value = 'Email address ...';" size="15" name="email_address"/>
    Password: <input id="login-password" type="password" size="15" name="password"/>
    <input type="hidden" value="8682c8e2d1459ff9da73c49dd17236ce" name="securityToken"/>
    </form>
    and click submit button.

    4) A user will be directed back to the same place (will not be logged in). The only difference is that URL will change to f.ex.:
    https://amazingdiscoveries.org/store...cf6e0da29b1ccc



    When a user tries to log in again the same story repeats.

    The way to log in is to first click on any product (f.ex. http://amazingdiscoveries.org/store/...41f67333720ca8) or to delete ?zenid=b231ce7a01753cc8bbcf6e0da29b1ccc (sample id) from URL and log in again.

    Can you please help me to fix it. Or give me any suggestion which files should I look into for making changes.

  2. #2
    Join Date
    Feb 2009
    Location
    BC, Canada
    Posts
    10
    Plugin Contributions
    0

    Default Re: Customer log in issue

    Let me add one more thing. A webstore visitor cannot log in as long as all the links have zenid in get paramiters. As soon as zenid is cleared (in one of two ways describet in previous post) everything is as it should be.

    I don't know if it changes enything but we use SEO for Zen Cart.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Customer log in issue

    It's almost certainly your so-called "SEO" addon causing your problems.
    .

    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.

  4. #4
    Join Date
    Feb 2009
    Location
    BC, Canada
    Posts
    10
    Plugin Contributions
    0

    Default Re: Customer log in issue

    Thanks, you were right. After turning off Search Engine Optimization the problem is gone. Of course this is not a solution but now I know what is the cause of the problem.

  5. #5
    Join Date
    Feb 2009
    Location
    BC, Canada
    Posts
    10
    Plugin Contributions
    0

    Default Re: Customer log in issue

    Maybe someone will find it useful. The problem described above could be solved for our webstore by adding following three lines to includes/classes/seo.url.php to the end of SEO_URL class constructor:

    Code:
    if(!empty($this->attributes['SID']) && !empty($_COOKIE[zen_session_name()])) {
            $this->attributes['SID'] = '';
    }

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Customer log in issue

    Sounds like a dangerous edit to be making. Future readers are advised to use with caution.
    .

    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.

 

 

Similar Threads

  1. v151 Combine the order for customer mod with the customer tax exempt mod.
    By itcetera in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 10 Jun 2014, 10:01 PM
  2. Log in as customer issue
    By MB1 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 27 Jul 2010, 02:24 AM
  3. Customer Log in Issue
    By dewispel in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Mar 2008, 05:36 PM
  4. wrong url on express checkout - SEO mod installed
    By hedgepig in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 3 Oct 2007, 09:03 AM
  5. Replies: 3
    Last Post: 23 Jul 2007, 06:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg