Results 1 to 10 of 23

Hybrid View

  1. #1
    Join Date
    May 2010
    Posts
    72
    Plugin Contributions
    0

    Default Forgotten Password page missing

    I discovered today that customers who click the forgotten password link during the login process are taken to an error page. It seems there's no page at zen/index.php?main_page=password_forgotten

    Is this a template override problem, or just an admin configuration problem? I'm not sure of the name or the location of the php file I'd need to look for. Any useful ideas?

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

    Default Re: Forgotten Password page missing

    Any ?main_page=xxxxxxx requires that there be at least the first of these three related components:

    /includes/modules/pages/xxxxxxx/header_php.php
    /includes/languages/english/xxxxxxxx.php
    /includes/templates/a_template_name/templates/tpl_xxxxxxx_default.php

    If the header_php.php file is missing, then a 404 will be triggered.
    .

    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. #3
    Join Date
    May 2010
    Posts
    72
    Plugin Contributions
    0

    Default Re: Forgotten Password page missing

    Okay. Looks like
    /includes/modules/pages/xxxxxxx/header_php.php
    /includes/languages/english/xxxxxxxx.php

    are there, and this one's there under templates/template_defaults/templates/ but it's not in templates/mytemplate/templates

    /includes/templates/a_template_name/templates/tpl_xxxxxxx_default.php

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

    Default Re: Forgotten Password page missing

    It doesn't need to be in your mytemplate folder if you haven't customized anything in it beyond what's in template_default. (template_default IS the "default", ie: what will be used if there's no override in your custom template folder)

    Try changing the setting in Admin->Configuration->My Store->Missing Page Check from "404 Not Found" to "Off" and see what error message is shown, if any. That's for testing/debugging only, not for live use ... so be sure to put it back to Not Found or to Home/On again.
    .

    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.

  5. #5
    Join Date
    May 2010
    Posts
    72
    Plugin Contributions
    0

    Default Re: Forgotten Password page missing

    Okay. I got 'remote server or file not found'. Perhaps I've got something in my custom template that's causing trouble...

  6. #6
    Join Date
    May 2010
    Posts
    72
    Plugin Contributions
    0

    Default Re: Forgotten Password page missing

    Still haven't figured out what the problem is here. Been going over the 3 files to see if I noticed anything amiss, but can't figure out why the page wouldn't show up.

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

    Default Re: Forgotten Password page missing

    Quote Originally Posted by weirdorecords View Post
    Okay. I got 'remote server or file not found'. Perhaps I've got something in my custom template that's causing trouble...
    That sounds like a redirect happening outside Zen Cart. Maybe .htaccess or something else? Contact your hosting company.
    .

    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.

  8. #8
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Forgotten Password page missing

    Quote Originally Posted by weirdorecords View Post
    Okay. I got 'remote server or file not found'. Perhaps I've got something in my custom template that's causing trouble...
    You've made some edits to your /languages/english/password_forgotten.php file haven't you?

    Restore this file from the distribution files (or just delete the override file if you have used one), and your problem will go away).

    Actually, I'll go one better.... I'm betting that the line you have edited is this one:

    define('TEXT_MAIN', 'Enter your email address below and we\'ll send you an email message containing your new password.');

    And the edit you made was to remove the "\" from "we'll" so the line now reads:

    define('TEXT_MAIN', 'Enter your email address below and we'll send you an email message containing your new password.');

    Cheers
    Rod.

    ps. If you promise to buy the zencart team a coffee, I'll tell you how I discovered this :)

 

 

Similar Threads

  1. v151 Password Forgotten page not working
    By aperfecthost in forum General Questions
    Replies: 3
    Last Post: 1 Apr 2015, 12:01 AM
  2. v153 False Positive Response on Forgotten Password Page
    By jerrygarciuh in forum General Questions
    Replies: 2
    Last Post: 27 Jan 2015, 12:38 AM
  3. Password Forgotten page is blank with COWOA
    By craftzombie in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 5 Sep 2010, 08:59 AM
  4. Page response on Forgotten Password form
    By timatidg in forum General Questions
    Replies: 2
    Last Post: 28 Aug 2010, 12:03 AM
  5. Password Forgotten is Missing!!
    By jimmyj in forum Basic Configuration
    Replies: 3
    Last Post: 30 Mar 2010, 10:27 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