Forum Moderators: open
Platform: Linux, and I believe the mySQL is 5.1
Problem: usually it works, sometimes it dud'nt. :-)
Error: Lost connection to server during query. Which usually means it's malformed or too big of a query, but it's not. Is it?
select date_format(date_sub(utc_timestamp(),interval 4 hour),'%a, %d %b %Y %H:%i:%s -0400'), ___
date_format(date_sub(utc_timestamp(),interval 4 hour),'%a, %d %b %Y %h:%i:%s');
This select (and many many more) was launched in the child process of a fork, with the parent immediately redirecting to another page (closed STDOUT at the top of the child so this worked right.) Forks are really great for background processes but it robs you of that server-response so useful for debugging. So you have to store your errors in some physical location and weep over your oversights later. Which I did. :-)
Yeah the -004 was the first thing to go, it still died right there from time to time anyway. But thank you, I didn't think there was anything wrong with it . . . .