AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: hani on January 27, 2017, 01:32:37 PM

Title: Error messages
Post by: hani on January 27, 2017, 01:32:37 PM
Hi
i my error log i keep getting the below error message

warning: AbanteCart core v.1.2.9 preg_match(): Compilation failed: nothing to repeat at offset 0 in <b>/home/XXXXXXX/public_html/core/engine/language.php</b> on line <b>292</b>

does anyone know what this means?? i checked in the forum did not see similar case.

Title: Re: Error messages
Post by: maxter on January 28, 2017, 04:54:52 PM
I wonder what browser do you use then this error is triggered? Is this error triggered by you or you just see this error in the log?

Title: Re: Error messages
Post by: hani on January 29, 2017, 04:42:26 AM
Thanks for your reply.

These warnings i see them in the logs file from the admin panel
Title: Re: Error messages
Post by: jetman on January 30, 2017, 12:47:41 AM
I am getting the same warning in our log (100+ entries). Normal visitors don't trigger the warming, so I am guessing its a bot with a malformed HTTP_ACCEPT_LANGUAGE?? I tried to trigger the warming on demand but I haven't found the winning combination.

php 7.0.13
litespeed
AbanteCart v.1.2.9
Title: Re: Error messages
Post by: Basara on January 30, 2017, 01:05:29 AM
Hello.
Issue reported to AbanteCart bug tracker https://github.com/abantecart/abantecart-src/issues/773
Title: Re: Error messages
Post by: jetman on January 30, 2017, 01:07:58 AM
Thank you Basara
Title: Re: Error messages
Post by: Basara on February 08, 2017, 04:46:01 AM
Hi. Try this solution https://github.com/abantecart/abantecart-src/commit/8f278a0bcf68518c368a440839960fbb458d5a0a
Title: Re: Error messages
Post by: jetman on February 11, 2017, 12:09:43 AM
The solution has been applied and I will report back in a few days.
Title: Re: Error messages
Post by: jetman on February 12, 2017, 01:11:17 AM
Unfortunately, I am continuing to get warnings:

warning: AbanteCart core v.1.2.9 preg_match(): Compilation failed: nothing to repeat at offset 0 in <b>/home/xxx/public_html/core/engine/language.php</b> on line <b>293</b>
Title: Re: Error messages
Post by: hani on February 14, 2017, 12:43:36 PM
Hello

I am getting also the same warning

 warning: AbanteCart core v.1.2.9 preg_match(): Compilation failed: nothing to repeat at offset 0 in <b>/home/XXXXXX/public_html/core/engine/language.php</b> on line <b>263</b>
Title: Re: Error messages
Post by: abolabo on February 20, 2017, 10:41:59 AM
to solve just replace your file with this https://github.com/abantecart/abantecart-src/blob/5b46e86d8f42f1197ee7d76f2c06529b89e7592a/public_html/core/engine/language.php