?? code-error.html.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1186058896', 'name' => 'global/code-error.html.tmpl', }, BLOCK => sub { my $context = shift || die "template sub called without context\n"; my $stash = $context->stash; my $output = ''; my $_tt_error; eval { BLOCK: { $output .= "\n"; $output .= "\n\n"; $output .= "\n\n"; $output .= "\n"; #line 36 "template\en\default\global\code-error.html.tmpl" $output .= $context->process('global/variables.none.tmpl'); $output .= "\n"; #line 38 "template\en\default\global\code-error.html.tmpl" $stash->set('title', 'Internal Error', 1); $output .= "\n"; #line 445 "template\en\default\global\code-error.html.tmpl" # CAPTURE $stash->set('error_message', do { my $output = ''; #line 444 "template\en\default\global\code-error.html.tmpl" if ($stash->get('error') eq 'action_unrecognized') { #line 0 "template\en\default\global\code-error.html.tmpl" $stash->set('docslinks', { 'query.html' => ("Searching for " . $stash->get(['terms', 0, 'bugs', 0])), 'query.html#list' => ($stash->get(['terms', 0, 'Bug', 0]) . " lists") }); $output .= "\n I don't recognize the value (<em>"; #line 44 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('action'); &$_tt_filter($output); }; $output .= "</em>)\n of the <em>action</em> variable.\n "; } elsif ($stash->get('error') eq 'attachment_already_obsolete') { $output .= "\n Attachment #"; #line 48 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('attach_id'); &$_tt_filter($output); }; $output .= " ("; #line 48 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('description'); &$_tt_filter($output); }; $output .= ") \n is already obsolete.\n"; } elsif ($stash->get('error') eq 'auth_invalid_email') { #line 52 "template\en\default\global\code-error.html.tmpl" $stash->set('title', 'Invalid Email Address'); $output .= "\n We received an email address (<b>"; #line 53 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('addr'); &$_tt_filter($output); }; $output .= "</b>)\n that didn't pass our syntax checking for a legal email address,\n when trying to create or update your account."; #line 61 "template\en\default\global\code-error.html.tmpl" if ($stash->get('default')) { $output .= "\n A legal address must contain exactly one '\@',\n and at least one '.' after the \@."; } else { $output .= "\n "; #line 60 "template\en\default\global\code-error.html.tmpl" $output .= $stash->get(['Param', [ 'emailregexpdesc' ]]); } $output .= "\n It must also not contain any of these special characters:\n <tt>\\ ( ) & < > , ; : " [ ]</tt>, or any whitespace.\n"; } elsif ($stash->get('error') eq 'authres_unhandled') { $output .= "\n The result value of "; #line 66 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('value'); &$_tt_filter($output); }; $output .= " was not handled by\n the login code.\n"; } elsif ($stash->get('error') eq 'bad_page_cgi_id') { #line 70 "template\en\default\global\code-error.html.tmpl" $stash->set('title', 'Invalid Page ID'); $output .= "\n The ID <code>"; #line 71 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('page_id'); &$_tt_filter($output); }; $output .= "</code> is not a\n valid page identifier.\n"; } elsif ($stash->get('error') eq 'bad_arg') { $output .= "\n Bad argument <code>"; #line 75 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('argument'); &$_tt_filter($output); }; $output .= "</code> sent to\n <code>"; #line 76 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('function'); &$_tt_filter($output); }; $output .= "</code> function.\n"; } elsif ($stash->get('error') eq 'bug_error') { $output .= "\n Trying to retrieve "; #line 79 "template\en\default\global\code-error.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " "; #line 79 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['bug', 0, 'bug_id', 0]); &$_tt_filter($output); }; $output .= " returned \n the error "; #line 80 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['bug', 0, 'error', 0]); &$_tt_filter($output); }; $output .= ".\n "; } elsif ($stash->get('error') eq 'chart_data_not_generated') { #line 83 "template\en\default\global\code-error.html.tmpl" $stash->set('admindocslinks', { 'extraconfig.html' => 'Setting up Charting' }); #line 90 "template\en\default\global\code-error.html.tmpl" if ($stash->get('product')) { $output .= "\n Charts for the <em>"; #line 85 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('product'); &$_tt_filter($output); }; $output .= "</em> product are not\n available yet because no charting data has been collected for it since it\n was created."; } else { $output .= "\n No charting data has been collected yet."; } $output .= "\n Please wait a day and try again.\n If you're seeing this message after a day, then you should contact\n <a href=\"mailto:"; #line 93 "template\en\default\global\code-error.html.tmpl" $output .= $stash->get(['Param', [ 'maintainer' ]]); $output .= "\">"; #line 93 "template\en\default\global\code-error.html.tmpl" $output .= $stash->get(['Param', [ 'maintainer' ]]); $output .= "</a>\n and reference this error.\n"; } elsif ($stash->get('error') eq 'chart_datafile_corrupt') { $output .= "\n The chart data file "; #line 97 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('file'); &$_tt_filter($output); }; $output .= " is corrupt.\n "; } elsif ($stash->get('error') eq 'chart_dir_nonexistent') { $output .= "\n One of the directories <tt>"; #line 100 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('dir'); &$_tt_filter($output); }; $output .= "</tt> and \n <tt>"; #line 101 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('graph_dir'); &$_tt_filter($output); }; $output .= "</tt> does not exist.\n "; } elsif ($stash->get('error') eq 'chart_file_open_fail') { $output .= "\n Unable to open the chart datafile <tt>"; #line 104 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('filename'); &$_tt_filter($output); }; $output .= "</tt>.\n "; } elsif ($stash->get('error') eq 'chart_lines_not_installed') { #line 107 "template\en\default\global\code-error.html.tmpl" $stash->set('admindocslinks', { 'installation.html#install-perlmodules' => 'Installing Perl modules necessary for Charting' }); $output .= "\n Charts will not work without the Chart::Lines Perl module being installed.\n Run checksetup.pl for installation instructions.\n"; } elsif ($stash->get('error') eq 'column_not_null_without_default') { $output .= "\n Failed adding the column "; #line 112 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$_tt_filter($output); }; $output .= ":\n You cannot add a NOT NULL column with no default to an existing table\n unless you specify something for the <code>\$init_value</code> argument.\n"; } elsif ($stash->get('error') eq 'column_not_null_no_default_alter') { $output .= "\n You cannot alter the "; #line 117 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$_tt_filter($output); }; $output .= " column to be NOT NULL \n without specifying a default or something for \$set_nulls_to, because\n there are NULL values currently in it.\n"; } elsif ($stash->get('error') eq 'db_rename_conflict') { $output .= "\n Name conflict: Cannot rename "; #line 122 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('old'); &$_tt_filter($output); }; $output .= " to"; #line 123 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('new'); &$_tt_filter($output); }; $output .= " because "; #line 123 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('new'); &$_tt_filter($output); }; $output .= " already exists.\n"; } elsif ($stash->get('error') eq 'cookies_need_value') { $output .= "\n Every cookie must have a value.\n"; } elsif ($stash->get('error') eq 'env_no_email') { #line 129 "template\en\default\global\code-error.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " did not receive an email address from the \n environment."; #line 138 "template\en\default\global\code-error.html.tmpl" if ($stash->get(['Param', [ 'auth_env_email' ]])) { $output .= "\n This means that the '"; #line 132 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get(['Param', [ 'auth_env_email' ]]); &$_tt_filter($output); }; $output .= "'\n environment variable was empty or did not exist."; } else { $output .= "\n You need to set the \"auth_env_email\" parameter to the name of\n the environment variable that will contain the user's email\n address."; } $output .= "\n"; } elsif ($stash->get('error') eq 'extension_invalid') { $output .= "\n An error occurred processing hook "; #line 141 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('name'); &$_tt_filter($output); }; $output .= " in\n extension "; #line 142 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('extension'); &$_tt_filter($output); }; $output .= ": "; #line 142 "template\en\default\global\code-error.html.tmpl" # FILTER $output .= do { my $output = ''; my $_tt_filter = $context->filter('html') || $context->throw($context->error); $output .= $stash->get('errstr'); &$_tt_filter($output); }; $output .= "\n"; }
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -