The Joomla! Forum ™



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.



Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Mon May 23, 2011 1:20 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Sep 05, 2007 12:07 pm
Posts: 10
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


Top
 Profile  
 
PostPosted: Tue May 24, 2011 12:46 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Sep 05, 2007 12:07 pm
Posts: 10
Can any1 please help????


Top
 Profile  
 
PostPosted: Wed May 25, 2011 10:37 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Sep 05, 2007 12:07 pm
Posts: 10
I cant believe that I have not got any reply to this as it is a really strange issue??

Thanks


Top
 Profile  
 
PostPosted: Sat May 28, 2011 9:23 am 
Joomla! Explorer
Joomla! Explorer

Joined: Thu Nov 04, 2010 8:09 am
Posts: 467
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?


Top
 Profile  
 
PostPosted: Sat May 28, 2011 9:32 am 
Joomla! Explorer
Joomla! Explorer

Joined: Thu Nov 04, 2010 8:09 am
Posts: 467
Is it related to this bug?
http://joomlacode.org/gf/project/joomla ... m_id=24865


Top
 Profile  
 
PostPosted: Sat Sep 03, 2011 10:47 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Aug 17, 2011 2:34 pm
Posts: 2
just add after }:

Quote:
ini_set('pcre.backtrack_limit', 150000);


to your configuration.php file.


Top
 Profile  
 
PostPosted: Wed Sep 14, 2011 7:27 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Jul 24, 2011 12:15 pm
Posts: 4
thanks for ur messege its worked me;

Regards
AR


Top
 Profile  
 
PostPosted: Sat Jan 28, 2012 9:11 pm 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Wed Jun 11, 2008 11:12 pm
Posts: 449
Location: Washington State
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. :D

_________________
http://www.alpineascent.com | http://www.joshlewis.name


Top
 Profile  
 
PostPosted: Tue Feb 21, 2012 4:26 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Oct 12, 2011 8:47 pm
Posts: 1
Location: Ile d'Oléron
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:
Quote:
/* Limite PCRE */
ini_set('pcre.backtrack_limit', 300000);


The problem doesn't solve...

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

_________________
http://www.liliwol.fr | http://www.liliwol.fr/en/


Top
 Profile  
 
PostPosted: Mon Jun 25, 2012 11:12 pm 
Joomla! Intern
Joomla! Intern

Joined: Wed Dec 14, 2011 1:49 pm
Posts: 72
Location: Everywhere
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


Top
 Profile  
 
PostPosted: Thu Jan 17, 2013 11:08 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Jul 03, 2008 3:27 pm
Posts: 3
Location: India, Singapore
this can also be solved by using php 5.3 or more.. and no need to make all these changes.

_________________
Redesign Revamp your Website


Top
 Profile  
 
PostPosted: Sat Sep 07, 2013 11:09 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Sep 07, 2013 10:57 am
Posts: 1
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.


Top
 Profile  
 
PostPosted: Mon Feb 17, 2014 1:35 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Feb 24, 2009 1:02 am
Posts: 12
Location: Poland
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... ;/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 



Who is online

Users browsing this forum: No registered users and 34 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group