(solved)Error happens when upgrading from 1.10.3 to 1.11.10

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
twen88
Forum Members
Forum Members
Posts: 118
Joined: Thu Aug 16, 2007 8:07 pm

(solved)Error happens when upgrading from 1.10.3 to 1.11.10

Post by twen88 »

Please Help, really appreciated!

My php version is 5.35

All the modules have been updated prior to the upgrade.

Here is the error message I've gotten after the upgrade is done, no error during the upgrading process:

Oops!

Sorry, it looks like something went wrong and an error has occurred. Don’t worry, it can happen to any of us.

Error: at line 5 in file /home/saicoafj/public_html/lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php:

Message:

Syntax error in template "globalcontent:search" on line 5 "
{search resultpage="search"}" - Unexpected "&"

Full Trace:

#0 /home/saicoafj/public_html/lib/smarty/libs/sysplugins/smarty_internal_templateparser.php(3135): Smarty_Internal_TemplateCompilerBase->trigger_template_error()
#1 /home/saicoafj/public_html/lib/smarty/libs/sysplugins/smarty_internal_templateparser.php(3199): Smarty_Internal_Templateparser->yy_syntax_error(43, '&')
#2 /home/saicoafj/public_html/lib/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php(111): Smarty_Internal_Templateparser->doParse(43, '&')
#3 /home/saicoafj/public_html/lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(273): Smarty_Internal_SmartyTemplateCompiler->doCompile('<table style="b...')
#4 /home/saicoafj/public_html/lib/smarty/libs/sysplugins/smarty_internal_template.php(186): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#5 /home/saicoafj/public_html/lib/smarty/libs/sysplugins/smarty_internal_templatebase.php(149): Smarty_Internal_Template->compileTemplateSource()
#6 /home/saicoafj/public_html/lib/classes/class.Smarty_CMS.php(326): Smarty_Internal_TemplateBase->fetch('globalcontent:s...', 'p15', NULL, NULL, false, false, false)
#7 /home/saicoafj/public_html/plugins/function.global_content.php(23): Smarty_CMS->fetch('globalcontent:s...')
#8 /home/saicoafj/public_html/lib/smarty/libs/sysplugins/smarty_internal_templatebase.php(151) : eval()'d code(28): smarty_function_global_content(Array, Object(Smarty_Internal_Template))
#9 /home/saicoafj/public_html/lib/smarty/libs/sysplugins/smarty_internal_templatebase.php(182): content_53b0c7e75a2e46_72794316(Object(Smarty_Internal_Template))
#10 /home/saicoafj/public_html/lib/classes/class.Smarty_CMS.php(326): Smarty_Internal_TemplateBase->fetch('string:<div sty...', 'p15', NULL, NULL, false, false, false)
#11 /home/saicoafj/public_html/lib/classes/class.CMS_Content_Block.php(324): Smarty_CMS->fetch('string:<div sty...')
#12 /home/saicoafj/public_html/lib/smarty/libs/sysplugins/smarty_internal_templatebase.php(151) : eval()'d code(42): CMS_Content_Block::smarty_internal_fetch_contentblock(Array, Object(Smarty_Internal_Template))
#13 /home/saicoafj/public_html/lib/smarty/libs/sysplugins/smarty_internal_templatebase.php(182): content_53b0c7e7417889_79097939(Object(Smarty_Internal_Template))
#14 /home/saicoafj/public_html/lib/classes/class.Smarty_CMS.php(326): Smarty_Internal_TemplateBase->fetch('tpl_body:20', 'p15', NULL, NULL, false, false, false)
#15 /home/saicoafj/public_html/index.php(240): Smarty_CMS->fetch('tpl_body:20')
#16 {main}

Here is my system info:

CMS Version 1.11.10


Installed Modules
CMSMailer 5.2.2
FileManager 1.4.4
MenuManager 1.8.6
ModuleManager 1.5.5
News 2.14.2
nuSOAP 1.0.1
Printing 1.0.3
Search 1.7.11
ThemeManager 1.1.8
TinyMCE 2.9.12
FCKeditorX 1.1.0
Banners 2.1.0
CMSPrinting 1.0.5
MicroTiny 1.2.6
CGExtensions 1.31
CGCalendar 1.10.0.1
Showtime 3.4

Current PHP Version (phpversion) 5.3.25
md5 function (md5_function) On (True)
GD version (gd_version) 2
tempnam function (tempnam_function) On (True)
Magic quotes in runtime (magic_quotes_runtime) Off (False)
Is E_STRICT disabled in error_reporting (E_STRICT)
Is E_DEPRECATED disabled in error_reporting (E_DEPRECATED) Caution E_DEPRECATED is enabled
Last edited by twen88 on Mon Jun 30, 2014 7:48 am, edited 1 time in total.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Help! Error happens when upgrading from 1.10.3 to 1.11.1

Post by velden »

1.11.10 is using a newer version of Smarty. It's a little more sensitive to syntax errors.

Probably something wrong in your Global Contact Block named 'search'.
You could post the contents here.
twen88
Forum Members
Forum Members
Posts: 118
Joined: Thu Aug 16, 2007 8:07 pm

Re: Help! Error happens when upgrading from 1.10.3 to 1.11.1

Post by twen88 »

Thank you Velden, you are correct!

I did find one syntax error in one of the global content tags. And everyting is back to normal now.
Locked

Return to “[locked] Installation, Setup and Upgrade”