1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Strange error message in event viewer

Discussion in 'Plesk for Windows - 8.x and Older' started by RobertS, Nov 20, 2006.

  1. RobertS

    RobertS Guest

    I get every 30 minutes a strange warming/error message in my event viewer.
    The error is caused by a scheduled PHP script what runs every 30 minutes, the strange thing is that the PHP script itself is correct and does not error at all.

    This is the warming/error in the event viewer:
    Source: W3SVC
    Event ID: 1011
    A process serving application pool 'mijnwebspace.com(domain)(pool)' suffered a fatal communication error with the World Wide Web Publishing Service. The process id was '26884'. The data field contains the error number.
    The code which causes this error is:
      function webcheck($url)
    $ch curl_init();
    $buf curl_exec($ch);
    $checkdata1 "placeholder";
    $checkdata2 "hosting for this domain is not configured";
    $checkdata3 "forbidden";
       if ((
    preg_match("/\b$checkdata1\b/"$buf)) || (preg_match("/\b$checkdata2\b/"$buf))  || (preg_match("/\b$checkdata3\b/"$buf)))
    $nosite 1// if there is no website or default Plesk page
    } else {
    $nosite 0;  // if a normal site is present
    What can I do to remove this warming from the event list?