Page 1 of 1

Long category view, with SEF on I get regular expression limit error

Posted: 24 Nov 2024, 22:57
by maestroc
I have a very long page of categories (around 200). With SEF turned off it loads fine. With SEF turned on it gives the error:

0 PHP regular expression limit reached (pcre.backtrack_limit)

But with SEF turned OFF it loads fine.

From the research I have done over on the Joomla forums it sounds like I just have too many on that one page and with SEF on it is too much to process all of the category URLS. I want to try to break it up into pages in the hopes that it will be less of a burden and the error will stop, however, I can't figure out how to use pagination on it. The menu item is:

List Of Categories (Categories View)

In the menu item I have enabled:

Display Pagination (Categories View) - Categories (Display)
Display Pagination (Category View) - Images (Display)

but I see no difference in the number of folders it is displaying and I do not see a pagination at the bottom.

Re: Long category view, with SEF on I get regular expression limit error

Posted: 24 Nov 2024, 23:50
by Benno
Hi,
can you switch to Frontend Template Cassiopeia for testing?
Does it work as expected with Cassiopeia? :idea:

Kind regards,
Benno

Re: Long category view, with SEF on I get regular expression limit error

Posted: 25 Nov 2024, 00:04
by christine
Hi,
maestroc wrote: 24 Nov 2024, 22:57 I have a very long page of categories (around 200). With SEF turned off it loads fine. With SEF turned on it gives the error:

0 PHP regular expression limit reached (pcre.backtrack_limit)

But with SEF turned OFF it loads fine.
Could you check this please System Information > PHP Information

Code: Select all

Directive				Local Value	     	Master Value
pcre.backtrack_limit		    	1000000	     		1000000
pcre.jit	  			On	    		On	      
pcre.recursion_limit		     	100000	       		100000
Kind regards
Christine

Re: Long category view, with SEF on I get regular expression limit error

Posted: 25 Nov 2024, 00:06
by maestroc
No it does not. With Casseopeia I receive the same pcre.backtrack_limit error.

I see this in the system info:


Directive Local Value Master Value
pcre.backtrack_limit 1000000 1000000
pcre.jit 0 0
pcre.recursion_limit 100000 100000