有用知道hmailserver phpwebadmin朋友进来帮助一下

gaowenzhen 2013-01-22 03:38:16

环境:windows server 2008 mssql ii7.5 + php5.4 hmailserver + mssql2008


已经用上roundcube 收发邮件,

我问题如下:想远程管理hamilserver ,用自带的phpwebadmin ,没想到老报错

如下报错

[22-Jan-2013 14:39:52 Asia/Brunei] PHP Fatal error: Cannot redeclare ExceptionHandler() (previously declared in H:\mail.himo.cn\roundcubemail\PHPWebAdmin\index.php:162) in H:\mail.himo.cn\roundcubemail\PHPWebAdmin\include\functions.php on line 142


报错处原码

index.php 162行

function ExceptionHandler($exception)
{ ----这里是162行
$errno = $exception->getCode();
$errfile = $exception->getFile();
$errline = $exception->getLine();
$errstr = $exception->getMessage() . "<br>" . $exception->getTraceAsString();

include "error.php";

die;
}


++++++++++++++++++++++++++++++++++++++

include\functions.php 142行


function ExceptionHandler($exception)
{
$errno = $exception->getCode();
$errfile = basename($exception->getFile());
$errline = $exception->getLine();
$errstr = $exception->getMessage();

include "error.php";

die;
}----这里是142行




...全文
146 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

20,359

社区成员

发帖
与我相关
我的任务
社区描述
“超文本预处理器”,是在服务器端执行的脚本语言,尤其适用于Web开发并可嵌入HTML中。PHP语法利用了C、Java和Perl,该语言的主要目标是允许web开发人员快速编写动态网页。
phpphpstorm 技术论坛(原bbs)
社区管理员
  • 开源资源社区
  • phpstory
  • xuzuning
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧