diff -r 27377179fe58 -r 4f9bec0d65c1 includes/pageprocess.php --- a/includes/pageprocess.php Wed Jul 02 19:36:44 2008 -0400 +++ b/includes/pageprocess.php Wed Jul 02 22:15:55 2008 -0400 @@ -623,6 +623,9 @@ if ( !$q ) $db->_die('PageProcessor page creation - logging stage'); + // Update the cache + $paths->update_metadata_cache(); + // Page created. We're good! return true; } @@ -1125,7 +1128,7 @@ $text = '?>' . $text; $text = preg_replace('/(.*?)<\/nowiki>/s', '\\1', $text); } - // echo('
'.htmlspecialchars($text).'
'); + eval ( $text ); $code = $plugins->setHook('pageprocess_render_tail'); @@ -1354,7 +1357,14 @@ } // get the user's rank - $rank_data = $session->get_user_rank(intval($userdata['authoritative_uid'])); + if ( $user_exists ) + { + $rank_data = $session->get_user_rank(intval($userdata['authoritative_uid'])); + } + else + { + $rank_data = $session->get_user_rank(1); + } $this->header();