Full source for the _settings.php file (which is where the error must be, as the path isn't being set correctly):
Code:
// the path to the module. the probably shouldn't be changed unless you rename the cedit_registrationvalidator folder(s)
$rv_path = my_pligg_base . 'modules/cedit_registrationvalidator/';
if ( !file_exists($rv_path . 'cedit_registrationvalidator/antispam.settings.php') )
$rv_path = my_pligg_base . '/modules/cedit_registrationvalidator/';
define('cedit_registrationvalidator_path', $rv_path);
// the path to the module. the probably shouldn't be changed unless you rename the cedit_registrationvalidator folder(s)
define('cedit_registrationvalidator_lang_conf', $rv_path . 'lang.conf');
// the path to the modules templates. the probably shouldn't be changed unless you rename the cedit_registrationvalidator folder(s)
define('cedit_registrationvalidator_tpl_path', $rv_path . 'templates/');
// Read user settings
// Read settings
require_once( cedit_registrationvalidator_path.'cedit_registrationvalidator/antispam.settings.php' );
$data = get_misc_data('cedit_rv_logsettings');
if ( $data != '' ) {
$logsettings = array_merge($rv_antispam_config_logging, unserialize($data));
} else {
$logsettings = $rv_antispam_config_logging;
}
$data = get_misc_data('cedit_rv_antispamsettings');
if ( $data != '' ) {
$antispamsettings = array_merge($rv_antispam_config, unserialize($data));
} else {
$antispamsettings = $rv_antispam_config;
}
define('cedit_rv_antispamsettings', serialize($antispamsettings));
define('cedit_rv_logging', serialize($logsettings));
// don't touch anything past this line.
if(isset($main_smarty) && is_object($main_smarty)){
$main_smarty->assign('cedit_registrationvalidator_path', cedit_registrationvalidator_path);
$main_smarty->assign('cedit_registrationvalidator_lang_conf', cedit_registrationvalidator_lang_conf);
$main_smarty->assign('cedit_registrationvalidator_tpl_path', cedit_registrationvalidator_tpl_path);
foreach ( $antispamsettings as $key => $value ) {
$main_smarty->assign('cedit_rv_' . $key, $value);
}
foreach ( $logsettings as $key => $value ) {
$main_smarty->assign('cedit_rv_log_' . $key, $value);
}
}
?> The $rvpath hack was my attempt to correct the path issue - however, it isn't as simple as a preceding /, it seems that the path is simply invalid from the admin area. I'm probably missing something really simple... :lol: