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

Phoca Gallery - image gallery extension
maestroc
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 17 Nov 2024, 20:58

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

Post 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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9700
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

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

Post by Benno »

Hi,
can you switch to Frontend Template Cassiopeia for testing?
Does it work as expected with Cassiopeia? :idea:

Kind regards,
Benno
christine
Phoca Hero
Phoca Hero
Posts: 2887
Joined: 28 Nov 2010, 17:20

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

Post 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
maestroc
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 17 Nov 2024, 20:58

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

Post 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
Post Reply