[Kolab-devel] missing footer.html file after update

Mat Cantin mat at cantinbrothers.ca
Fri Nov 30 00:02:04 CET 2012


Greetings,

As I've mentioned before, I have 2 development server with Kolab3 on 
CentOS 6.3. Something odd happened today when I updated: one server had 
no problems, the other server sopped loading the kolab-webadmin page 
with a 500 error. Here's the log:

[29-Nov-2012 22:41:14 UTC] PHP Fatal error:  Uncaught exception 
'SmartyException' with message 'Unable to load template file 
'footer.html' in 'main.html'' in 
/usr/share/php/Smarty/sysplugins/smarty_internal_templatebase.php:127
Stack trace:
#0 /usr/share/php/Smarty/sysplugins/smarty_internal_template.php(285): 
Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL, false, 
false, true)
#1 
/var/cache/kolab-webadmin/3fab8ef358ba66932909219426d36c81b8fb75d5.file.main.html.php(95): 
Smarty_Internal_Template->getSubTemplate('footer.html', NULL, NULL, 
NULL, NULL, Array, 0)
#2 
/usr/share/php/Smarty/sysplugins/smarty_internal_templatebase.php(180): 
content_50a6beb42d7eb(Object(Smarty_Internal_Template))
#3 
/usr/share/php/Smarty/sysplugins/smarty_internal_templatebase.php(374): 
Smarty_Internal_TemplateBase->fetch('main.html', NULL, NULL, NULL, true)
#4 /usr/share/kolab-webadmin/lib/kolab_client_output.php(179): 
Smarty_Internal_TemplateBase->display('main.html')
#5 /usr/share/kolab-webadmin/lib/kolab_client_output.php(90): 
kolab_client_output->send_tpl('main')
  in /usr/share/php/Smarty/sysplugins/smarty_internal_templatebase.php 
on line 127

Comparing the two servers, I've found that for some reason the 
footer.html file located in 
/usr/share/kolab-webadmin/public_html/skins/default/templates/ no longer 
exist on the broken server. Why would this happen?

I've manage to get the kolab-webadmin page working again by manually 
copying the footer.html file from the working server to the broken 
server, but I'm now wondering if there's going to be any other missing 
files the next time I upgrade?

I should note that at the time of the update both servers were running 
different versions of kolab3, I unfortunately didn't keep track of which 
these were.

-- 
Mat




More information about the devel mailing list