Hello. Hoping I can get some help with upgrading from 2.7.1 to 2.7.2
I get the following error message when I click on "Updates":
Fatal error: Uncaught exception 'SmartyException' with message 'Invalid compiled template for 'updates_pwg.tpl'' in /var/www/clients/client3/web12/web/piwigo/include/smarty/libs/sysplugins/smarty_internal_templatebase.php:174 Stack trace: #0 /var/www/clients/client3/web12/web/piwigo/include/template.class.php(484): Smarty_Internal_TemplateBase->fetch('updates_pwg.tpl') #1 /var/www/clients/client3/web12/web/piwigo/include/template.class.php(407): Template->parse('plugin_admin_co...', true) #2 /var/www/clients/client3/web12/web/piwigo/admin/updates_pwg.php(166): Template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_co...') #3 /var/www/clients/client3/web12/web/piwigo/admin/updates.php(43): include('/var/www/client...') #4 /var/www/clients/client3/web12/web/piwigo/admin.php(288): include('/var/www/client...') #5 {main} thrown in /var/www/clients/client3/web12/web/piwigo/include/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 174
Can you tell me how to fix it?
Piwigo version: 2.7.1
PHP version: 5.3.10-1ubuntu3.11
MySQL version: 5.5.37-0ubuntu0.12.04.1
Piwigo URL: http://www.nfa64.org/piwigo/
Thank you.
Offline
Hi Shadowmerlin,
Can you delete directory _data/templates_c and give another try?
Offline
That did it.
Thanks VERY much.
Offline
Just installed piwigo on a Ubuntu 14.04 LTS server. Can not get past this when selecting add.
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "./admin/themes/default/template/photos_add_direct.tpl" on line 245 "<select data-selectize="categories" data-value="{$selected_category|@json_encode|escape:html}"" unknown modifier "json_encode"' in /var/www/html/gallery/include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php:665 Stack trace: #0 /var/www/html/gallery/include/smarty/libs/sysplugins/smarty_internal_compile_private_modifier.php(132): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown modifie...', 245) #1 /var/www/html/gallery/include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(473): Smarty_Internal_Compile_Private_Modifier->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #2 /var/www/html/gallery/include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(257): Smarty_Internal_TemplateCompilerBase->callTagCompiler('private_modifie...', Arra in /var/www/html/gallery/include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 665