Jump to content

Blank front page with error after upgrade


Recommended Posts

I am getting this error on front page

 

Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file '/home/sunstone/public_html/themes/leotea/./layout//header.tpl' in '/home/sunstone/public_html/themes/leotea/./header.tpl'' in /home/sunstone/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php:127 Stack trace: #0 /home/sunstone/public_html/tools/smarty/sysplugins/smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL, false, false, true) #1 /home/sunstone/public_html/cache/smarty/compile/e5/97/70/e59770ef3b52497bf2726ed6c5d51cb111c1a6eb.file.header.tpl.php(282): Smarty_Internal_Template->getSubTemplate('/home/sunstone/...', NULL, NULL, NULL, NULL, Array, 0) #2 /home/sunstone/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(180): content_52a11b3320be88_45324374(Object(Smarty_Internal_Template)) #3 /home/sunstone/public_html/tools/smarty/sysplugins/smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL, false, false, t in/home/sunstone/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 127

Link to comment
Share on other sites

I am in php and I see the table. However when I click on it it says it does not exist.

 

I also found this code somewhere and tried to enter it as a query

DROP TABLE IF EXISTS `PREFIX_leohook`;
CREATE TABLE IF NOT EXISTS `PREFIX_leohook` (
  `id_hook` int(11) NOT NULL,
  `id_module` int(11) NOT NULL,
  `id_shop` int(11) NOT NULL,
  `theme` varchar(50) NOT NULL,
  `name_hook` varchar(100) NOT NULL,
  PRIMARY KEY (`id_hook`,`id_module`,`id_shop`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

 

it did not do anything.

Link to comment
Share on other sites

×
×
  • Create New...