System error

error:  Error during compilation of /srv/www/crosbi/bib/prikazi-rad:
"my" variable $lock masks earlier declaration in same scope at /srv/www/crosbi/bib/prikazi-rad line 1042.
"my" variable %podaci masks earlier declaration in same scope at /srv/www/crosbi/bib/prikazi-rad line 521.
"my" variable $print masks earlier declaration in same scope at /srv/www/crosbi/bib/prikazi-rad line 521.
Can't modify constant item in concatenation (.) or string at /srv/www/crosbi/bib/prikazi-rad line 1048, near "" $stranica_prva";"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1552, near "},"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1562, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1029, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1285, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 997, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 507, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 709, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1572, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1656, near "}"
/srv/www/crosbi/bib/prikazi-rad has too many errors.
context: 
... 
503:  </%def>
504: 
505:  % # ================= #
506: 
507:  <%def __KNJIGA>
508:  <%args>
509:  %podaci
510:  $print => ''
511:  </%args>
... 
517:  % }
518:  <& .NASLOV, naslov => $podaci{naslov},
519:  title => $podaci{title},
520:  jezik => $podaci{jezik} &>
521:  <& .VRSTAKNJIGE, vrstaknjige => $podaci{vrsta_knjige} &>
522:  <& .POLJE, ime_polja => "$prijevod_ar[18]",
523:  tekst => $podaci{formalni_urednik} &>
524:  <& .POLJE, ime_polja => "$prijevod_ar[19]", tekst => $podaci{nakladnik} &>
525:  <& .POLJE, ime_polja => "$prijevod_ar[20]", tekst => $podaci{grad} &>
... 
705:  </%def>
706: 
707:  % # ================= #
708: 
709:  <%def __DISERTACIJA>
710:  <%args>
711:  %podaci
712:  $print => ''
713:  $lang => 'HR'
... 
993:  </tr>
994: 
995:  % }
996:  </%def>
997: 
998:  % # ================= #
999: 
1000:  <%def .SAZETAK>
1001:  <%args>
... 
1025:  </tr>
1026: 
1027:  </%def>
1028: 
1029:  % # ================= #
1030: 
1031:  <%def .GSCHOLAR>
1032:  <%args>
1033:  $naslov
... 
1038:  <td align="right" class="brownnaslov1" valign="top" width="22%"><b>Google Scholar:</b></td>
1039:  <td align="left" class="text"><a href="http://scholar.google.hr/scholar?hl=en&q=<% $naslov %>&btnG="><% $naslov %></a></td>
1040:  </tr>
1041: 
1042:  </%def>
1043: 
1044:  % # ================= #
1045: 
1046:  % # ================= #
1047: 
1048:  <%def .PUNI_TEKT>
1049:  <%args>
1050:  $file
1051:  $datum => ''
1052:  $print => ''
... 
1281:  </tr>
1282: 
1283:  </%def>
1284: 
1285:  % # ================= #
1286: 
1287:  <%def .INDEKSI>
1288:  <%args>
1289:  $indices => []
... 
1548:  </tr>
1549: 
1550:  </%def>
1551: 
1552:  % # ================= #
1553: 
1554:  <%def .SKUP>
1555:  <%args>
1556:  $skup
... 
1558:  $datum
1559:  </%args>
1560: 
1561:  <tr valign="top">
1562:  <td align="right" class="brownnaslov1" valign="top"><b><% $prijevod_ar[65] %></b></td>
1563:  <td align="left" class="text"><% $skup %></td>
1564:  </tr>
1565:  <tr valign="top">
1566:  <td align="right" class="brownnaslov1" valign="top"><b><% $prijevod_ar[66] %></b></td>
... 
1568:  </tr>
1569: 
1570:  </%def>
1571: 
1572:  % # ================= #
1573: 
1574:  <%def .PREZENTACIJA>
1575:  <%args>
1576:  $prezentacija
... 
1652:  </tr>
1653: 
1654:  </%def>
1655: 
1656:  % # ================= #
1657:  % # OSTALO
1658:  % # ================= #
1659:  % # PATENT
1660:  % # ================= #
... 
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:
"my" variable $lock masks earlier declaration in same scope at /srv/www/crosbi/bib/prikazi-rad line 1042.
"my" variable %podaci masks earlier declaration in same scope at /srv/www/crosbi/bib/prikazi-rad line 521.
"my" variable $print masks earlier declaration in same scope at /srv/www/crosbi/bib/prikazi-rad line 521.
Can't modify constant item in concatenation (.) or string at /srv/www/crosbi/bib/prikazi-rad line 1048, near "" $stranica_prva";"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1552, near "},"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1562, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1029, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1285, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 997, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 507, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 709, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1572, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 1656, 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(0x555a46793920)', '/srv/www/crosbi/bib/prikazi-rad', 'HTML::Mason::Exception::Compilation=HASH(0x555a4648d598)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 453
HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x555a46793920)', '/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(0x555a4500dd48)') called at /usr/share/perl5/HTML/Mason/Request.pm line 215
HTML::Mason::Request::new('HTML::Mason::Request::ApacheHandler', 'error_mode', 'output', 'error_format', 'html', 'plugins', 'ARRAY(0x555a46623c78)', 'interp', 'HTML::Mason::Interp=HASH(0x555a46793920)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x555a44e5e0b0)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x555a45ca76c0)', 'apache_req', 'Apache2::Request=SCALAR(0x555a46875a20)', 'container', 'HASH(0x555a466409b0)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 94
HTML::Mason::Request::ApacheHandler::new('HTML::Mason::Request::ApacheHandler', 'error_mode', 'output', 'error_format', 'html', 'plugins', 'ARRAY(0x555a46623c78)', 'interp', 'HTML::Mason::Interp=HASH(0x555a46793920)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x555a44e5e0b0)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x555a45ca76c0)', 'apache_req', 'Apache2::Request=SCALAR(0x555a46875a20)', 'container', 'HASH(0x555a466409b0)') called at /usr/share/perl5/Class/Container.pm line 275
Class::Container::call_method('HTML::Mason::Interp=HASH(0x555a46793920)', 'request', 'new', 'interp', 'HTML::Mason::Interp=HASH(0x555a46793920)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x555a44e5e0b0)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x555a45ca76c0)', 'apache_req', 'Apache2::Request=SCALAR(0x555a46875a20)', 'container', 'HASH(0x555a466409b0)') called at /usr/share/perl5/Class/Container.pm line 353
Class::Container::create_delayed_object('interp', 'HTML::Mason::Interp=HASH(0x555a46793920)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x555a44e5e0b0)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x555a45ca76c0)', 'apache_req', 'Apache2::Request=SCALAR(0x555a46875a20)', 'container', 'HASH(0x555a466409b0)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 351
HTML::Mason::Interp::make_request('HTML::Mason::Interp=HASH(0x555a46793920)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x555a44e5e0b0)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x555a45ca76c0)', 'apache_req', 'Apache2::Request=SCALAR(0x555a46875a20)') 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(0x555a45ca76c0)', 'Apache2::RequestRec=SCALAR(0x555a46793788)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 828
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x555a45ca76c0)', 'Apache2::RequestRec=SCALAR(0x555a46793788)') called at (eval 26) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x555a46793788)') called at -e line 0
eval {...} at -e line 0