PDA

View Full Version : No such file or directory: Empty script output


glampe
4-7-03, 12:46 PM
I was checking my error_log and noticed a lot of lines like this.

[Mon Apr 7 09:00:39 2003] [error] [client 216.39.48.51] (2)No such file or directory: Empty script output

I checked my access_log to track down the trouble url(s). The pages work fine when I try them, so I don't think it's the script or the data.

I am using php and mysql.

Has anyone else had this problem or have an idea on how to prevent this?

HalfaBee
4-7-03, 06:02 PM
You are probably being spidered by Google or some other bot.
These are not very friendly to scripts that use sessions or cookies.

Your access logs should show if this is the case.

HalfaBee

netaustin
4-7-03, 08:10 PM
If halfabee is right, use robots.txt or meta tags to keep spiders out of scripts that require session handling or cookies... you'd think that the spider writers would make bots that can handle common things like that...

glampe
4-8-03, 09:36 AM
Yep. Altavista was crawling my site. But my site isn't using sessions or cookies. My site uses php, mysql, and pulls data from an xml feed.

Maybe the script is timing out before my xml feed timeout occurs?

Pig
4-8-03, 10:11 AM
No, I'm blaming this one on aliens. That's a far easier explanation.