Install from 1.10 to 1.11.3 broke [solved - template issue]

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
skarni
Forum Members
Forum Members
Posts: 43
Joined: Thu Dec 16, 2010 5:28 pm

Install from 1.10 to 1.11.3 broke [solved - template issue]

Post by skarni »

I'm using a modified version of the awesome template BizBuzz. Today I decided to upgrade my cmsms website from 1.10 to 1.11.3. I get anxiety every time I have to do this as I am not a php programmer, just a non-profit worker.

After completing each upgrade as instructed, my homepage displays the following:

Code: Select all

Error: at line 702 in file /home/mysite/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:
Full Trace:

Code: Select all

#0 /home/tourpike/public_html/lib/smarty/sysplugins/smarty_internal_compilebase.php(113): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unexpected "val...', 3)
#1 /home/tourpike/public_html/lib/smarty/sysplugins/smarty_internal_compile_capture.php(45): Smarty_Internal_CompileBase->getAttributes(Object(Smarty_Internal_SmartyTemplateCompiler), Array)
#2 /home/tourpike/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(520): Smarty_Internal_Compile_Capture->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL)
#3 /home/tourpike/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(249): Smarty_Internal_TemplateCompilerBase->callTagCompiler('capture', Array, Array)
#4 /home/tourpike/public_html/lib/smarty/sysplugins/smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('capture', Array)
#5 /home/tourpike/public_html/lib/smarty/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r36()
#6 /home/tourpike/public_html/lib/smarty/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(36)
#7 /home/tourpike/public_html/lib/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(16, '{')
#8 /home/tourpike/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile('           ??  ...')
#9 /home/tourpike/public_html/lib/smarty/sysplugins/smarty_internal_template.php(187): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#10 /home/tourpike/public_html/lib/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource()
#11 /home/tourpike/public_html/lib/classes/class.Smarty_CMS.php(319): Smarty_Internal_TemplateBase->fetch('tpl_body:44', 'p15', NULL, NULL, false, false, false)
#12 /home/tourpike/public_html/index.php(235): Smarty_CMS->fetch('tpl_body:44')
#13 {main}

Steps I took to upgrade:

I installed the following in this order, per instructions.

1: cmsmadesimple-1.11-full.tar.gz
2: cmsmadesimple-full-diff-1.11-1.11.1.tar.gz
3: cmsmadesimple-full-diff-1.11.1-1.11.2.tar.gz
4: cmsmadesimple-full-diff-1.11.2-1.11.2.1.tar.gz
5: cmsmadesimple-1.11.3-full.tar.gz

My installed modules and versions:

AdvancedContent 0.9.4
CGBlog 1.9.8
CGCalendar 1.10.0.1
CGExtensions 1.31.2
CGFeedback 1.5.10
CGGoogleMaps 2.4.3
CGSimpleSmarty 1.5.2
CMSMailer 5.2.1
CMSPrinting 1.0.3
Captcha 0.4.5
FileManager 1.4.2
FormBuilder 0.7.3
Gallery 1.6
JQueryTools 1.1.1
MenuManager 1.8.4
MicroTiny 1.2.4
ModuleManager 1.5.5
MysqlDump 1.2.4
News 2.12.10
Printing 1.1.2
Products 2.18.4
Search 1.7.7
SiteMapMadeSimple 1.2.6
Snippets 0.4
ThemeManager 1.1.7
TinyMCE 2.9.12

OS: Windows 7

Not sure what to do.
Last edited by skarni on Wed Dec 19, 2012 11:41 pm, edited 1 time in total.
skarni
Forum Members
Forum Members
Posts: 43
Joined: Thu Dec 16, 2010 5:28 pm

Re: Install from 1.10 to 1.11.3 broke, HELP!

Post by skarni »

Update: After messing around with the template, I removed the code in question "{capture assign=galleryfolder value=$entry->gallery}{content block="Gallery Folder" description='Enter the name of the Gallery folder you wish to use' page_tab='Header Options' wysiwyg='false' oneline='true'}{/capture}"

This is associated with the nivo slider on the homepage. The page will pull up, but with an error: "There is a path issue with the orginal image!" for each graphic that is supposed to be on the slider. Is this a case of BizBuzz template being incompatible with the newest version of cmsms?
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: Install from 1.10 to 1.11.3 broke, HELP!

Post by Jo Morg »

skarni wrote:Update: After messing around with the template, I removed the code in question "{capture assign=galleryfolder value=$entry->gallery}{content block="Gallery Folder" description='Enter the name of the Gallery folder you wish to use' page_tab='Header Options' wysiwyg='false' oneline='true'}{/capture}"
It appear that, for some reason, some symbols were converted to their HTML entities counterparts...
Try:

Code: Select all

{capture assign=galleryfolder value=$entry->gallery}{content block='Gallery Folder' description='Enter the name of the Gallery folder you wish to use' page_tab='Header Options' wysiwyg='false' oneline='true'}{/capture}
Make sure that you are not using or have any WYSIWYG editor active on the textarea where you insert this code....
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
skarni
Forum Members
Forum Members
Posts: 43
Joined: Thu Dec 16, 2010 5:28 pm

Re: Install from 1.10 to 1.11.3 broke, HELP!

Post by skarni »

Sorry for the late followup.

I noticed a problem when pasting the new code into the template through the "templates" portion of the admin. When I click "apply", I get the following error:

Code: Select all

Syntax Error in template "template:appdata;tmp_template" on line 51 "{capture assign=galleryfolder value=$entry->gallery}{content block='Gallery Folder' description='Enter the name of the Gallery folder you wish to use' page_tab='Header Options' wysiwyg='false' oneline='true'}{/capture}" unexpected "value" attribute
Even though I pasted the correct code in. It would seem that my theme editor is changing the code to its HTML state. Why is it doing this all of a sudden?

???
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Install from 1.10 to 1.11.3 broke, HELP!

Post by calguy1000 »

Code: Select all

{capture assign=galleryfolder value=$entry->gallery}
Is invalid syntax. the {capture} tag does not have a "value" parameter. And even if it did... the $entry->gallery syntax would probably not be what you want.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
skarni
Forum Members
Forum Members
Posts: 43
Joined: Thu Dec 16, 2010 5:28 pm

Re: Install from 1.10 to 1.11.3 broke, HELP!

Post by skarni »

That syntax is straight from the BizBuzz V2 template. It has worked for years. What really confuses me is why the template manager is converting the code from

Code: Select all

{capture assign=galleryfolder value=$entry->gallery}...
to

Code: Select all

{capture assign=galleryfolder value=$entry->gallery}
:-\
Jean le Chauve

Re: Install from 1.10 to 1.11.3 broke, HELP!

Post by Jean le Chauve »

Locked

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