SmartyCompilerException: Syntax error in template "skynar:/home/inventure/data/web/inventure.com.ua/template/Core.layout.tpl" on line 1 "{if $request->getPathInfo() == '/uk'} {$lang='uk'} {/if} {if isset($smarty.get.page) && $smarty.get.page > 1} {/if} {if $sm} {$user = $sm->getUser()} {/if} {literal} {/literal} {if $post} {meta 'og.1' property='og:title' content=html_entity_decode($post->getH1()) raw=1} {meta 'og.2' property='og:description' content=html_entity_decode($post->getShortText()) raw=1} {meta 'og.3' property='og:type' content='website' raw=1} {meta 'og.4' property='og:url' content=full_link($post->getPath()) raw=1} {if $post->hasImage()} {meta property='og:image' content=full_link($post->getImage()->getUrl()) raw=1} {meta 'og2' property='og:image' content=full_link($post->getImage()->thumbup(600,315)->getUrl()) raw=1} {meta 'og3' property='og:image' content=full_link($post->getImage()->thumbup(180,110)->getUrl()) raw=1} {meta 'twitter:title' html_entity_decode($post->getH1())} {meta 'twitter:description' html_entity_decode($post->getShortText())} {meta "twitter:card" "summary_large_image"} {meta "twitter:site" "@inventure_ua"} {meta "twitter:creator" "@inventure_ua"} {meta 'twitter:image' full_link($post->getImage()->getUrl())} {/if} {else} {meta 'og:5' raw=1 property='og:image' content=full_link('/i/inventure_corp.png')} {/if} {meta 'fb1' property='fb:app_id' content='160711107658620' raw=1} {*style '/css/foundation.min.css'*} {assign "isNewStylesAvaible" value=(true)} {literal} {/literal} {style '/css/style-v2.css' async=true} {style '/css/font-awesome.min.css' async=true} {* {style '//fonts.googleapis.com/css?family=Montserrat:400,400i,500,600,700&display=swap&subset=cyrillic,latin' async=true} *} {head} {* *} {script name="intlTelInput" async="" src="/js/intlTelInput-min.js"} {script name="iti-load-utils" async="" src="/js/utils.js"} {script name="lbx_script" async="" src="/js/lbx_script.js"} {script name="sweetalert2" async="" src="https://cdn.jsdelivr.net/npm/sweetalert2@8"} {script name="lazysizes" async="" src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.2.2/lazysizes.min.js"} {script name="remodal" require="jquery" async="" src="https://cdnjs.cloudflare.com/ajax/libs/remodal/1.1.1/remodal.min.js"} {script name="isValidNumber" require="intlTelInput,iti-load-utils" async="" src="/js/isValidNumber.js"} {script 'jquery' async=""} {script src="/js/utm_widget1.js" async="" require="jquery" name="utm_widget1"} {* {script src="/js/ui.js" async="" require="jquery,google_maps_api" name="ui_js" } *} {* {script src="/js/libs.min.js" async="" require="jquery" name="libs" } *} {script src="/js/dist/common-min.js" require="jquery" name="common"} {script src="/js/jquery.hoverIntent.minified.js" async="" name="hoverIntent" require="jquery" } {script src="/js/script.js" async="" require="jquery,hoverIntent" name="script"} {script src="/js/invest.js" async="" require="jquery" name="invest" } {* {script_code require=['foundation2', 'jquery']}$(document).foundation();{/script_code} *} {script_code require="google_recaptcha" name="grecaptchainitinblog"} console.log('+140 Google reCaptcha JavaScript API init'); {script_code require="cloudflare_captcha" name="cloudflareinitinblog"} console.log('+143 CloudFlare captcha JavaScript API init'); function onContact19Submit(token) { console.log('+147 token: ' + token); document.getElementById("contact-form-19").submit(); } {/script_code} {if $request->getPathInfo() == '/uk/investments/prodazh-diyuchoyi-merezhi-myasnih-magaziniv-z-vlasnim-virobnictvom-logistikoyu-ta-franshizoyu'} {literal} {/literal} {/if} {literal} {/literal} {if $isNewStylesAvaible} {include 'components/header-desktop'} {include 'components/header-mobile'}
{block 'side_buttons'} {include 'components/promo-links'} {/block}
{else} {include 'components/header-desktop-old'} {include 'components/header-mobile-old'} {/if} {block content} {$content} {/block}
- {widget_slot 'footer_1 (728x90)' size=[729, 90]}
- {widget_slot 'footer_2 (728x90)' size=[729, 90]}
{if $isNewStylesAvaible} {include 'components/footer'} {else} {include 'components/footer-old'} {/if} {*
*}
{literal} {/literal} {* *} {if $user && $user->canAccess('Page.publish') && ($page || $post || $blog)} {script_code require="jquery"} console.log('+815 content editable init'); jQuery('.the_post_content').attr('contenteditable', true); jQuery('.admin_edit').append('
'); jQuery('.save-inline-edits').click(function(){ console.log('+821 save edits with new text: ' + jQuery('.the_post_content').html()); console.log('+822 location path: ' + window.location.pathname); {literal} jQuery.post('/invest.php', {'action':'set','data':jQuery('.the_post_content').html(),'path':window.location.pathname}, function(res1){ console.log('+824 Got result: ' + res1); }); {/literal} }); {/script_code} {/if} {if $isNewStylesAvaible} {include 'components/callback'} {else} {include 'components/callback-old'} {/if} " unclosed {script_code} tag
/home/inventure/data/web/inventure.com.ua/cms/actual/lib/vendor/Smarty/sysplugins/smarty_internal_templatecompilerbase.php:1
/home/inventure/data/web/inventure.com.ua/cms/actual/lib/vendor/Smarty/sysplugins/smarty_internal_templatecompilerbase.php:1
1
<?php
2
/**
3
* Smarty Internal Plugin Smarty Template Compiler Base
4
* This file contains the basic classes and methods for compiling Smarty templates with lexer/parser
5
*
6
* @package Smarty
7
* @subpackage Compiler
8
* @author Uwe Tews
9
*/
10
/**
#0 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/vendor/Smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(127): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unclosed {scrip...')
#1 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/vendor/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(359): Smarty_Internal_SmartyTemplateCompiler->doCompile('{if $request->g...', true)
#2 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/vendor/Smarty/sysplugins/smarty_internal_templatecompilerbase.php(292): Smarty_Internal_TemplateCompilerBase->compileTemplateSource(Object(Smarty_Internal_Template), false, NULL)
#3 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/vendor/Smarty/sysplugins/smarty_template_compiled.php(199): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#4 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/vendor/Smarty/sysplugins/smarty_template_compiled.php(107): Smarty_Template_Compiled->compileTemplateSource(Object(Smarty_Internal_Template))
#5 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/vendor/Smarty/sysplugins/smarty_template_compiled.php(161): Smarty_Template_Compiled->process(Object(Smarty_Internal_Template))
#6 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/vendor/Smarty/sysplugins/smarty_internal_template.php(184): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#7 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/vendor/Smarty/sysplugins/smarty_internal_templatebase.php(199): Smarty_Internal_Template->render(false, 0)
#8 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/vendor/Smarty/sysplugins/smarty_internal_templatebase.php(99): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), 'Core.layout', 'Core.layout', NULL, 0)
#9 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/Skynar/Service/SmartyTemplateManager.php(322): Smarty_Internal_TemplateBase->fetch('Core.layout', 'Core.layout', 'Core.layout')
#10 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/Skynar/Service/SmartyTemplateManager.php(223): Skynar\Service\SmartyTemplateManager->_render('Core.layout', 'Core.layout', Array, true)
#11 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/Skynar/Service/SmartyTemplateManager.php(273): Skynar\Service\SmartyTemplateManager->render('Core.layout', Array, true)
#12 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/Skynar/Http/Response/HtmlResponse.php(39): Skynar\Service\SmartyTemplateManager->forceRender('Core.layout', Array)
#13 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/Skynar/Application.php(286): Skynar\Http\Response\HtmlResponse->render()
#14 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/Skynar/Application.php(120): Skynar\Application->view(Object(Skynar\Http\Request), Object(Skynar\Http\Response\HtmlResponse))
#15 /home/inventure/data/web/inventure.com.ua/www/index.php(109): Skynar\Application->run()
#16 {main}