Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Timeout problems

Help
Ole Sig
2004-10-30
2013-05-30
  • Ole Sig
    Ole Sig
    2004-10-30

    How do I work with timeout errors?

    I am including some data from a server, which sometimes are closed. When that happens I get this result on my webpage:
    Fatal error: Maximum execution time of 30 seconds exceeded in c:\ibserver\www\modules\Snoopy.class.php on line 1086

    That gives me two problems:
    1) I would like to set the timeout time smaller. I have set $_fp_timeout=2 but it still takes 30 secs. to timeout.
    2) I would like to show something else than the time-out msg. "No data available" or something like that.

    Does anyone have any ideas how to do that?