AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: Twobad on April 07, 2014, 08:51:57 AM

Title: Error Log Messages
Post by: Twobad on April 07, 2014, 08:51:57 AM
Hello Guys

Need some help here i went into admin error log section and saw the below error, can someone explain what this error is please.

2014-04-07 11:50:36 - warning:  AbanteCart core v.1.1.8 preg_grep() [<a href='function.preg-grep'>function.preg-grep</a>]: Compilation failed: nothing to repeat at offset 0 in <b>/home/xxxxxxxx/public_html/core/engine/language.php</b> on line <b>253</b>


Thanks
Title: Re: Error Log Messages
Post by: abantecart on April 07, 2014, 11:43:19 AM
This looks like, somebody accessed your site from browser that did not have browser language setup.
This is strange, but I would not worry about this.

I will add condition to check for this in the next release.

You can see this line in here:
https://github.com/abantecart/abantecart-src/blob/master/public_html/core/engine/language.php#L253
Title: Re: Error Log Messages
Post by: Twobad on April 07, 2014, 12:18:04 PM
Thanks admin for the reply i will no bother to look into this then if that's the case, i do have 1 other thing to ask tho so see below for the questions.

1, How long does Latest Products remain on home page for after you have just uploaded new products and is there a setting to change the time frame?

2, Because i have made changes only to banner's and content will the next update wipeout any changes i have made to the site?

Thanks
Title: Re: Error Log Messages
Post by: abolabo on April 08, 2014, 06:17:58 AM
1. everytime when you changed something in products your cache cleared.
2. abantecart's upgrade process does not affect your data
Title: Re: Error Log Messages
Post by: abantecart on April 08, 2014, 09:08:46 AM
Please do not put different topics in on post and make your subject more descriptive.