500 - PHP regular expression limit reached (pcre.backtrack_limit)

Started by 100gods, January 22, 2012, 21:03:17 PM

Previous topic - Next topic

100gods

I uploaded about 500 products and 15 categories using csvimproved.

On the "Virtuemart categories listing" , clicking on about 12/ 15 categories leads to the products page correctly. But in 3/15 categories, clicking the link results in the error :

500 - PHP regular expression limit reached (pcre.backtrack_limit)


You may not be able to visit this page because of:

    an out-of-date bookmark/favourite
    a search engine that has an out-of-date listing for this site
    a mistyped address
    you have no access to this page
    The requested resource was not found.
    An error has occurred while processing your request.

PLEASE ADVISE.  I am a beginner, using Joomla 1.7.3 and VM 2.0 and really lost on how this error may be resolved !!!

Thanks.

RolandD

I have never seen this error before but using Google found this link, maybe it is of some use.
Regards,

RolandD

CSVI
http://www.csvimproved.com/

100gods

Hi RolandD,

Thanks for sharing this link. I had landed up on the same in my google search - and yes, the problem does go away if I disable SEF.
Is there any other solution since I would not want to ideally disable SEF !!

Thanks !!! You are always great help !!


jenkinhill

Does ini_set work on your server to overcome the PHP restriction?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

100gods

Quote from: jenkinhill on January 23, 2012, 16:09:02 PM
Does ini_set work on your server to overcome the PHP restriction?

Apologies - please elaborate a bit. I am a beginner, but keen to learn and improvise !!

Thanks.

jenkinhill

See this from the thread that RolandD found:

Quote
I modified the php.ini settings by editing the joomla root /index.php file and adding these lines;

ini_set('pcre.backtrack_limit',1000000);
ini_set('pcre.recursion_limit',1000000);
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

100gods

Updated the same in index.php but to no avail.

Please find the txt for the same enclosed herewith for reference ! Kindly suggest if something else might work..

Thanks a lot.

Using: VM 2.0.x ; Joomla 1.7.x

[attachment cleanup by admin]