[Cartoweb-users] Re: php/smarty error (maybe) when trying to use demo

Sylvain Pasche sylvain.pasche at camptocamp.com
Tue Dec 27 09:21:53 EST 2005


Hi,

You should not use the '--disable-tokenizer' option to the php configure
script. This is why the token_get_all function is not enabled.

I guess you need to adjust your gentoo build script for that.

Regards,

Le mardi 27 décembre 2005 à 23:50 +1100, Rhys Stewart a écrit :
> Hi Sylvain,
> 
> I'm using PHP 5.0.5, I've attached a copy of the phpinfo() page, hope
> this provides enough information.
> 
> Thanks
> 
> 
> On 12/27/05, Sylvain Pasche <sylvain.pasche at camptocamp.com> wrote:
> > Hi Rhys,
> >
> > Which version of PHP are you using ?
> >
> > The token_get_all function should be there since version >= 4.2.0. But
> > CartoWeb requires PHP > 5.0.4 at least.
> >
> > Regards,
> >
> > Sylvain
> >
> > Le dimanche 25 décembre 2005 à 09:35 +1100, Rhys Stewart a écrit :
> > > hello all,
> > > when trying to view the demo, i get this error, i fiddled around a bit
> > > (fiddling around usually works for me) but alas, no luck. The error is
> > > as follows:
> > >
> > > Fatal error: Call to undefined function token_get_all() in
> > > /home/rhys/womp/cartoweb3/include/smarty/plugins/compiler.defun.php on
> > > line 53
> > >
> > > I checked my smarty setup (not that I really know how it should be
> > > setup) and it seems fine.. according to the
> > > documentation.....ummm.....thats about it, have the latest smarty
> > > installed on the system.
> > >
> > > Thanks much.
> > >
> > > _______________________________________________
> > > Cartoweb-users mailing list
> > > Cartoweb-users at lists.maptools.org
> > > http://lists.maptools.org/mailman/listinfo/cartoweb-users
> >
> > _______________________________________________
> > Cartoweb-users mailing list
> > Cartoweb-users at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/cartoweb-users
> >



More information about the Cartoweb-users mailing list