[Cartoweb-users] Problem including the file compiledfromlayers.tpl

Gambin Dejan Dejan.Gambin at pula.hr
Fri Jul 29 01:38:17 EDT 2005


Well, I don't see the profile parameter anywhere, neither it is defined
in the documentation so it must be something new. Anyway, I think I have
disabled all cache and enabled all check but test_project still doesn't
work as expected.

But after clearing all the cache in Mozilla and starting client.php I
have got:

Parse error: syntax error, unexpected '?' in C:\Program Files\Apache
Group\Apache2\htdocs\cartoweb3new\templates_c\e05a49440aa53dbff941371912
a01067^%%89^896^896E8A47%%layers.tpl.php on line 19

...and line 19 is:

<?php ?php if (!function_exists('smarty_fun_drawChildren')) { function
smarty_fun_drawChildren(&$smarty, $params) { $_fun_tpl_vars =
$smarty->_tpl_vars; $smarty->assign($params);  ?>

...so here is the error in double <?php I don't know why. When I correct
this and call client.php again I can get the main page but after
choosing test_project I get blank page. If I disable all the LoadPlugins
for that project I can get "something" but I can't do anything with
that.

Does anyone know what can be the problem?

regards, dejan

-----Original Message-----
From: cartoweb-users-bounces at lists.maptools.org
[mailto:cartoweb-users-bounces at lists.maptools.org] On Behalf Of oliver
Sent: Thursday, July 28, 2005 3:17 PM
To: cartoweb-users at lists.maptools.org
Subject: Re: [Cartoweb-users] Problem including the file
compiledfromlayers.tpl


in your in your client.ini file ( in cartoweb3/client_conf ) there is a
"profile = " parameter. Set it to "development", as it will disable all
cache and enable all check.

You may also set it to "custom" and disable smartyCompileCheck (ie
smartyCompileCheck = true)

regards,
Oliver

> Hi,
>
> How can I set the profile to "development"? Is it enough to set 
> showDevelMessages and developerIniConfig to true? Just to inform you, 
> my layers.tpl file is being compiled and I have xxxxlayers.tpl.php 
> file but it seems it is corrupted.
>
> regards, dejan
>
> -----Original Message-----
> From: oliver [mailto:oliver.christen at camptocamp.com]
> Sent: Thursday, July 28, 2005 2:13 PM
> To: Gambin Dejan
> Subject: Re: [Cartoweb-users] Problem including the file compiled from

> layers.tpl
>
>
> hello,
>
> if a page fail to compile, it may be caused by a smarty error. Be sure

> to have the profil set to "development" in your client.ini, or look 
> for unclosed smarty tags { }, missing or unknow variables or so
>
> regards,
> Oliver
> Camptocamp SA
>
> > Hi,
> >
> > After more investigation I can confirm that it fails when including 
> > xxxxxlayers.tpl.php from templates_c folder, I don't know why. When 
> > I try to copy another file to that name it passes so there must be 
> > something with this compiled file. I also tried to delete the file 
> > to let cartoweb create new one, but the same happens with the new 
> > one (which is identical of course).
> >
> > Any help??
> >
> > dejan gambin
> >
>
>
> _______________________________________________
> 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