Parameter f_phpbb12345_data is not known
Posted: Tue Nov 13, 2007 1:17 pm
Hi, I just did a vanilla CMS MS install, no problems whatsoever, but upon first look on the frontpage i see these msgs:
I have a phpbb installed on the same domain, butother than that there is no integration whatsoever, i got those after a clean CMS MS install. I guess its a cookie problem, even though "allowparamcheckwarnings" is unchecked on the admin site. I think this affects only the "not properly cleaning" warning but not the "not known" warning.
I tried search and saw serveral similar warning problems, but never with phpbb. Ive skimmed through the code, found this:
/lib/classes/class.module.inc.php:
lib/misc.functions.php:
In the meantime I modified lib/misc.functions.php:
But I wonder what the true fix would be...
Thanks,
.pd
Code: Select all
Warning: Parameter f_phpbb12345_data is not known... dropped in /home/xxx/lib/misc.functions.php on line 1281
Warning: Parameter f_phpbb12345_sid is not known... dropped in /home/xxx/misc.functions.php on line 1281
Warning: Parameter f_phpbb12345_t is not known... dropped in /home/xxx/lib/misc.functions.phpI tried search and saw serveral similar warning problems, but never with phpbb. Ive skimmed through the code, found this:
/lib/classes/class.module.inc.php:
Code: Select all
$params = cleanParamHash($params,$this->param_map,
!$this->restrict_unknown_params);Code: Select all
function cleanParamHash($data,$map = false,
$allow_unknown = false,$clean_keys = true)
...
if( !$mapped && !$allow_unknown )
{
trigger_error('Parameter '.$key.' is not known... dropped',E_USER_WARNING);
continue;
}
Code: Select all
function cleanParamHash($data,$map = false,
$allow_unknown = false,$clean_keys = true)
{
$mappedcount = 0;
$result = array();
$allow_unknown = true; // PDA MODIFICATION
Thanks,
.pd