Hi Armin,
I have tested, also, both session.use_cookies = 0 and session.use_cookies =
1,  in php.ini (PHP version 5.2.0), but the value of config session, in
printdlg.phtml, is always null.
The value is filled, only, when I set $_SESSION['config']=$config; in
__startup_config.php.

Thanks,
Marino

2007/5/29, Armin Burger <[EMAIL PROTECTED]>:
>
> I thought that I fixed this problem once and I did not see it any more.
> But if the referencing of the session variable 'config' already in
> __startup_config.php' helps I can make that as default.
>
> Normally printdlg.phtml should have the config session variable set, but
> it might be related to sessions using cookies, but I'm not completely
> sure (I anyway recommend to *not* use this default setting and modify
> php.ini to session.use_cookies = 0).
>
> armin
>
> Marino Fiorito wrote:
> > Hi Armin,
> >
> > I have configured, under /config/myconfig/ a php_config.php file with
> > variables for print like
> > $pdfSettings['top_logo'] and $pmPrintTitle.
> >
> > There's a problem for pass these variables, contained inside
> > php_config.ini, to printmap.phtml:
> > the value of $session['config'], inside the printdlg.phtml, is null and
> > the variables  for print aren't passed to printmap.phtml
> >
> > If I insert $session['config'] = $config; inside the __startup_conig.php
> > all it works.
> >
> > Is correct?
> >
> >
> > Thanks.
> > Marino
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to