• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

PHP Problem

G

Gicik

Guest
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)
 
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.
 
Back
Top