Hi guys,
Can anyone tell me what is this error message related to?
"
2014-04-27 14:16:56 - warning: AbanteCart core v.1.1.7 preg_grep() [<a href='function.preg-grep'>function.preg-grep</a>]: Compilation failed: nothing to repeat at offset 0 in <b>/home/topducan/public_html/core/engine/language.php</b> on line <b>253</b>
"
Thanks
when did you get this error ?
today in a period of 1minute i have 50 of these messages one after another and i have no clue why?
Were you doing anything at the time with your backend? That is a error from the core files.
This would happen with some strange value of browser language coming from the the browser. I am interested to know what browser and language you use.
i use Chrome version 34.0.1847.116 m
i use croatian language
Quote from: popustda on April 27, 2014, 11:54:21 AM
Hi guys,
Can anyone tell me what is this error message related to?
"
2014-04-27 14:16:56 - warning: AbanteCart core v.1.1.7 preg_grep() [<a href='function.preg-grep'>function.preg-grep</a>]: Compilation failed: nothing to repeat at offset 0 in <b>/home/topducan/public_html/core/engine/language.php</b> on line <b>253</b>
"
Thanks
Do you have language in your localisation settings with empty "locale" field?
not really. please check a pic
can you replace file core/engine/language.php
by attached and let me know about result
this helped with that problem but now i cant translate anything anymore.
Please check what error i get when i try to translate anything
thanks
Quote from: popustda on April 29, 2014, 07:44:02 AM
this helped with that problem but now i cant translate anything anymore.
Please check what error i get when i try to translate anything
thanks
looks like bug that we already fixed in 1.1.8.
you can try to replace files
public_html/admin/model/localisation/language_definitions.php (https://github.com/abantecart/abantecart-src/blob/master/public_html/admin/model/localisation/language_definitions.php)
and public_html/core/lib/language_manager.php (https://github.com/abantecart/abantecart-src/blob/master/public_html/core/lib/layout_manager.php)
from our git repository
.. or just upgrade your cart up to 1.1.8
i have upgraded and its ok now.
thanks