WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: wp-forecast] WP-Forecast : fgets error in PHP5? (4 posts)

  1. lifestyler
    Member
    Posted 5 years ago #

    Since yesterday all of a sudden the WP-Forecast stopped working and keep giving me php timeouts. "PHP Fatal error: maximum execution time of 30 seconds exceeded in .... wp-forecast\funclib.php on line 61"

    That line is the fgets line. Strangly i'm not having any problems on my php4 test server (Linux) but only on my php5 server (Windows with IIS) Which automaticly makes me think its a php5 error. It worked for several months without any problems, but since yesterday......so its really strange.

    60. while (!feof($fp)) {
    61.   $s = fgets($fp, 1024);
    62.   if ($body) $in .= $s;
    63.   if ($s == "\r\n") $body = true;
    64. }

    Any suggestions ?

  2. tuxlog
    Member
    Posted 5 years ago #

    hello lifestyler,

    I am currently discussing this problem maybe with you at http://www.tuxlog.de.
    please keep an eye at this.

    cheers
    hans

  3. j.michael
    Member
    Posted 5 years ago #

    @tuxlog: is there any update to this issue? I've tried the wpf-test.php on my server and experience the same timeout.

  4. tuxlog
    Member
    Posted 5 years ago #

    hello j.michael,

    most of the known problems are solved and documented at tuxlog.de
    there is still one thing which seems to depend on some server settings and / or the php version used. I hope I can get a hand on it asap.

    cheers
    hans

Topic Closed

This topic has been closed to new replies.

About this Topic