System error

error:  Error during compilation of /opt/www/anime/html/themes/default/template.html:
syntax error at /opt/www/anime/html/themes/default/template.html line 247, near ") {"
syntax error at /opt/www/anime/html/themes/default/template.html line 252, near "$m"
Global symbol "$pv" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 253.
Global symbol "$args" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 255.
Global symbol "$pv" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 255.
Global symbol "$pv" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 258.
Global symbol "%ARGS" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 258.
Global symbol "$pv" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 270.
Global symbol "$pv" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 271.
syntax error at /opt/www/anime/html/themes/default/template.html line 2, near "}"
/opt/www/anime/html/themes/default/template.html has too many errors.
context: 
1:  <%init>AO::trace_in();</%init><%cleanup>AO::trace_out();</%cleanup>
2:  <%args>
3:  $page
4:  $conf
5:  $pv
6:  $tdir
... 
243:  % 'http://w.sharethis.com/widget/?tabs=web%2Cpost%2Cemail&charset=utf-8&services=reddit%2Cfacebook%2Cmyspace%2Cyahoo_bmarks%2Cyahoo_myweb%2Cwindows_live%2Cfriendfeed%2Cxanga%2Cfurl%2Cmagnolia&style=default&publisher=b8b07fd9-c664-433b-a757-635151a7e693&embeds=true',
244:  % 'http://digg.com/tools/diggthis.js',
245:  % 'http://www.reddit.com/button.js?t=1';
246:  % <div id="hide-me" style="display: none">
247:  % for ( @post_scripts ) {
248:  <script type="text/javascript" src="<% $_ %>"></script>
249:  % }
250:  % </div>
251:  % }
252:  </div>
253:  % if ( $$pv{'nosidebar'} ) {
254:  % } elsif ( (
255:  % $session{'hascookies'} and !$$args{'ads'} and !$$pv{'ads'} and
256:  % ( $session{'reviewer_id'} or $session{'hits'}>10 ) ) ) {
257:  <div id="linklist">
258:  <& /comp/sidebar, %{$$pv{'bestbets'}}, map { $_=>$ARGS{$_} } qw( tdir ) &>
259:  </div> <!-- end linklist -->
260:  % } else {
261:  % my %chan = (
262:  % first => '8727029669',
... 
266:  % repeatlist => '0822692900',
267:  % repeatnotable => '7671432141',
268:  % );
269:  % my $type = ($session{'hits'}>1)?'repeat':'first';
270:  % my $page = $$pv{'adpage'} || '';
271:  % my $adtype = $$pv{'adtype'} || 'text_image'; # text
272:  <!-- First time visitors get an ad -->
273:  <div id="linklist">
274:  <script type="text/javascript"><!--
275:  google_ad_client = "pub-2124511771403680";
... 
code stack:  /opt/perl/site_lib/5.8.8/HTML/Mason/Interp.pm:445
/opt/perl/site_lib/5.8.8/HTML/Mason/Request.pm:1093
/opt/perl/site_lib/5.8.8/HTML/Mason/Request.pm:1007
/opt/www/anime/html/autohandler:58
raw error






























Error during compilation of /opt/www/anime/html/themes/default/template.html:
syntax error at /opt/www/anime/html/themes/default/template.html line 247, near ") {"
syntax error at /opt/www/anime/html/themes/default/template.html line 252, near "$m"
Global symbol "$pv" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 253.
Global symbol "$args" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 255.
Global symbol "$pv" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 255.
Global symbol "$pv" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 258.
Global symbol "%ARGS" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 258.
Global symbol "$pv" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 270.
Global symbol "$pv" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 271.
syntax error at /opt/www/anime/html/themes/default/template.html line 2, near "}"
/opt/www/anime/html/themes/default/template.html has too many errors.


Trace begun at /opt/perl/site_lib/5.8.8/HTML/Mason/Interp.pm line 845
HTML::Mason::Interp::_compilation_error('HTML::Mason::Interp=HASH(0x8d9b068)', '/opt/www/anime/html/themes/default/template.html', 'Error during compilation of :^Jsyntax error at /opt/www/anime/html/themes/default/template.html line 247, near ") {"^Jsyntax error at /opt/www/anime/html/themes/default/template.html line 252, near "$m"^JGlobal symbol "$pv" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 253.^JGlobal symbol "$args" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 255.^JGlobal symbol "$pv" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 255.^JGlobal symbol "$pv" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 258.^JGlobal symbol "%ARGS" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 258.^JGlobal symbol "$pv" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 270.^JGlobal symbol "$pv" requires explicit package name at /opt/www/anime/html/themes/default/template.html line 271.^Jsyntax error at /opt/www/anime/html/themes/default/template.html line 2, near "}"^J/opt/www/anime/html/themes/default/template.html has too many errors.^J^JStack:^J  [/opt/perl/site_lib/5.8.8/HTML/Mason/Interp.pm:441]^J  [/opt/perl/site_lib/5.8.8/HTML/Mason/Request.pm:1093]^J  [/opt/perl/site_lib/5.8.8/HTML/Mason/Request.pm:1007]^J  [/opt/www/anime/html/autohandler:58]^J') called at /opt/perl/site_lib/5.8.8/HTML/Mason/Interp.pm line 445
HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x8d9b068)', '/themes/default/template.html') called at /opt/perl/site_lib/5.8.8/HTML/Mason/Request.pm line 1093
HTML::Mason::Request::_fetch_comp('HTML::Mason::Request::CGI=HASH(0x90d5db8)', '/themes/default/template.html', 'HTML::Mason::Component::FileBased=HASH(0x8df36a8)', undef) called at /opt/perl/site_lib/5.8.8/HTML/Mason/Request.pm line 1007
HTML::Mason::Request::fetch_comp('HTML::Mason::Request::CGI=HASH(0x90d5db8)', '/themes/default/template.html') called at /opt/www/anime/html/autohandler line 58
HTML::Mason::Commands::__ANON__ at /opt/perl/site_lib/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8df36a8)') called at /opt/perl/site_lib/5.8.8/HTML/Mason/Request.pm line 1257
eval {...} at /opt/perl/site_lib/5.8.8/HTML/Mason/Request.pm line 1252
HTML::Mason::Request::comp(undef, undef, undef) called at /opt/perl/site_lib/5.8.8/HTML/Mason/Request.pm line 466
eval {...} at /opt/perl/site_lib/5.8.8/HTML/Mason/Request.pm line 466
eval {...} at /opt/perl/site_lib/5.8.8/HTML/Mason/Request.pm line 418
HTML::Mason::Request::exec('HTML::Mason::Request::CGI=HASH(0x90d5db8)') called at /opt/perl/site_lib/5.8.8/HTML/Mason/CGIHandler.pm line 192
eval {...} at /opt/perl/site_lib/5.8.8/HTML/Mason/CGIHandler.pm line 192
HTML::Mason::Request::CGI::exec('HTML::Mason::Request::CGI=HASH(0x90d5db8)') called at /opt/perl/site_lib/5.8.8/HTML/Mason/Interp.pm line 342
HTML::Mason::Interp::exec(undef, undef) called at /opt/perl/site_lib/5.8.8/HTML/Mason/CGIHandler.pm line 123
eval {...} at /opt/perl/site_lib/5.8.8/HTML/Mason/CGIHandler.pm line 123
HTML::Mason::CGIHandler::_handler('HTML::Mason::CGIHandler=HASH(0x88a4408)', 'HASH(0x91c0a68)') called at /usr/local/bin/mason-http line 208
eval {...} at /usr/local/bin/mason-http line 206
HTTP::MasonServer::handle_request('HTTP::MasonServer=HASH(0x8d8da08)', 'CGI=HASH(0x90456c8)') called at /opt/perl/site_lib/5.8.8/HTTP/Server/Simple/CGI.pm line 92
eval {...} at /opt/perl/site_lib/5.8.8/HTTP/Server/Simple/CGI.pm line 92
HTTP::Server::Simple::CGI::handler('HTTP::MasonServer=HASH(0x8d8da08)') called at /usr/local/bin/mason-http line 177
HTTP::MasonServer::handler('HTTP::MasonServer=HASH(0x8d8da08)') called at /opt/perl/site_lib/5.8.8/HTTP/Server/Simple.pm line 334
HTTP::Server::Simple::__ANON__('HTTP::MasonServer::NetServer0=HASH(0x8d91368)') called at /opt/perl/site_lib/5.8.8/Net/Server.pm line 141
Net::Server::run_client_connection('HTTP::MasonServer::NetServer0=HASH(0x8d91368)') called at /opt/perl/site_lib/5.8.8/Net/Server/PreFork.pm line 268
eval {...} at /opt/perl/site_lib/5.8.8/Net/Server/PreFork.pm line 268
Net::Server::PreFork::run_child('HTTP::MasonServer::NetServer0=HASH(0x8d91368)') called at /opt/perl/site_lib/5.8.8/Net/Server/PreFork.pm line 224
Net::Server::PreFork::run_n_children('HTTP::MasonServer::NetServer0=HASH(0x8d91368)', 1) called at /opt/perl/site_lib/5.8.8/Net/Server/PreFork.pm line 447
Net::Server::PreFork::coordinate_children('HTTP::MasonServer::NetServer0=HASH(0x8d91368)') called at /opt/perl/site_lib/5.8.8/Net/Server/PreFork.pm line 393
Net::Server::PreFork::run_parent('HTTP::MasonServer::NetServer0=HASH(0x8d91368)') called at /opt/perl/site_lib/5.8.8/Net/Server/PreFork.pm line 142
Net::Server::PreFork::loop('HTTP::MasonServer::NetServer0=HASH(0x8d91368)') called at /opt/perl/site_lib/5.8.8/Net/Server.pm line 116
Net::Server::run('HTTP::MasonServer::NetServer0', 'port', 8000) called at /opt/perl/site_lib/5.8.8/HTTP/Server/Simple.pm line 233
HTTP::Server::Simple::run('HTTP::MasonServer=HASH(0x8d8da08)') called at /usr/local/bin/mason-http line 79
HTTP::MasonServer::run('HTTP::MasonServer=HASH(0x8d8da08)') called at /usr/local/bin/mason-http line 338