Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter tyman

    (@tyman)

    anybody?

    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;
    }
    }

    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;
    }
    }

    The advanced controls option doesn’t exist in 2.0. Thanks to the dynamic menus in the edit window theres no need for seperate editing modes. I ignored that option in the tutorial and it worked fine for me in 2.0.

    Btw, your tutorial is great razzi!

    I used pixelpost for over a year before I got tired of its inflexibility, and its developer is very is very narrow-minded and stubborn to accomadate for growth and major improvements.

    I tried movable type, but I couldn’t even get it to install on my server and seemed way too complex. I had been using wordpress for a while for a seperate “words only” blog and decided to integrate them. The result, after weeks of tweaking, is the best CMS system I’ve ever installed.

Viewing 5 replies - 1 through 5 (of 5 total)