Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Jun 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: Admin Log-In page blank

    So, by your reply, I presume that .php files aren't modified by using the system?

    Can you tell me what files are used by the zen cart admin login?

  2. #2
    Join Date
    Jun 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: Admin Log-In page blank

    can anyone help?

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Admin Log-In page blank

    Quote Originally Posted by geotnt View Post
    Can you tell me what files are used by the zen cart admin login?
    If your admin page is coming up blank, it's almost certain that it's *not* related to "login" specifically.
    Instead, you've likely corrupted one or more critical bootstrap files that are used to load *every* admin page, hence the "blank screen" indicating that you've triggered a PHP error, either due to a syntax error in something you've edited, or a file that's been incompletely uploaded or is deleted/missing, etc.

    The debug logging explained at https://www.zen-cart.com/tutorials/index.php?article=82 would normally create myDebug-adm-xxxx.log files, but if you've damaged a file that's loaded even before the logging system is initialized, then of course it can't prepare those logs for you.

    Here's the recommended approach for you: 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.

  4. #4
    Join Date
    Jun 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: Admin Log-In page blank

    That's a place to start.

    Now, let me ask. If I decide to go with a completely new install of Zen Cart, what files do I need to keep in order to restore the store items? Are the files in the root directory, or in the Zen Cart admin directory?

    This all started because tinyMCE wasn't working properly.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Admin Log-In page blank

    Um ... if by "restore the store items" you're referring to your "products", then the answer is: neither. That information is in the database, not PHP files.

    Re-installing is probably overkill. But if you do, be sure you take a database backup before you do ANYTHING, because it sounds like you're not understanding what the database is, and since a "new install" involves emptying the database, I wouldn't be surprised if you ended up wiping everything out.

    Instead, I would suggest simply undoing whatever you did when you uploaded files the other day. I'm guessing you put some files in the wrong places ... and the comparison I pointed you to would expose that quickly.
    .

    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.

  6. #6
    Join Date
    Jun 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: Admin Log-In page blank

    Correct me if I'm wrong, but isn't a "database" a collection of inter-related files making up the records describing the products? It would then stand to reason that these files are kept somewhere. All I'm asking is where does Zen Cart keep them?

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Admin Log-In page blank

    Quote Originally Posted by geotnt View Post
    Correct me if I'm wrong, but isn't a "database" a collection of inter-related files making up the records describing the products?
    No, not really. At least not in this context.
    A MySQL database is NOT a casual self-managed simple low-end "database" like MS Access or some flat-text-file with which you might be more familiar. This is far more efficient and secure than those other approaches.
    Quote Originally Posted by geotnt View Post
    It would then stand to reason that these files are kept somewhere.
    On a strictly technical sense, yes there are "files" which store the data, but those files are managed entirely by the MySQL database engine running on your server, and those files are NOT accessible to you yourself, nor to Zen Cart.
    Quote Originally Posted by geotnt View Post
    All I'm asking is where does Zen Cart keep them?
    Again, Zen Cart has NO control over those physical "files".
    Instead, Zen Cart simply logs into the database engine which takes care of looking up and supplying any requested data and updating/inserting any data as directed by you while using the Zen Cart application.
    .

    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
    Jun 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: Admin Log-In page blank

    Thanks for teaching me a little something. I had seen mySQL databases before, but they were flat-text-files. Or, at least they were able to be made so by the program driving them.

    In any event, your suggested approach worked. I found one extra .php file and one mislocated one. Once I moved the mislocated one to its proper place and renamed the extra one to .php1, all seems to be working well.

    Now I can try to figure out the original problem, which may or may not have anything to do with ZC. When using either TInyMCE, or HTMLarea to edit store items, any icon I click on opens a window with the sites index page. I'm thinking its outside of the ZC realm, as it behaved the same with a fresh install of ZC.

    Again, thanks for your help!!

  9. #9
    Join Date
    Feb 2012
    Location
    Sweden
    Posts
    30
    Plugin Contributions
    0

    red flag Re: Admin Log-In page blank

    Can some One please Help me, am upset with the that the admin page is blank, cant login, its empty.

    When i checked chache/i have reinstalled 5times with the same error, and when i checked the log file in chache/myDEBUG-adm-1329338350-320507.log i get this message:



    [15-Feb-2012 13:00:58 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /customers/a/3/f/missnura.com/httpd.www/signin/includes/languages/swedish/email_extras.php:1) in /customers/a/3/f/missnura.com/httpd.www/signin/includes/init_includes/init_templates.php on line 28
    [15-Feb-2012 13:00:58 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /customers/a/3/f/missnura.com/httpd.www/signin/includes/languages/swedish/email_extras.php:1) in /customers/a/3/f/missnura.com/httpd.www/signin/includes/functions/general.php on line 21

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

    Default Re: Admin Log-In page blank

    Check this file and make sure there is nothing before the <?php at the top of the file ...

    If you do not "see" anything, delete that line and re-write it ...
    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!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v153 Blank page after admin log in
    By keith z in forum General Questions
    Replies: 2
    Last Post: 10 Nov 2014, 01:34 AM
  2. Admin log in page is blank
    By Claymore in forum Installing on a Windows Server
    Replies: 2
    Last Post: 13 Dec 2010, 07:10 PM
  3. admin log in page blank
    By Ecoquette in forum General Questions
    Replies: 1
    Last Post: 29 Sep 2009, 09:35 PM
  4. Admin Log In Page is NOW Blank...
    By pnp in forum General Questions
    Replies: 5
    Last Post: 7 Nov 2007, 04:12 AM

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