pcre.backtrack_limit ERROR when using multiple map markers!
Moderators: pe7er, General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 10
- Joined: Wed Sep 05, 2007 12:07 pm
pcre.backtrack_limit ERROR when using multiple map markers!
Hi,
I am currently trying to create a map with a very large number of map markers on it (Approx 13,000) and I am using the Phoca Maps component however I believe this issue is more to do with Joomla than the component itself. I have managed to create the map and have been testing with a number of different map markers. I have managed to put around 1500 on the map but anything above that and I get this error:
Error: 500
PHP regular expression limit reached (pcre.backtrack_limit)
This is very annoying as I really need to have all of these map markers on one map and i keep getting this error, I have tried the following methods but it still does not work:
php.ini(settings changed)
pcre.recursion_limit=9000000
pcre.backtrack_limit=9000000
I have tried all these efforts with no joy can any1 please help??
Thanks
Dave
I am currently trying to create a map with a very large number of map markers on it (Approx 13,000) and I am using the Phoca Maps component however I believe this issue is more to do with Joomla than the component itself. I have managed to create the map and have been testing with a number of different map markers. I have managed to put around 1500 on the map but anything above that and I get this error:
Error: 500
PHP regular expression limit reached (pcre.backtrack_limit)
This is very annoying as I really need to have all of these map markers on one map and i keep getting this error, I have tried the following methods but it still does not work:
php.ini(settings changed)
pcre.recursion_limit=9000000
pcre.backtrack_limit=9000000
I have tried all these efforts with no joy can any1 please help??
Thanks
Dave
-
- Joomla! Apprentice
- Posts: 10
- Joined: Wed Sep 05, 2007 12:07 pm
Re: pcre.backtrack_limit ERROR when using multiple map marke
Can any1 please help????
-
- Joomla! Apprentice
- Posts: 10
- Joined: Wed Sep 05, 2007 12:07 pm
Re: pcre.backtrack_limit ERROR when using multiple map marke
I cant believe that I have not got any reply to this as it is a really strange issue??
Thanks
Thanks
-
- Joomla! Explorer
- Posts: 467
- Joined: Thu Nov 04, 2010 8:09 am
Re: pcre.backtrack_limit ERROR when using multiple map marke
I am getting this error unrelated to maps or any extension. Could a moderator move this post to another forum in the hope of an answer?
-
- Joomla! Explorer
- Posts: 467
- Joined: Thu Nov 04, 2010 8:09 am
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Aug 17, 2011 2:34 pm
Re: pcre.backtrack_limit ERROR when using multiple map marke
just add after }:
to your configuration.php file.ini_set('pcre.backtrack_limit', 150000);
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sun Jul 24, 2011 12:15 pm
Re: pcre.backtrack_limit ERROR when using multiple map marke
thanks for ur messege its worked me;
Regards
AR
Regards
AR
- Josh Lewis
- Joomla! Guru
- Posts: 528
- Joined: Wed Jun 11, 2008 11:12 pm
- Location: Lynnwood,WA
- Contact:
Re: pcre.backtrack_limit ERROR when using multiple map marke
I had this error for a while myself until I tried the mod above. Does making the number "300000" effect my entire site in any bad ways? Loading time of pages?
Thanks for the mod.
Thanks for the mod.
-
- Joomla! Apprentice
- Posts: 11
- Joined: Wed Oct 12, 2011 8:47 pm
- Location: Ile d'Oléron
- Contact:
Re: pcre.backtrack_limit ERROR when using multiple map marke
Hi,
I've encountered the same problem.
#500 PHP REGULAR EXPRESSION LIMIT REACHED (PCRE.BACKTRACK_LIMIT)
Unfortunately, not for the same causes (not multiple map parkers).
Anyway, even if i put these lines in configuration.php:
I noticed, that this page works only if i deactive SEF Url.
Of course, i need to keep SEF Url on!
So, does this limit comes from the rewriting rules built-in Joomla core?
Thanks for your help
I've encountered the same problem.
#500 PHP REGULAR EXPRESSION LIMIT REACHED (PCRE.BACKTRACK_LIMIT)
Unfortunately, not for the same causes (not multiple map parkers).
Anyway, even if i put these lines in configuration.php:
The problem doesn't solve.../* Limite PCRE */
ini_set('pcre.backtrack_limit', 300000);
I noticed, that this page works only if i deactive SEF Url.
Of course, i need to keep SEF Url on!
So, does this limit comes from the rewriting rules built-in Joomla core?
Thanks for your help
-
- Joomla! Intern
- Posts: 72
- Joined: Wed Dec 14, 2011 1:49 pm
- Location: Everywhere
- Contact:
Re: pcre.backtrack_limit ERROR when using multiple map marke
Hello,
I also got this error 500 "PHP regular expression limit reached (pcre.backtrack_limit)" on my website Top iPhone Apps created in Joomla 1.7.3
This occurred when I created so many menu items. After searching forums, I was able to fix it.
How? Here is the solution:
This is some kind of php restriction and you will need to override this php restriction by modifying index.php on your root.
Add following two lines in index.php and you don't need to modify any other file:
ini_set('pcre.backtrack_limit',1000000);
ini_set('pcre.recursion_limit',1000000);
Once it is modified, clear your cache and reopen your website. It worked for me so posting this solution here so that other facing this problem may also get benefited.
Cheers!!!
Manshoo
I also got this error 500 "PHP regular expression limit reached (pcre.backtrack_limit)" on my website Top iPhone Apps created in Joomla 1.7.3
This occurred when I created so many menu items. After searching forums, I was able to fix it.
How? Here is the solution:
This is some kind of php restriction and you will need to override this php restriction by modifying index.php on your root.
Add following two lines in index.php and you don't need to modify any other file:
ini_set('pcre.backtrack_limit',1000000);
ini_set('pcre.recursion_limit',1000000);
Once it is modified, clear your cache and reopen your website. It worked for me so posting this solution here so that other facing this problem may also get benefited.
Cheers!!!
Manshoo
-
- Joomla! Fledgling
- Posts: 3
- Joined: Thu Jul 03, 2008 3:27 pm
- Location: India, Singapore
- Contact:
Re: pcre.backtrack_limit ERROR when using multiple map marke
this can also be solved by using php 5.3 or more.. and no need to make all these changes.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Sep 07, 2013 10:57 am
Re: pcre.backtrack_limit ERROR when using multiple map marke
I'm a complete novice and am struggling with the same error message as above [500 - PHP regular expression limit reached (pcre.backtrack_limit)]....I've tried to solve as suggested but to no avail (i.e. adding the lines suggested to php.ini and index.php files - prob in the wrong place?)
I am using: Joomla 2.5.14, PHP 5.3.13, Apache 2.2.22 and running on localhost....the issues came through using mosets tree to build my directory
If someone could give an idiot proof solution that would be great...if I had any hair left it would have been pulled out days ago.
Thank You.
I am using: Joomla 2.5.14, PHP 5.3.13, Apache 2.2.22 and running on localhost....the issues came through using mosets tree to build my directory
If someone could give an idiot proof solution that would be great...if I had any hair left it would have been pulled out days ago.
Thank You.
- idek
- Joomla! Apprentice
- Posts: 12
- Joined: Tue Feb 24, 2009 1:02 am
- Location: Poland
- Contact:
Re: pcre.backtrack_limit ERROR when using multiple map marke
hi,
i've got this same problem with one site of my client - it was beacause he copy and paste txt from MS Word and paste also images in code... ;/
i've got this same problem with one site of my client - it was beacause he copy and paste txt from MS Word and paste also images in code... ;/
-
- Joomla! Apprentice
- Posts: 17
- Joined: Wed Oct 14, 2009 9:52 pm
- Location: Panama
- Contact:
Re: pcre.backtrack_limit ERROR when using multiple map marke
I ran into the same problem while using Chronoforms.
This solved it:
/* Limite PCRE */
ini_set('pcre.backtrack_limit', 300000);
This solved it:
/* Limite PCRE */
ini_set('pcre.backtrack_limit', 300000);
-
- Joomla! Apprentice
- Posts: 14
- Joined: Sun Sep 15, 2013 3:24 pm
Re: pcre.backtrack_limit ERROR when using multiple map marke
hi
i'm having this same error ''' 0 - PHP regular expression limit reached (pcre.backtrack_limit) ''' i'm using php 5.3 and i need to keep sef url on , tried to add the 2 lines to the index.php with no luck , any suggestions please to how to solve this problem ??
i'm having this same error ''' 0 - PHP regular expression limit reached (pcre.backtrack_limit) ''' i'm using php 5.3 and i need to keep sef url on , tried to add the 2 lines to the index.php with no luck , any suggestions please to how to solve this problem ??
-
- Joomla! Apprentice
- Posts: 14
- Joined: Sun Sep 15, 2013 3:24 pm
Re: pcre.backtrack_limit ERROR when using multiple map marke
did you find a fix to your problem ? if yes could you please tell me how ! i'm in a similar situationHiddensausage wrote:I'm a complete novice and am struggling with the same error message as above [500 - PHP regular expression limit reached (pcre.backtrack_limit)]....I've tried to solve as suggested but to no avail (i.e. adding the lines suggested to php.ini and index.php files - prob in the wrong place?)
I am using: Joomla 2.5.14, PHP 5.3.13, Apache 2.2.22 and running on localhost....the issues came through using mosets tree to build my directory
If someone could give an idiot proof solution that would be great...if I had any hair left it would have been pulled out days ago.
Thank You.
-
- Joomla! Apprentice
- Posts: 14
- Joined: Sun Sep 15, 2013 3:24 pm
Re: pcre.backtrack_limit ERROR when using multiple map marke
i found a fix to this issue by increasing the memory limit .
-
- Joomla! Apprentice
- Posts: 6
- Joined: Sat Apr 11, 2015 11:26 am
Re: pcre.backtrack_limit ERROR when using multiple map marke
Maybe hosting is not support
-
- Joomla! Apprentice
- Posts: 14
- Joined: Sun Sep 15, 2013 3:24 pm
Re: pcre.backtrack_limit ERROR when using multiple map marke
Actually increasing the memory limit apparently didnt do any difference , still struggling with this issue .
-
- Joomla! Apprentice
- Posts: 10
- Joined: Sun May 03, 2009 9:06 pm
- Location: Amsterdam
- Contact:
Re: pcre.backtrack_limit ERROR when using multiple map marke
Same problem with a Joomla 3.4 pristine installation. I'm running a content plugin that inserts a piece of text in articles that cannot be entered in the normal editor due to size (N00k). In such pages this surprise is triggered as well.