包含

时间:2017-07-18 23:33:43

标签: php

我在页面上包含以下代码:

include "cc/ConstantContact.php";

此文件存在且包含以下行:

require_once('Authentication.php');
require_once('Collections.php');
require_once('Components.php');

当我加载包含constantContact.php的文件时,我收到以下错误:

  

致命错误:无法在第13行的/public_html/cc/Authentication.php中重新声明类OAuthException

我不明白这个类是如何被声明两次的,因为constantContact.php文件只有一次包含Authentication.php。

这些包括在其他网站上也适合我的工作。

0 个答案:

没有答案