重复声明了 clonenode()  
你查找这个字符串,看是不是在其它文件里面声明过了

解决方案 »

  1.   

    仔细检查你的程序,应该在453行之前定义过cloneNode()。
      

  2.   

    仔细检查你的程序,应该在453行之前定义过cloneNode()。
      

  3.   

    在Node.php的441行有个如下的函数:
      function &cloneNode($deep) {
        return $this->cloneNode($deep, null);
      }
    当时我想下面453的function  &cloneNode($deep,  $ownerDocument  =  null)  是方法重写,看来是错了。
    The problem is that PHP 4.3.0 in SafeMode doesn't allow redeclaring of its own functions. 
    The solution is simple: 把上面441行那个函数注释就可以了。
    谢谢:genuis,uGain!
    希望以后进一步得到你们的指点!
      

  4.   

    在Node.php的441行有个如下的函数:
      function &cloneNode($deep) {
        return $this->cloneNode($deep, null);
      }
    当时我想下面453的function  &cloneNode($deep,  $ownerDocument  =  null)  是方法重写,看来是错了。
    The problem is that PHP 4.3.0 in SafeMode doesn't allow redeclaring of its own functions. 
    The solution is simple: 把上面441行那个函数注释就可以了。
    谢谢:genuis,uGain!
    希望以后进一步得到你们的指点!