Welcome Guest, Not a member yet? Register   Sign In
preg_match(): Compilation failed: regular expression is too large
#6

(08-10-2015, 06:13 AM)RobotXX Wrote: The problem persists and the topic is current. It can not be somehow easier to solve?

Yes:

1. When you've got hundreds of lines of SQL, use a raw query() instead of shoving it into the Query Builder.
2. Abstract some of that logic into the database itself (e.g. IN(SELECT * FROM table_name) instead of IN(...thousands of items ...)).
Reply


Messages In This Thread
RE: preg_match(): Compilation failed: regular expression is too large - by Narf - 08-10-2015, 02:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB