Document contains no data

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
nielsene
DevNet Resident
Posts: 1834
Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA

Document contains no data

Post by nielsene »

Lately I've been receiving the document contains no data error message when testing my site. Typically I can debug this by moving die() statements through the code to see where the problem is. Once I get a die in the right place I'm typically rewarded with a regular parse error message. Does anyone know why, this parse error message wouldn't be displayed and I had to search using die() to find it?
User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post by Takuma »

If you are debugging PHP and run a script that does not print out anything, that error comes up.
Post Reply