Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Re: Customers cannot login using my custom login box

    ok...so I have this in my tpl_header

    Code:
                <form name="account_box" action="http://www.webaddress.com/index.php?main_page=login&amp;action=process&amp;zenid=85achangedh1" method="post"><div align="right">
    <table border="0" cellpadding="0" cellspacing="0">
    <tbody><tr> 
    <td class="boxText" align="right" valign="middle">Email:</td>
    <td class="boxText" align="right" valign="middle"><input name="email_address" size="10" type="text"></td>
    <td class="boxText" align="right" valign="middle">Password:</td>
    <td class="boxText" align="right" valign="middle"><input name="password" size="10" type="password"></td>
    <td class="boxText" align="right" valign="center">&nbsp;<input value="Log In" style="width: 50px;" type="submit"></td>
    <td> <a class="menu" href="http://www.webaddress.com/index.php?main_page=password_forgotten">Forgotten Password</a>&nbsp; &nbsp;<a class="menu" href="http://www.webaddress.com/index.php?main_page=login">Create Account</a><input name="securityToken" value="aa0changed5d4" type="hidden"></td></tr>
    </tbody></table></div>
    	</div>
                </form>
    I have changed some elements...

    Is this the right file to change? WHere should I add the bit of code from above?

    Thanks

  2. #12
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Customers cannot login using my custom login box

    1. Replace this:
    Code:
    <input name="securityToken" value="aa0changed5d4" type="hidden">
    with the code you quoted in post #9 earlier.
    2. Remove this from the <form> tag:
    Code:
    &amp;zenid=xxxxxxxxxx
    .

    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.

  3. #13
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Re: Customers cannot login using my custom login box

    I now have this....but its still not working.

    Is this all correct now?

    I also can't login in via the normal login page now


    Code:
       <form name="account_box" action="http://www.webaddress.com/index.php?main_page=login&amp;action=process" method="post"><div align="right">
    <table border="0" cellpadding="0" cellspacing="0">
    <tbody><tr> 
    <td class="boxText" align="right" valign="middle">Email:</td>
    <td class="boxText" align="right" valign="middle"><input name="email_address" size="10" type="text"></td>
    <td class="boxText" align="right" valign="middle">Password:</td>
    <td class="boxText" align="right" valign="middle"><input name="password" size="10" type="password"></td>
    <td class="boxText" align="right" valign="center">&nbsp;<input value="Log In" style="width: 50px;" type="submit"></td>
    <td> <a class="menu" href="http://www.webaddress.com/index.php?main_page=password_forgotten">Forgotten Password</a>&nbsp; &nbsp;<a class="menu" href="http://www.webaddress.com/index.php?main_page=login">Create Account</a><?php echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?></td></tr>
    </tbody></table></div>
    	</div>
                </form>

  4. #14
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Re: Customers cannot login using my custom login box

    Just checked again and its working Don't know why it wasn't before....

    very odd!

    Thank you for your help

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 10
    Last Post: 16 Apr 2011, 10:09 PM
  2. customers cannot login
    By deficit in forum Managing Customers and Orders
    Replies: 5
    Last Post: 2 Jul 2009, 04:31 PM
  3. Customers Cannot login
    By kevinmc3 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 10 Oct 2008, 08:23 PM
  4. Login using Safari cannot login with firefox or IE
    By ambivert in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 18 Jul 2007, 07:11 PM
  5. customers cannot login !!
    By herot in forum Managing Customers and Orders
    Replies: 6
    Last Post: 15 Nov 2006, 08:29 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR