1
hi'
I'm upgrading a XOOPS 2.3.3 site. Protector 3.40 is already installed.
• First questionUpgrade works fine, except those two error messages on all pages :
Quote:
Notice : Constant PROTECTOR_PRECHECK_INCLUDED already define in C:\wamp\www\xoops_lib\modules\protector\include\precheck.inc.php on line 10
Notice : Constant PROTECTOR_VERSION already define in C:\wamp\www\xoops_lib\modules\protector\include\precheck.inc.php on line 11
To hide those two messages, I have to modify mainfile.php and to comment two lines :
// include( XOOPS_TRUST_PATH . '/modules/protector/include/precheck.inc.php' ) ;
if (!isset($xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') {
include XOOPS_ROOT_PATH."/include/common.php";
//include( XOOPS_TRUST_PATH . '/modules/protector/include/postcheck.inc.php' ) ;
}
}
?>
It is the right way to proceed ?
• Second questionI see there are some lines added in Protector available in XOOPS 2.4.0 package...
If I use original module available on GiJoe website, modules administration table does not display all items.
For next release of Protector module, it will be some change to do on original code ? Some explanations would be very useful about it (sorry if such explanations already exist, I haven't saw it

)
Thanks