Parameter f_phpbb12345_data is not known

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Pda0

Parameter f_phpbb12345_data is not known

Post by Pda0 »

Hi, I just did a vanilla CMS MS install, no problems whatsoever, but upon first look on the frontpage i see these msgs:

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.php
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:

Code: Select all

$params = cleanParamHash($params,$this->param_map,
                                       !$this->restrict_unknown_params);
lib/misc.functions.php:

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;
                }
In the meantime I modified lib/misc.functions.php:

Code: Select all

function cleanParamHash($data,$map = false,
                        $allow_unknown = false,$clean_keys = true)
{
  $mappedcount = 0;
  $result = array();
  $allow_unknown = true; // PDA MODIFICATION
But I wonder what the true fix would be...

Thanks,

.pd
Pda0

Re: Parameter f_phpbb12345_data is not known

Post by Pda0 »

im using latest stable CMS MS (cmsmadesimple-1.2.tar.gz), Apache 1.3.37 , PHP 5, Mysql 5

Phpbb 2.0.x (2.0.22 I think)
alby

Re: Parameter f_phpbb12345_data is not known

Post by alby »

[quote="Pda0"]

Code: Select all

Warning: Parameter f_phpbb12345_data is not known... dropped in /home/xxx/lib/misc.functions.php on line 1281

[/quote]

Go in Site Admin > Global Settings > uncheck "Allow parameter checks to create warning messages" field

Alby
Pda0

Re: Parameter f_phpbb12345_data is not known

Post by Pda0 »

Thanks for your reply. As I said:
I guess its a cookie problem, even though "allowparamcheckwarnings" is unchecked on the admin site
I already did that.

Thanks,

.pd
Pda0

Re: Parameter f_phpbb12345_data is not known

Post by Pda0 »

Im sorry to bump, is there anything else I can do to try to find this bug?

Thanks,

.pd
Locked

Return to “CMSMS Core”