我成功地安装了我的webmail客户端;但是,每次加载message....has时,我都会收到下面列出的这些错误,以前有人遇到过这样的错误吗?如果是这样的话,我该如何解决呢?提前感谢!
Strict Standards: Non-static method Message::parseStructure() should not be called statically in C:\Apache24\htdocs\squirrelmail\functions\mime.php on line 36
Strict Standards: Non-static method Message::parseBodyStructure() should not be called statically in C:\Apache24\htdocs\squirrelmail\class\mime\Message.class.php on line 296
Warning: Creating default object from empty value in C:\Apache24\htdocs\squirrelmail\class\mime\Message.class.php on line 367
Warning: Creating default object from empty value in C:\Apache24\htdocs\squirrelmail\class\mime\Message.class.php on line 367
Warning: Variable passed to each() is not an array or object in C:\Apache24\htdocs\squirrelmail\functions\mime.php on line 1594
发布于 2013-05-30 02:12:17
将php.ini更改为不严格。
error_reporting = E_ALL & ~E_STRICT并重新启动apache服务器。
甚至,您也可以在php代码中这样做:
ini_set('display_errors', '0'); # don't show any errors...
error_reporting(E_ALL | E_STRICT); # ...but do log themhttps://stackoverflow.com/questions/16826836
复制相似问题