What’s line 1499? And a couple lines before and after….
Thread Starter
tyman
(@tyman)
Here’s the whole if statement.
if (preg_match(“!^$match!”, $request_match, $matches) || preg_match(“!^$match!”, urldecode($request_match), $matches)) {
// Got a match.
$this->matched_rule = $match;
// Trim the query of everything up to the ‘?’.
$query = preg_replace(“!^.+\?!”, ”, $query);
// Substitute the substring matches into the query.
eval(“\$query = \”$query\”;”);
$this->matched_query = $query;
// Parse the query.
parse_str($query, $query_vars);
// If we’re processing a 404 request, clear the error var
// since we found something.
if (isset($_GET[‘error’]))
unset($_GET[‘error’]);
if (isset($error))
unset($error);
break;
}
}
Thread Starter
tyman
(@tyman)
Line 1499 is the first line of the if statement.
if (preg_match("!^$match!", $request_match, $matches) || preg_match("!^$match!", urldecode($request_match), $matches)) { //This Line Returns An Error
// Got a match.
$this->matched_rule = $match;
// Trim the query of everything up to the '?'.
$query = preg_replace("!^.+?!", '', $query);
// Substitute the substring matches into the query.
eval("$query = \"$query\";");
$this->matched_query = $query;
// Parse the query.
parse_str($query, $query_vars);
// If we're processing a 404 request, clear the error var
// since we found something.
if (isset($_GET['error']))
unset($_GET['error']);
if (isset($error))
unset($error);
break;
}
}
Sorry, I don’t see anything obviously logical as a problem there. Did you try asking your host support folks if anything that happened during “after some reconfiguring of my web hosting today” would have caused this?