2008-01-18, 09:47 PM
my problems, i look a page, after show
class_parser.php on line 402
help me pls.
Quote:Fatal error: Maximum execution time of 30 seconds exceeded in /home/xxxxxxx/public_html/inc/class_parser.php on line 402
class_parser.php on line 402
Quote:if(version_compare(PHP_VERSION, "5.1.0", ">="))
{
$message = preg_replace('#([^<])(?<!"|&|"|<|>|&\#[0-9]{1}|&\#[0-9]{2}|&\#[0-9]{3}|&\#[0-9]{4})'.preg_quote($find, "#")."#is", "$1".$replace, $message, $remaining, $replacements);
$remaining -= $replacements;
if($remaining <= 0) break; // Reached the limit
}
else
{ (<--- line 402 - HappyPeoples notes)
$message = preg_replace('#([^<])(?<!"|amp|"|<|>|&\#[0-9]{1}|&\#[0-9]{2}|&\#[0-9]{3}|&\#[0-9]{4})'.preg_quote($find, "#")."#is", "$1".$replace, $message, $remaining);
}
}
}
// If we matched any tags previously, swap them back in
if(count($bad_matches[0]) > 0)
{
foreach($bad_matches[0] as $match)
{
$message = preg_replace("#<mybb-bad-sm>#", $match, $message, 1);
help me pls.