hi irmtfan.
Quote:
when i add the line:
include( XOOPS_ROOT_PATH . '/modules/protector/include/postcheck.inc.php' ) ;
in mainfile.php
i have this error in any attempt for posting:
db connection failed.
Check the position.
include( XOOPS_ROOT_PATH . '/modules/protector/include/precheck.inc.php' ) ;
if (!isset($xoopsOption['nocommon'])) {
include XOOPS_ROOT_PATH."/include/common.php";
}
include( XOOPS_ROOT_PATH . '/modules/protector/include/postcheck.inc.php' ) ;
It is necessary to add lines both postcheck and precheck.