<?php
include("config.inc.php");
include($CommonPath."/func/news/news_detail.catch.php");
?>第二行是中()内的东西是什么?这个站里面没有func这个文件夹啊?

解决方案 »

  1.   

    $CommonPath  这里不是有个路径变量吗。
      

  2.   

    <?php
    include("config.inc.php");
    include($CommonPath."/func/news/news_detail.catch.php");
    ?>
     
    这是你们自己写的,还是你下的别人的代码阿?如果是你们自己写的。那么如果本文件没有,那在config.inc.php里面应该有阿
      

  3.   

    #[安装路径]
    $WaStarPath="/www/eSite";#[数据库连接参数]
    $dbHost="localhost";
    $dbName="america";
    $dbUser="america_f";
    $dbPass="america";#[安装网址]
    $SiteUrl="http://sino-america.org/";
    #----------------------------------#include($WaStarPath."/WebNews/func/SysGlobal.php");
    这是config.inc.php的所有东西了。没有您说的啊!
      

  4.   

    echo $WaStarPath."/WebNews/func/SysGlobal.php";
    看看路径,如果找不到文件,那肯定属于程序不完整咯。
      

  5.   

    那$CommonPath就应该是SysGlobal.php里定义的。
      

  6.   

    我说了,
    括号里的东西网站文件里没有的。但是网站使用良好
    整个网站没有 func 这个文件夹  后面的news/news_detail.catch.php就更没有了