strange thing:
I wrote module. On my windows localhost everything worked perfect. Then I move site to Linux server and problems started. When You create link with
$link1 = $this->CreateLink($id, 'default', $returnid, $row['raide'], array('raide'=>$row['raide'], 'pass'=>$pass));
you get something like
http://.../index.php?mact=Zodynas,cntnt01,default,0&cntnt01raide=E&cntnt01pass=&cntnt01returnid=15
But on Linux, $print_r($params) in begining of action.default.php returns:
Array ( [module] => Zodynas [action] => default )
and nothing more. Where all other params gone? Other modules or admin panel for this module works fine, only this one. Please, Can someone give any ideas?
problems with $params
-
kazkas
Re: problems with $params
nope, still don't work
even default.php like
CreateLink($id, 'default', $returnid, "A", array('raide'=>$row['raide'], 'pass'=>$pass));
echo $linkas;
?>
return the same thing:
Array ( [module] => Zodynas [action] => default ) A
My brain will blow out :/ It can't be error in those 3 lines, can't it?
CreateLink($id, 'default', $returnid, "A", array('raide'=>$row['raide'], 'pass'=>$pass));
echo $linkas;
?>
return the same thing:
Array ( [module] => Zodynas [action] => default ) A
My brain will blow out :/ It can't be error in those 3 lines, can't it?
Re: problems with $params
Indeed it seems it can't, that code works fine overhere, when I follow the "A" link (I assigned $pass for testing):kazkas wrote: My brain will blow out :/ It can't be error in those 3 lines, can't it?
Array ( [raide] => [pass] => test [returnid] => 51 [action] => default ) A

