System error

error:  Error during compilation of /srv/www/crosbi/bib/prikazi-rad:
Variable "$indices" is not imported at /srv/www/crosbi/bib/prikazi-rad line 1508.
"my" variable $komentar masks earlier declaration in same scope at /srv/www/crosbi/bib/prikazi-rad line 1641.
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1507, near "} else"
Global symbol "$indices" requires explicit package name at /srv/www/crosbi/bib/prikazi-rad line 1508.
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1299, near "}"
(Might be a runaway multi-line '' string starting on line 1298)
Unmatched right curly bracket at /srv/www/crosbi/bib/prikazi-rad line 1299, at end of line
Unmatched right curly bracket at /srv/www/crosbi/bib/prikazi-rad line 1302, at end of line
(Might be a runaway multi-line '' string starting on line 1300)
Unmatched right curly bracket at /srv/www/crosbi/bib/prikazi-rad line 1304, at end of line
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1304, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 866, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1626, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1269, near "}"
/srv/www/crosbi/bib/prikazi-rad has too many errors.
context: 
... 
862:  </%def>
863: 
864:  % # ==================================================================== #
865: 
866:  % # ================= #
867:  % # ZAJEDNICKA POLJA
868:  % # ================= #
869: 
870:  <%def .POLJE>
... 
1265:  </tr>
1266: 
1267:  </%def>
1268: 
1269:  % # ================= #
1270: 
1271:  <%def .LOCK>
1272:  <%args>
1273:  $lock
... 
1295:  % if ($print ne "true") {
1296:  <% ${$indices}[$i] %></br>
1297:  % } else {
1298:  <% ${$indices}[$i] %></br>
1299:  % }}
1300:  </td>
1301:  </tr>
1302:  % }
1303:  </%def>
1304: 
1305:  % # ================= #
1306: 
1307:  <%def .MEDIJ>
1308:  <%args>
... 
1503:  <tr valign="top">
1504:  <td align="right" class="brownnaslov1" valign="top"><b><% $prijevod_ar[65] %></b></td>
1505:  <td align="left" class="text"><% $skup %></td>
1506:  </tr>
1507:  <tr valign="top">
1508:  <td align="right" class="brownnaslov1" valign="top"><b><% $prijevod_ar[66] %></b></td>
1509:  <td align="left" class="text"><% $mjesto %>, <% $datum %></td>
1510:  </tr>
1511: 
1512:  </%def>
... 
1622:  </tr>
1623: 
1624:  % }
1625:  </%def>
1626:  % # ================= #
1627:  % # ================= #
1628:  % # ================= #
1629:  <%cleanup>
1630:  # $bib -> disconnect;
... 
1637:  sub set_ttt_i
1638:  {
1639:  my ($lang) = @_;
1640: 
1641:  if ($lang =~ /^EN/i) {
1642:  (
1643:  "Bibliographic record number:",
1644:  "xxx"
1645:  );
... 
code stack:  /usr/share/perl5/HTML/Mason/Interp.pm:453
/usr/share/perl5/HTML/Mason/Request.pm:252
/usr/share/perl5/HTML/Mason/Request.pm:215
/usr/share/perl5/HTML/Mason/ApacheHandler.pm:94
/usr/share/perl5/Class/Container.pm:275
/usr/share/perl5/Class/Container.pm:353
/usr/share/perl5/HTML/Mason/Interp.pm:351
/usr/share/perl5/HTML/Mason/ApacheHandler.pm:874
/usr/share/perl5/HTML/Mason/ApacheHandler.pm:828
(eval 26):8
-e:0
raw error






























Error during compilation of /srv/www/crosbi/bib/prikazi-rad:
Variable "$indices" is not imported at /srv/www/crosbi/bib/prikazi-rad line 1508.
"my" variable $komentar masks earlier declaration in same scope at /srv/www/crosbi/bib/prikazi-rad line 1641.
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1507, near "} else"
Global symbol "$indices" requires explicit package name at /srv/www/crosbi/bib/prikazi-rad line 1508.
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1299, near "}"
  (Might be a runaway multi-line '' string starting on line 1298)
Unmatched right curly bracket at /srv/www/crosbi/bib/prikazi-rad line 1299, at end of line
Unmatched right curly bracket at /srv/www/crosbi/bib/prikazi-rad line 1302, at end of line
  (Might be a runaway multi-line '' string starting on line 1300)
Unmatched right curly bracket at /srv/www/crosbi/bib/prikazi-rad line 1304, at end of line
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1304, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 866, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1626, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1269, near "}"
/srv/www/crosbi/bib/prikazi-rad has too many errors.


Trace begun at /usr/share/perl5/HTML/Mason/Interp.pm line 854
HTML::Mason::Interp::_compilation_error('HTML::Mason::Interp=HASH(0x562364b9eb48)', '/srv/www/crosbi/bib/prikazi-rad', 'HTML::Mason::Exception::Compilation=HASH(0x56236500f578)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 453
HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x562364b9eb48)', '/prikazi-rad') called at /usr/share/perl5/HTML/Mason/Request.pm line 252
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 235
HTML::Mason::Request::_initialize('HTML::Mason::Request::ApacheHandler=HASH(0x562363f1c3a8)') called at /usr/share/perl5/HTML/Mason/Request.pm line 215
HTML::Mason::Request::new('HTML::Mason::Request::ApacheHandler', 'plugins', 'ARRAY(0x562363d8ff28)', 'error_mode', 'output', 'error_format', 'html', 'interp', 'HTML::Mason::Interp=HASH(0x562364b9eb48)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x5623647baec0)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x562364ac5d30)', 'apache_req', 'Apache2::Request=SCALAR(0x562363d902b8)', 'container', 'HASH(0x562364853940)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 94
HTML::Mason::Request::ApacheHandler::new('HTML::Mason::Request::ApacheHandler', 'plugins', 'ARRAY(0x562363d8ff28)', 'error_mode', 'output', 'error_format', 'html', 'interp', 'HTML::Mason::Interp=HASH(0x562364b9eb48)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x5623647baec0)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x562364ac5d30)', 'apache_req', 'Apache2::Request=SCALAR(0x562363d902b8)', 'container', 'HASH(0x562364853940)') called at /usr/share/perl5/Class/Container.pm line 275
Class::Container::call_method('HTML::Mason::Interp=HASH(0x562364b9eb48)', 'request', 'new', 'interp', 'HTML::Mason::Interp=HASH(0x562364b9eb48)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x5623647baec0)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x562364ac5d30)', 'apache_req', 'Apache2::Request=SCALAR(0x562363d902b8)', 'container', 'HASH(0x562364853940)') called at /usr/share/perl5/Class/Container.pm line 353
Class::Container::create_delayed_object('interp', 'HTML::Mason::Interp=HASH(0x562364b9eb48)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x5623647baec0)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x562364ac5d30)', 'apache_req', 'Apache2::Request=SCALAR(0x562363d902b8)', 'container', 'HASH(0x562364853940)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 351
HTML::Mason::Interp::make_request('HTML::Mason::Interp=HASH(0x562364b9eb48)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x5623647baec0)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x562364ac5d30)', 'apache_req', 'Apache2::Request=SCALAR(0x562363d902b8)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 874
eval {...} at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 873
HTML::Mason::ApacheHandler::prepare_request('HTML::Mason::ApacheHandler=HASH(0x562364ac5d30)', 'Apache2::RequestRec=SCALAR(0x5623647c2088)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 828
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x562364ac5d30)', 'Apache2::RequestRec=SCALAR(0x5623647c2088)') called at (eval 26) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x5623647c2088)') called at -e line 0
eval {...} at -e line 0