flyclothing Posted October 8, 2013 Share Posted October 8, 2013 When we try to add words to our tag list, we get this error: The tags list (English (United States)) is invalid. Even if we put "test" in the tag list section. The only way it will save if we take all words out of the tag list. This error is also showing at the top of the page. Warning: preg_match() [function.preg-match]: Compilation failed: invalid UTF-8 string at offset 12 in .../public_html/classes/Validate.php on line 629 This is the code at 629: return preg_match('/^[^!<>;?=+#"°{}_$%]*$/u', $list); Link to comment Share on other sites More sharing options...
vekia Posted October 8, 2013 Share Posted October 8, 2013 hello i've noticed that you've got several troubles with validation in your shop. It looks like you've got troubles with preg_match command on your hosting. may i know where you've got hosting? and what PHP version you use? to "fix" this issue, just use: return $list; instead of: return preg_match('/^[^!<>;?=+#"°{}_$%]*$/u', $list); Link to comment Share on other sites More sharing options...
flyclothing Posted October 9, 2013 Author Share Posted October 9, 2013 (edited) Yeah, it seems we have had several issues with the cart and have had to make several modifications to code to make some of the functions work. We are hosting with Handsonwebhosting and PHP version 5.3.27 I can also PM you all PHP info if needed. Edited October 9, 2013 by flyclothing (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts