Salve qualcuno mi spiega da che dipende questo errore:
Fatal error: main(): Failed opening required '/cms/lib/phplib/db_mysql.inc' (include_path='.;c:\php4\pear') in C:\web\ZooMarine\cms\config\config.inc.php on line 25
PHP Warning: main(/cms/lib/phplib/db_mysql.inc): failed to open stream: No such file or directory in C:\web\ZooMarine\cms\config\config.inc.php on line 25 PHP Fatal error: main(): Failed opening required '/cms/lib/phplib/db_mysql.inc' (include_path='.;c:\php4\pear') in C:\web\ZooMarine\cms\config\config.inc.php on line 25
il mio codice php è il seguente:
<?php
$lang = "IT";
include("cms/config/config.inc.php");
include("cms/lib/News.class.php");
$news = new News($db);
$ls = $news->listNews($lang);
$first = array_pop($ls);
if(!isset($_SESSION['news']))
{
if(count($ls) >= 1)
/*echo "<script language=\"javascript\">window.open('/popup/news_it.php','news','width=350,height=180,scrollba rs=yes');</script>";
echo "<script language=\"javascript\">window.open('/popup/open.php','open','width=580,height=320,left=20,top =100,scrollbars=auto');</script>";*/
echo "<script language=\"javascript\">window.open('/popup/open2007.php','apertura','width=700,height=500,lef t=150,top=120,scrollbars=auto');</script>";
$_SESSION['news'] = 1;
}?>
Perche non mi riesce a fare i due include in rosso?