Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Customer login/logout problem !

    I don't know ... you are using a custom template ...

    Try doing a search in the Tools ... Developers Tool Kit ... in the bottom input box and find a define for:
    Logout

    Then do a search on the constant used for the define and see if you can locate which file is using that ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #12
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: Customer login/logout problem !

    OK I made a search in the Tools ... Developers Tool Kit and It came out with this result:

    orientalmeals/includes/functions/html_output.php

    Line #475 : * IMPORTANT: This should be used in every FORM that has an OnSubmit() function tied to it, to prevent unexpected logouts



    /orientalmeals/includes/templates/TS-GetTheVibe/common/tpl_main_page.php

    Line #148 : <td class="txt_content"><a href="index.php?main_page=create_account">Logout</a></td>

    What is the next step ? I'm a bit confused !!!

  3. #13
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Customer login/logout problem !

    Fix the link on line 148 to go to the right page ...

    You have it going to:
    create_account

    and it needs to go to:
    logoff
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #14
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: Customer login/logout problem !

    I found this in the TS-GetTheVibe/common/tpl_main_page.php !

    <tr>
    <td><img src="<? echo DIR_WS_TEMPLATE; ?>images/arrow.gif" alt="arrow" width="12" height="6"/></td>
    <td class="txt_content"><a href="index.php?main_page=create_account">Logout</a></td>
    </tr>

    Now what should I put in here :

    <td class="txt_content"><a href="index.php?main_page=create_account">Logout</a></td>

    in order to fix the logout link ?

    Should I replace everything between the <a>.... </a> with :

    <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a>

    ?
    Last edited by alhakeem2001; 14 Mar 2011 at 10:47 PM.

  5. #15
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Customer login/logout problem !

    Try replacing this:
    Code:
    <a href="index.php?main_page=create_account">Logout</a>
    with the code:
    Code:
    <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a>
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #16
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: Customer login/logout problem !

    Quote Originally Posted by Ajeh View Post
    Try replacing this:
    Code:
    <a href="index.php?main_page=create_account">Logout</a>
    with the code:
    Code:
    <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a>
    That was it ! I did that and I could logout from my account ! it's a weird thing that the tempate has a wrong link to the logoff page !!! how did that happen? Thanks for your help any way !

  7. #17
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Customer login/logout problem !

    Designers do not always pay attention ... thanks for the update that this worked for you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #18
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: Customer login/logout problem !

    Hi Ajeh,

    As you were with me on this problem, you maybe able to help me !

    http://www.zen-cart.com/forum/showthread.php?t=182596

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. login logout problem
    By runoka in forum General Questions
    Replies: 6
    Last Post: 28 Sep 2008, 03:10 AM
  2. login & logout problem
    By sumri in forum General Questions
    Replies: 2
    Last Post: 25 Mar 2008, 10:47 AM
  3. Replies: 0
    Last Post: 20 Nov 2007, 09:05 PM
  4. Customer Login Logout error 404
    By stageweight in forum Managing Customers and Orders
    Replies: 5
    Last Post: 16 Oct 2007, 06:40 AM
  5. Login/Logout Problem
    By Morris in forum General Questions
    Replies: 13
    Last Post: 8 Jul 2006, 07:44 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