移除防護模組?
我的作法是
1.將 xoops2/module/protector 目錄改名
2.註解 mainfile.php 的此行敘述
include( XOOPS_ROOT_PATH . '/modules/protector/include/precheck.inc.php' ) ;
是否就是關掉防護模組了?
步驟 1 結果訊息變為---------
Warning: include(D:/xampp/htdocs/xoops2/modules/protector/include/precheck.inc.php): failed to open stream: No such file or directory in D:\xampp\htdocs\xoops2\mainfile.php on line 96
Warning: include(): Failed opening 'D:/xampp/htdocs/xoops2/modules/protector/include/precheck.inc.php' for inclusion (include_path='.;\xampp\php\PEAR') in D:\xampp\htdocs\xoops2\mainfile.phpon line 96
Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in D:\xampp\htdocs\xoops2\include\common.php on line 39
Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in D:\xampp\htdocs\xoops2\class\errorhandler.php on line 218
(此行重複8遍)
Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in D:\xampp\htdocs\xoops2\include\common.php on line 39
Strict Standards: Non-static method XoopsErrorHandler::getInstance() should not be called statically in D:\xampp\htdocs\xoops2\class\errorhandler.php on line 218
************************
common.php on line 39 為
$xoopsErrorHandler =& XoopsErrorHandler::getInstance();