[Cartoweb-users] troubles with smarty?
Oliver Christen
oliver.christen at camptocamp.com
Mon Oct 22 06:08:03 EDT 2007
Hi
the error message say it cant not find defun, defun is a smarty plugin
if you are not using the Smarty files comming with Cartoweb's includes, you
need to copy the smarty plugins files from the Cartoweb's includes smarty
into your current smarty plugin folder
regards
Oliver
> Hi, I upgraded my kubuntu to the newest 7.10 and now I cannot start
> cartoweb :-(
> Maybe I forgot to install or set something...
>
> What does this error means please?
>
> Thank you
>
> Failure
> Class : CartocommonExceptionMessage : Error [256, Smarty error: [in
> layers.tpl line 14]: syntax error: unrecognized tag 'defun'
> (Smarty_Compiler.class.php, line 590),
> /usr/share/php/smarty/Smarty.class.php, 1095]
> Backtrace:
>
> file: UNKNOWN - UNKNOWN
> call: Common::cartowebErrorHandler(256, "Smarty error: [in layers.tpl line
> 14]: syntax error: unrecognize...",
> "/usr/share/php/smarty/Smarty.class.php", 1095, Array(2))
>
> file: 1095 - /usr/share/php/smarty/Smarty.class.php
> call: trigger_error("Smarty error: [in layers.tpl line 14]: syntax error:
> unrecognize...", 256)
>
> file: 1817 - /usr/share/php/smarty/Smarty.class.php
> call: Smarty->trigger_error("[in layers.tpl line 14]: syntax error:
> unrecognized tag 'defun' ...", 256)
>
> file: 2218 - /usr/share/php/smarty/Smarty_Compiler.class.php
> call: Smarty->_trigger_fatal_error("syntax error: unrecognized tag
> 'defun'", "layers.tpl", 14,
> "/usr/share/php/smarty/Smarty_Compiler.class.php", 590, 256)
>
> file: 590 - /usr/share/php/smarty/Smarty_Compiler.class.php
> call: Smarty_Compiler->_syntax_error("unrecognized tag 'defun'", 256,
> "/usr/share/php/smarty/Smarty_Compiler.class.php", 590)
>
> file: 312 - /usr/share/php/smarty/Smarty_Compiler.class.php
> call: Smarty_Compiler->_compile_tag("defun name="drawChildren"
> element=$element")
>
> file: 1491 - /usr/share/php/smarty/Smarty.class.php
> call: Smarty_Compiler->_compile_file("layers.tpl",
> "_compile_source("layers.tpl", "_compile_resource("layers.tpl",
> "/var/www/cartoweb3/templates_c//5dd95ace3e9e0112354e86727917a8d6...")
>
> file: 1396 - /var/www/cartoweb3/coreplugins/layers/client/ClientLayers.php
> call: Smarty->fetch("layers.tpl")
>
> file: 1434 - /var/www/cartoweb3/coreplugins/layers/client/ClientLayers.php
> call: ClientLayers->drawLayersList()
>
> file: UNKNOWN - UNKNOWN
> call: ClientLayers->renderForm(Object(Smarty_Cartoclient))
>
> file: 270 - /var/www/cartoweb3/common/PluginManager.php
> call: call_user_func_array(Array(2), Array(1))
>
> file: 285 - /var/www/cartoweb3/common/PluginManager.php
> call: PluginManager->callPluginImplementing(Object(ClientLayers),
> "GuiProvider", "renderForm", Array(1))
>
> file: 693 - /var/www/cartoweb3/client/Cartoclient.php
> call: PluginManager->callPluginsImplementing("GuiProvider", "renderForm",
> Array(1))
>
> file: 375 - /var/www/cartoweb3/client/FormRenderer.php
> call: Cartoclient->callPluginsImplementing("GuiProvider", "renderForm",
> Object(Smarty_Cartoclient))
>
> file: 326 - /var/www/cartoweb3/client/FormRenderer.php
> call: FormRenderer->showForm()
>
> file: 1112 - /var/www/cartoweb3/client/Cartoclient.php
> call: FormRenderer->render()
>
> file: 1261 - /var/www/cartoweb3/client/Cartoclient.php
> call: Cartoclient->doMain()
>
> file: 33 - /var/www/cartoweb3/htdocs/client.php
> call: Cartoclient->main()
>
> file: 3 - /var/www/cartoweb3/htdocs/bbintra.php
> call: require_once("/var/www/cartoweb3/htdocs/client.php")
>
> _______________________________________________
> 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