Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Help with eregi error message
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Help with eregi error message

Help with eregi error message 16 years, 5 months ago #4279

Hope you can help, this is an error message my logs are showing

Joomla 1.0.15
Artio JoomSef 2.2.6

Error Message:

eregi_replace() [<a href='function.eregi-replace'>function.eregi-replace</a>]: REG_BADRPT in /home/mysite/public_html/administrator/components/com_sef/sef.class.php on line 1131

Line 1130 to 1141 reads as

function RemoveVariable ($url, $var, $value = '')
{
if ($value == '') {
$newurl = eregi_replace("$var=[^&]*", '', $url);
} else {
$newurl = str_replace($var . '=' . $value, '', $url);
}
$newurl = trim($newurl, '&?');
$trans = array('&&' => '&' , '?&' => '?');
$newurl = strtr($newurl, $trans);
return $newurl;
}


Cheers for your help
  • Page:
  • 1
User Login Empty