Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Jul 2009
    Posts
    25
    Plugin Contributions
    0

    Default Please help, no "my account" or "order history"

    I have been trying to figure this out for more then a week now and nobody seems to have the same problem. I'm using the latest version of ZC and it's my first one.

    Whenever your logged in to my site all the "my account" links just reload the main page. I think it's something I did by accident while trying to fix a different problem, for a while it took you to a page that said "this page cannot be found on this server".
    The problem continues if I change the template or use the link in the sale conformation.

    I have looked through loads of php. files and can't find the code and even if I did I don't know where to point it.

    Thanks, J

  2. #2
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Please help, no "my account" or "order history"

    The code is in the file at about line 48:

    includes/templates/yourtemplate/common/tpl_header.php

    or


    includes/templates/default_template/common/tpl_header.php

    It should look like this:

    Code:
    <?php if ($_SESSION['customer_id']) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
    <?php
          } else {
    As a first step compare what you have to that...

  3. #3
    Join Date
    Jul 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Please help, no "my account" or "order history"

    Thanks for your response but all that code seems to be perfect.
    Is there somewhere else it could be?

    Thanks again, J

  4. #4
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Please help, no "my account" or "order history"

    URL please!

  5. #5
    Join Date
    Jul 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Please help, no "my account" or "order history"

    The main shop site is www.Trickstreet.net.
    Thanks again for your time.
    J

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,473
    Plugin Contributions
    88

    Default Re: Please help, no "my account" or "order history"

    I went to your site, and saw that while I'm a "Guest" the "My Account" link is present in the footer. The reason it gets all squirrely is that the "My Account" page wants to be bound to a customer (and I'm not one as Guest).

    Since there's no option for "My Account" in the footer in the standard 1.38a, I'm guessing you've got a custom includes/YOURTEMPLATE/common/tpl_footer.php. Wrap the 'if' statement that niccol suggested around the href for the FILENAME_ACCOUNT link.

  7. #7
    Join Date
    Jul 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Please help, no "my account" or "order history"

    Thanks, I'll give that a try but if you are logged in as a customer all the my account links direct you to the main page. Doesn't that mean it has tp be pointed to the wrong place?
    I've never done anything on purpost to get the my account link in the footer either.
    I'll have a look now.

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

    Default Re: Please help, no "my account" or "order history"

    I suspect you've got missing or damaged files in /includes/modules/pages/account/ or maybe that whole folder is missing?
    .

    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.

  9. #9
    Join Date
    Jul 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Please help, no "my account" or "order history"

    I have account_newsletter, account__notifications and
    account_password but nothing just named account. If this is my problem is there a way for me to get that page without needing to re-upload the whole thing?

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

    Default Re: Please help, no "my account" or "order history"

    There should be:
    account
    account_edit
    account_history
    account_history_info
    account_newsletters
    account_notifications
    account_password
    and many more.

    If the folders are missing, then the solution is to upload the missing ones.
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 83
    Last Post: 8 Jun 2023, 06:59 PM
  2. Changing "Default Order Status" from "Delivered" to "Shipped"
    By CookieMonster in forum Customization from the Admin
    Replies: 1
    Last Post: 25 Nov 2014, 12:22 AM
  3. How to remove "contact us", "My account" , and "view cart"?
    By thestampnomad in forum Basic Configuration
    Replies: 2
    Last Post: 13 Aug 2010, 07:55 PM
  4. Replies: 2
    Last Post: 10 Feb 2007, 05:23 AM

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