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

PHP Problem

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

  1. Gicik

    Gicik Guest

    0
     
    Warning: main(): Failed opening '' for inclusion (include_path='.;./includes;./pear') in


    I get this error when i use include function like:

    switch($page) {

    case "dosyalar": $icerik = "dosyalar.php";
    break;
    ..
    ..
    }

    I didn't change any value that in php.ini .... But i can't use this function.

    Please help (this is not a programming problem. This is about PLESK's configuration)
     
  2. shwonder

    shwonder Guest

    0
     
    As far as I know, message "Failed opening 'filename'" means that PHP engine cannot find file named 'filename' in standard registered pathes. But if filename is empty, it means that you use script like
    include_once($page_to_load);
    but value for $page_to_load variable is empty.
    IMHO.
     
Loading...