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.
Bookmarks