Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    red flag Login page went missing!

    Note first: I *did* do a backup of *everything* before attempting this.

    I edited a line of text in /includes/languages/english.php. It was this line here:

    Code:
    define('ENTRY_EMAIL_ADDRESS', 'Email Address:');
    I change it to say

    Code:
    define('ENTRY_EMAIL_ADDRESS', 'Customer Number:');
    and that was all. This made the login screen go blank, now it has the left column okay, the middle column says "Home :: NAVBAR_TITLE" at the top, and blank below that, and the right column is also missing.

    So I restored the english.php file from my untouched backup, and it's still showing this same problem of everything missing.

    Please help here, I don't want to have to start all over again.....

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

    Default Re: Login page went missing!

    If you peek in your /cache directory there is probably a debug log on this ... if you are using v1.3.9 ...

    And probably ... there is a reference to the end of the file where there is either space(s) or blank line(s) following the closing php bracket ?> at the bottom of the file ...

    If you fix that, it should fix the problem ...
    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!

  3. #3
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    Default Re: Login page went missing!

    I'm using v1.3.8, and the cache directory is empty. I've also checked into the ?> problem and there's one at the end of the file. So not sure what else is causing it...

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

    Default Re: Login page went missing!

    You could then get from the Free Software Add Ons the:
    Debug Tool

    But, from what it sounds like if you go to the bottom of the english.php file and put your cursor right after the closing bracket of ?>

    Delete any spaces or blank lines ... then save and reload it to your site ...
    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!

  5. #5
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    Default Re: Login page went missing!

    I've just checked the spaces at the end of the file after ?> and there's no spaces there.

    Have installed the debug tool, here's the result (edited out non-important parts from URLs):

    Code:
    [03-Nov-2010 20:49:40] PHP Warning:  require(includes/templates/template_default/templates/tpl_login_default.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/<user>/public_html/<domain>/store/includes/templates/template_default/common/tpl_main_page.php on line 122
    [03-Nov-2010 20:49:40] PHP Warning:  require(includes/templates/template_default/templates/tpl_login_default.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/<user>/public_html/<domain>/store/includes/templates/template_default/common/tpl_main_page.php on line 122
    [03-Nov-2010 20:49:40] PHP Fatal error:  require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/template_default/templates/tpl_login_default.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/<user>/public_html/<domain>/store/includes/templates/template_default/common/tpl_main_page.php on line 122

  6. #6
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    Default Re: Login page went missing!

    Alright, I've got it... I've been making a backup copy of a file as I'm about to edit the code of it. But for some reason, the file includes/templates/template_default/templates/tpl_login_default.php was missing, and only the backup file was there.

    Now it's showing define variables instead of what's supposed to be written there...

    For reference:

    http://healthreflections.com.au/stor...ain_page=login

    Not sure how to fix this one.

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

    Default Re: Login page went missing!

    Check if you have lost the file:
    /includes/languages/english/login.php

    Note: if making changes, you should be using your templates and overrides directory for 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!

  8. #8
    Join Date
    Nov 2010
    Posts
    87
    Plugin Contributions
    0

    Default Re: Login page went missing!

    thanks! it was that login.php file that was missing...

    overrides directory? i've been hard coding into the core files because i wasn't aware there was such an option of an overrides...?

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

    Default Re: Login page went missing!

    Your templates and overrides are your custom directories for your template ...

    If you are not using them, you should read through the Tutorials/FAQ about customizing your Zen Cart and using the template and override system ...

    Currently, you are using the default template Classic Template ...

    This template uses the /classic directories throughout the Zen Cart code on your site ...

    You want to customize your own template and override system so as not to have your files and changes overwritten on upgrades ...
    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!

 

 

Similar Threads

  1. Login page went missing!
    By RayDube in forum General Questions
    Replies: 1
    Last Post: 17 Oct 2011, 04:49 PM
  2. Category images went missing!
    By bpwetzel in forum General Questions
    Replies: 9
    Last Post: 29 Nov 2010, 06:35 AM
  3. define contact us msg went missing
    By soyabeane in forum General Questions
    Replies: 8
    Last Post: 5 Dec 2009, 05:04 PM
  4. my zen cart site went missing
    By mehmehmeh in forum General Questions
    Replies: 3
    Last Post: 12 Dec 2008, 05:56 PM
  5. Added a banner and main page content went missing???
    By garyh357 in forum General Questions
    Replies: 4
    Last Post: 31 May 2006, 09:56 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