Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] 0 PHP REGULAR EXPRESSION LIMIT REACHED (PCRE.BACKTRACK_LIMIT)

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 7 months ago - 8 years 7 months ago #278582 by timstohr
Hey guys,

When I click on EDIT, I am getting the above error (0 PHP REGULAR EXPRESSION LIMIT REACHED (PCRE.BACKTRACK_LIMIT))

What could be the problem?
Last edit: 8 years 7 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 7 months ago #278583 by timstohr
Registration is also down :(

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 7 months ago #278605 by krileon
Enable debug mode and maximum error reporting in Joomla global configuration then retry to further expose the error. Could be memory limits otherwise it's a server configuration issue (too much REGEXP in 1 process).

www.google.com/search?q=Joomla+PCRE.BACKTRACK_LIMIT

In short you need to likely increase pcre.backtrack_limit and pcre.recursion_limit values.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 7 months ago - 8 years 7 months ago #278649 by timstohr
The hoster is currently having a look at it. Somehow I didnt manage to raise the PCRE...
Attachments:
Last edit: 8 years 7 months ago by timstohr.

Please Log in or Create an account to join the conversation.

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 7 months ago #278652 by timstohr
I have just run the tools for CB: I am getting the following:

Warning: 18 entries in Community Builder comprofiler_field_values link back to fields of wrong fieldtype.

How do I repair/change them? I have tried phpMyAdmin (repair) in the hope that it would do it but it didnt...

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 7 months ago #278670 by krileon
It's entirely hosting related. You're hitting REGEXP limits. See the Google search I've provided for you for numerous solutions. Some specifically for Joomla. My guess is you're using a lot of REGEXP validation or maybe a lot of REGEXP conditions in CB Conditional. Could also be a combination of those 2 and 3rd party extensions. For example Joomla content plugins typically use REGEXP to parse for replacements.

Navigate to System > System Information > PHP Information and review what "pcre.backtrack_limit" and "pcre.recursion_limit" are set to. Mine are as follows.

pcre.backtrack_limit = 1000000
pcre.recursion_limit = 100000

This shouldn't be an issue if you're using PHP 5.4 though as it's a problem primarily for PHP 5.2 and PHP 5.3. While PHP 5.3 is supported I do not recommend it. At this point everyone should be using at least PHP 5.4.

Warning: 18 entries in Community Builder comprofiler_field_values link back to fields of wrong fieldtype.

Nothing to worry about and won't fix your issue. That's just select field options being assigned to the wrong fieldtype. It won't cause any harm.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum