Announcement

#1 2014-11-21 21:55:10

Shadowmerlin
Member
Coram (Long Island), NY, USA
2014-10-16
14

Error on update to 2.7.2

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

 

#2 2014-11-21 22:03:04

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13570

Re: Error on update to 2.7.2

Hi Shadowmerlin,

Can you delete directory _data/templates_c and give another try?

Offline

 

#3 2014-11-21 22:50:22

Shadowmerlin
Member
Coram (Long Island), NY, USA
2014-10-16
14

Re: Error on update to 2.7.2

That did it. 

Thanks VERY much.

Offline

 

#4 2015-07-14 23:57:00

jaguar
Guest

Re: Error on update to 2.7.2

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

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact