简体   繁体   English

域名更改后产品页面上的 Prestashop 错误

[英]Prestashop error on product page after domain name change

After i changed the domain name of my prestashop instalation i can't connect to admin anymore.在我更改了我的 prestashop 安装的域名后,我无法再连接到管理员。 I tried debug mod then i was able to connect to admin but there was errors an my products page:我尝试了 debug mod 然后我能够连接到管理员,但我的产品页面出现错误:

(1/1) ContextErrorException
Notice: Undefined index: lng

in e50d7a72e070bd5681c93bfa420e5d7bf7ce90e8_2.file.product.tpl.php line 635
at Block_5636438495bf032887165a3_21987681->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 247
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_5636438495bf032887165a3_21987681), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 183
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_5636438495bf032887165a3_21987681), object(Block_15679221315bf0326619f255_83923016))
in smarty_internal_runtime_inheritance.php line 185
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_15679221315bf0326619f255_83923016))
in smarty_internal_runtime_inheritance.php line 157

Can someone help to solve this problem ?有人可以帮助解决这个问题吗?

try clean cache in var/cache/ or app/cache And check PHP version !尝试清理var/cache/ or app/cache并检查 PHP 版本!

Regards问候

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM