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 #278671 by timstohr
Yep, the hoster is having a look at it. The weird thing though is I have EXACTLY the same settings as you and am even using PHP 5,5...

Anyway, the hoster is currently having a look at it.

The first thing I did was have a look at the links you sent me and havent got any hair anymore on my head because I ripped it all out in frustration!

Thanks for your help!

:(
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 #278690 by timstohr
There clearly is a problem with CB. The guys raised the limit now to 10 Million for both values and it just barely works. The edit as well as the registration now take 30 seconds to load, compared to less than 1 second beforehand.

When I open an edit page, it maxes the server and debug mode has shown that it takes 15 seconds for Afterrender (see image, it takes this long even with debug turned off).

What could be the problem? It seems to be CB related.
Attachments:

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 #278694 by krileon
You have something installed and/or configured doing it most likely. Disable "Debug Language" within Joomla global configuration then see if issue goes away. If not then disable non-core CB plugins 1 by 1 until the issue goes away. If it doesn't then repeat with 3rd party Joomla system plugins. This is simply a matter of trial and error to find what's triggering this. So disable, test, disable, test, etc...


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 #278695 by timstohr
That is exactly how I wanted to spend my night!!!!

Will have a look, thanks!
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 #278735 by timstohr
OK I have a lead now. I have turned off all the plugins apart from CB core and the templates but I still have the error and the rendering of more than 15 seconds.

Here is what I have found though:

I had saved 3 photos in CB gallery. These photos where now throwing errors (since I switched off gallery, btw no idea why they were loaded in the edit settings). The names have attached an infinity of orig. endings, which I guess is overloading php (PCRE.Backtrack_limit exceeded) and are slowing down the website massively (see attached screenshot).

Furthermore, the website was throwing an "Unexpected synthax error" in Programm 4, which disappeared when I disabled CB connections or Groupjive. It is not the error I was looking for but thought it would be relevant as well (I also have this error in my saigon website which is working fine).

Attachments:

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 #278766 by krileon
Edit your canvas and avatar fields within CB > Field Management. Then under Parameters > Image Gallery ensure "Path" is completely empty. Maybe you supplied a custom path with loads of invalid images in it, no idea. If it's already empty then check the below directory to ensure your gallery images are using simple alphanumeric names.

images/comprofiler/gallery/

We use regexp to validate the gallery images extensions quickly to ensure they're an extension supported. My guess is maybe you have something there that shouldn't be there or bad filename.


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