8
Well, I found the readme in xoops_lib/modules/protector and that makes it clear that you need all the files in both the /modules/protector and xoops_lib/modules/protector dirs. So, I uploaded the complete /modules/protector files and once again got the original error. I looked again at my mainfile.php and found that the last several lines are like this:
define( 'XOOPS_GROUP_ADMIN', '1' );
define( 'XOOPS_GROUP_USERS', '2' );
define( 'XOOPS_GROUP_ANONYMOUS', '3' );
// Temporary solution for extra protector module. To be refactored // Set the following value as true if you want to enable protector module
$ENABLE_PROTECTOR = true;
if ( !empty($ENABLE_PROTECTOR) ) {
@include XOOPS_TRUST_PATH . '/modules/protector/include/precheck.inc.php';
}
if (!isset($xoopsOption["nocommon"]) && XOOPS_ROOT_PATH != "") {
include XOOPS_ROOT_PATH."/include/common.php";
}
if ( !empty($ENABLE_PROTECTOR) ) {
@include XOOPS_TRUST_PATH . '/modules/protector/include/postcheck.inc.php';
} } ?>
I was under the impression that the precheck and postcheck has been removed for Protector under 2.3.3 but I am probably wrong about that. I tried deleting these lines, leaving
if (!isset($xoopsOption["nocommon"]) && XOOPS_ROOT_PATH != "") { include XOOPS_ROOT_PATH."/include/common.php"; }
intact. However, I still get the error.
I could give you ftp access to this installation if that would help and I can give you temporary admin access to this test site. I keep it for just these kind of issues, so that I don't screw up my live site before I work out problems.
I'll have to get back to this tomorrow. Got to get up early.
barryC