Results 1 to 9 of 9
  1. #1
    Join Date
    Feb 2009
    Location
    Norway
    Posts
    31
    Plugin Contributions
    0

    Default "My Account" page is broken.

    Hello,

    It seems "My Account" page is broken as it doesn't display the default information that should be there. Instead of traditional:
    My Account Information
    My Account
    View or change my account information.
    View or change entries in my address book.
    Change my account password.
    Email Notifications
    View or change my product notification list.
    I only see
    HEADING_TITLE
    MY_ACCOUNT_TITLE
    MY_ACCOUNT_INFORMATION
    MY_ACCOUNT_ADDRESS_BOOK
    MY_ACCOUNT_PASSWORD
    EMAIL_NOTIFICATIONS_TITLE
    EMAIL_NOTIFICATIONS_PRODUCTS
    All the info in the account.php file is present and I did upload it into my template just in case, although I haven't done any changes to it.

    Any ideas how to fix this?

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: "My Account" page is broken.

    https://www.zen-cart.com/tutorials/index.php?article=95

    In this case, those are defined in:

    includes/languages/english/account.php

    If the file is there, it may be corrupted.

  3. #3
    Join Date
    Feb 2009
    Location
    Norway
    Posts
    31
    Plugin Contributions
    0

    Default Re: "My Account" page is broken.

    Quote Originally Posted by stevesh View Post
    https://www.zen-cart.com/tutorials/index.php?article=95

    In this case, those are defined in:

    includes/languages/english/account.php

    If the file is there, it may be corrupted.
    The file is there with all the content defined. It looks completely fine to me

    If it is corrupted, then how do I fix it? I have the old version of Zen Cart, so should I copy account.php from there and see if it works or could it be that the problem is somewhere else?

  4. #4
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: "My Account" page is broken.

    Old version? Exactly which version are you using?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Feb 2009
    Location
    Norway
    Posts
    31
    Plugin Contributions
    0

    Default Re: "My Account" page is broken.

    Quote Originally Posted by Kim View Post
    Old version? Exactly which version are you using?
    Ah, sorry for confusion. The problem is with v150, but I do have v138 installed too, on which my old website is running and it's all fine. So I copied the file from there to v150 but it didn't work also.

    This makes me think that maybe the problem is not with account.php but somewhere else...the question is where?

  6. #6
    Join Date
    Feb 2009
    Location
    Norway
    Posts
    31
    Plugin Contributions
    0

    Default Re: "My Account" page is broken.

    Anyone? I really can't figure out what's wrong.

  7. #7
    Join Date
    Feb 2009
    Location
    Norway
    Posts
    31
    Plugin Contributions
    0

    Default Re: "My Account" page is broken.

    I still don't know the "proper" way to fix this, but the solution that worked for me is somewhat of a hack. So, because the system didn't read the account.php file from languages/english folder, placing it inside templates/templates folder and adding this line

    <?php include('account.php'); ?>

    to tpl_account_default file has solved the problem.


    But I'm sure this is not really the way it should work

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

    Default Re: "My Account" page is broken.

    The first thing to do when something odd like that happens is to inspect every file on your server to make sure it's actually "present" and "complete". I suspect you've got several files that failed to upload properly during your FTP activities.
    Check /includes/modules/pages/account/header_php.php
    And then once you've fixed that, GO CHECK EVERYTHING ELSE. (Ya, I know, you probably won't. Most people ignore the extra cleanup check, and then come back wondering why other stuff is broken too.)
    Ref: http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    .

    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
    Feb 2009
    Location
    Norway
    Posts
    31
    Plugin Contributions
    0

    Default Re: "My Account" page is broken.

    Thank you, I'll double check it again.

 

 

Similar Threads

  1. Replies: 83
    Last Post: 8 Jun 2023, 06:59 PM
  2. Broken Links for "My Account" and "Categories"
    By fuchschen in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Nov 2010, 10:33 PM
  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. "New For..." On Main Page Broken. Ideas?
    By psychicpet in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Dec 2007, 07:02 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