[eluser]Unknown[/eluser]
Hi,
I have a problem with the page timing out when running a particularly large report, with no error logged.
I can replicate the behaviour with the following code in the controller.
This times out after about 30 seconds in Firefox, and goes to a "Page Cannot be displayed" after 60 in IE:
Code:
for ($i=0;$i<=65;$i++) {
sleep(1);
}
echo "end";
However, if I echo anything before the slow process, it will run for the expected 65 seconds, before showing "startend" in both:
Code:
echo "start";
for ($i=0;$i<=65;$i++) {
sleep(1);
}
echo "end";
I have my php time limit set to 120 seconds, php 5, pretty vanilla CodeIgniter install...
Is this something that can be fixed in my configuration, or is it an expected behaviour of the browser with no output?
I suppose I could just echo a space or something first thing on pages that are having problems, but that almost seems like something that should be fixed in CI...
Thanks for any suggestions.