Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2008
    Posts
    1
    Plugin Contributions
    0

    Default Admin index.php suddenly blank

    Hello,

    I am a pizza. How are you?

    I did do a search for this before posting, no go.

    I've had a Zen Cart installed and running fine for a few months now. Just today, the /admin/index.php file suddenly went blank. None of the files have been modified in the past month, this is a weird problem that suddenly happened today. So what happens is, I go to www.example.com/admin/, it takes me to login.php. I log in. It then redirects me to www.example.com/admin/index.php, which is blank.

    I've checked the cookies. The cookies exist, showing that I'm authenticated and logged in.

    I'm able to browse to the other admin pages such as www.example.com/admin/categories.php or www.example.com/admin/orders.php, all of those pages work fine. It's just this one index.php page that is blank.

    I checked the response headers, it shows an HTTP 200. I do a view source, and there's nothing in there. Not even a doctype or an <html> tag.

    I turned on debug logging as outlined in this FAQ, no errors showing at all.

    I removed the existing /admin/index.php file and replaced it with a flat HTML file. That worked. I restored the index.php file and placed a "HELLO WORLD" outside the <? ?> php delimiters, that worked fine as well. So this must be a code problem, I just don't know how to narrow this down. Any suggestions or pointers?

    Thanks,
    I Am A Pizza.

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

    Default Re: Admin index.php suddenly blank

    .

    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

    Default Re: Admin index.php suddenly blank

    That solution worked for me.

    Why did this happen?

    New settings on the Hosting server? Security Issue?

    tom

  4. #4
    Join Date
    May 2008
    Location
    Long Beach, CA
    Posts
    14
    Plugin Contributions
    0

    Default Re: Admin index.php suddenly blank

    I tried it and I still get a Blank Page. Can't Login Any suggestions? www.dulcesencuentros.com

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

    Default Re: Admin index.php suddenly blank

    Most blank-page situations are a result of a PHP error caused by one or more incorrect code customizations you've done, or by bad FTP uploads.

    This article talks about common causes and supplies some tools to help diagnose:
    https://www.zen-cart.com/tutorials/index.php?article=82
    .

    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.

 

 

Similar Threads

  1. Blank index.php and /admin/index.php page after install
    By gsummerlin in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 14 Jul 2006, 10:04 PM
  2. blank admin page admin/index.php
    By stevejohnson in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 8 Jun 2006, 05:07 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