Не работает мультиязычность

Не работает мультиязыность. Что делать?


<h2 id="Title" style="font-family: "Times New Roman";">waException code 0</h2>
## wa-system/waSystem.class.php(499)
#0 index.php(7): waSystem->dispatch()
#1 {main}

Next SmartyCompilerException with message '':
## wa-system/vendors/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(667)
#0 wa-system/vendors/smarty3/sysplugins/smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error()
#1 wa-system/vendors/smarty3/sysplugins/smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(10, '/xD1')
#2 wa-system/vendors/smarty3/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, '/xD1')
#3 wa-system/vendors/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(206): Smarty_Internal_SmartyTemplateCompiler->doCompile('{strip}/n{if !em...')
#4 wa-system/vendors/smarty3/sysplugins/smarty_internal_compile_include.php(146): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#5 wa-system/vendors/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(485): Smarty_Internal_Compile_Include->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL)
#6 wa-system/vendors/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(259): Smarty_Internal_TemplateCompilerBase->callTagCompiler('include', Array, Array)
#7 wa-system/vendors/smarty3/sysplugins/smarty_internal_templateparser.php(2388): Smarty_Internal_TemplateCompilerBase->compileTag('include', Array)
#8 wa-system/vendors/smarty3/sysplugins/smarty_internal_templateparser.php(3101): Smarty_Internal_Templateparser->yy_r36()
#9 wa-system/vendors/smarty3/sysplugins/smarty_internal_templateparser.php(3201): Smarty_Internal_Templateparser->yy_reduce(36)
#10 wa-system/vendors/smarty3/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, '/n/t')
#11 wa-system/vendors/smarty3/sysplugins/smarty_internal_templatecompilerbase.php(206): Smarty_Internal_SmartyTemplateCompiler->doCompile('{strip}/n{* /xD0/xA1/xD0/x9B...')
#12 wa-system/vendors/smarty3/sysplugins/smarty_internal_template.php(187): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#13 wa-system/vendors/smarty3/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource()
#14 wa-system/view/waSmarty3View.class.php(117): Smarty_Internal_TemplateBase->fetch('file:category.h...', NULL)
#15 wa-system/controller/waViewAction.class.php(171): waSmarty3View->fetch('file:category.h...', NULL)
#16 wa-apps/shop/lib/actions/frontend/shopFrontend.action.php(139): waViewAction->display(false)
#17 wa-system/controller/waViewController.class.php(86): shopFrontendAction->display()
#18 wa-system/controller/waDefaultViewController.class.php(48): waViewController->executeAction(Object(shopFrontendCategoryAction))
#19 wa-system/controller/waController.class.php(21): waDefaultViewController->execute()
#20 wa-system/controller/waViewController.class.php(46): waController->run(NULL)
#21 wa-system/controller/waFrontController.class.php(229): waViewController->run(NULL)
#22 wa-system/controller/waFrontController.class.php(164): waFrontController->runController(Object(waDefaultViewController), NULL)
#23 wa-system/controller/waFrontController.class.php(58): waFrontController->execute(NULL, 'frontend', 'category')
#24 wa-system/waSystem.class.php(740): waFrontController->dispatch()
#25 wa-system/waSystem.class.php(487): waSystem->dispatchFrontend('ua/catalog/zabo...')
#26 index.php(7): waSystem->dispatch()
#27 {main}
<h3>/var/www/perfosteel/data/www/frunzezabor.com/wa-system/waSystem.class.php around line 499</h3>
494	                $log[] = $e instanceof waException ? $e->getFullTraceAsString() : $e->getTraceAsString();
   495	                waLog::log(join("\n", $log));
   496	            }
   497	            if (class_exists('waException')) {
   498	                if (!$e instanceof waException) {
 >>499	                    $e = new waException($e->getMessage(), $e->getCode(), $e);
   500	                }
   501	                $e->sendResponseCode();
   502	            }
   503	            print $e;
   504	        }
<h2>GET</h2>
array()
<h2>Params</h2>
array(
  'app' => 'shop',
  '_name' => 'Головна',
  'theme' => 'prostore',
  'theme_mobile' => 'prostore',
  'locale' => 'uk_UA',
  'ssl_all' => '1',
  'title' => 'Фрунзе забор',
  'meta_keywords' => '',
  'meta_description' => '',
  'og_title' => '',
  'og_image' => '',
  'og_video' => '',
  'og_description' => '',
  'og_type' => '',
  'og_url' => '',
  'url_type' => '1',
  'type_id' => '0',
  'currency' => 'UAH',
  'public_stocks' => '0',
  'drop_out_of_stock' => '0',
  'payment_id' => '0',
  'shipping_id' => '0',
  'ssl' => '1',
  'category_url' => 'zabor-dlya-ograzhdeniya-dorogi',
  'module' => 'frontend',
  'action' => 'category', 

)создал все по правилам

1 ответ

  • 1
    Максим 25 мая 2018 12:25 #

    Судя по ошибке, у вас какие-то проблемы в шаблоне category.html, проверьте, чтобы не было лишних строк там. 

Добавить ответ

Чтобы добавить комментарий, зарегистрируйтесь или войдите