System error

error:  Error during compilation of /srv/www/crosbi/bib/prikazi-rad:
Scalar found where operator expected at /srv/www/crosbi/bib/prikazi-rad line 925, near "$m"
(Might be a runaway multi-line '' string starting on line 919)
(Missing semicolon on previous line?)
Global symbol "$wos_id_doi" requires explicit package name at /srv/www/crosbi/bib/prikazi-rad line 891.
Global symbol "$wos_id_doi" requires explicit package name at /srv/www/crosbi/bib/prikazi-rad line 919.
syntax error at /srv/www/crosbi/bib/prikazi-rad line 925, near "$m"
Global symbol "$ime_polja" requires explicit package name at /srv/www/crosbi/bib/prikazi-rad line 928.
Global symbol "$tekst" requires explicit package name at /srv/www/crosbi/bib/prikazi-rad line 929.
Unmatched right curly bracket at /srv/www/crosbi/bib/prikazi-rad line 932, at end of line
(Might be a runaway multi-line '' string starting on line 929)
syntax error at /srv/www/crosbi/bib/prikazi-rad line 932, near "}"
Unmatched right curly bracket at /srv/www/crosbi/bib/prikazi-rad line 934, at end of line
syntax error at /srv/www/crosbi/bib/prikazi-rad line 934, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 707, near "}"
/srv/www/crosbi/bib/prikazi-rad has too many errors.
context: 
... 
703:  </%def>
704: 
705:  % # ================= #
706: 
707:  <%def __DISERTACIJA>
708:  <%args>
709:  %podaci
710:  $print => ''
711:  $lang => 'HR'
... 
887:  <script type='text/javascript' src='https://code.jquery.com/jquery-3.2.1.min.js'></script>
888:  <script>
889:  var $doi = $('#doi');
890: 
891:  $doi='<% $wos_id_doi %>';
892:  if ($doi.length) {
893:  $.ajax({
894:  url: "https://fulir.irb.hr/lamr/1.0/",
895:  data: { DOI: $doi },
... 
915:  <tr valign="middle">
916:  <td align="right" class="brownnaslov1" valign="middle"><b>Altmetric:</b></td>
917:  <td align="left" class="text">
918: 
919:  <div id="doi" data-badge-details="right" data-badge-type="medium-donut" data-doi="<% $wos_id_doi %>" data-condensed="true" class="altmetric-embed"></div>
920:  </td>
921:  </tr>
922: 
923: 
924:  % }
925: 
926: 
927:  <tr valign="top">
928:  <td align="right" class="brownnaslov1" valign="top"><b><% $ime_polja %>:</b></td>
929:  <td align="left" class="text"><% $tekst %></td>
930:  </tr>
931: 
932:  % }
933:  </%def>
934: 
935: 
936:  % # ================= #
937: 
938:  <%def .AUTORI>
... 
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:
Scalar found where operator expected at /srv/www/crosbi/bib/prikazi-rad line 925, near "$m"
  (Might be a runaway multi-line '' string starting on line 919)
(Missing semicolon on previous line?)
Global symbol "$wos_id_doi" requires explicit package name at /srv/www/crosbi/bib/prikazi-rad line 891.
Global symbol "$wos_id_doi" requires explicit package name at /srv/www/crosbi/bib/prikazi-rad line 919.
syntax error at /srv/www/crosbi/bib/prikazi-rad line 925, near "$m"
Global symbol "$ime_polja" requires explicit package name at /srv/www/crosbi/bib/prikazi-rad line 928.
Global symbol "$tekst" requires explicit package name at /srv/www/crosbi/bib/prikazi-rad line 929.
Unmatched right curly bracket at /srv/www/crosbi/bib/prikazi-rad line 932, at end of line
  (Might be a runaway multi-line '' string starting on line 929)
syntax error at /srv/www/crosbi/bib/prikazi-rad line 932, near "}"
Unmatched right curly bracket at /srv/www/crosbi/bib/prikazi-rad line 934, at end of line
syntax error at /srv/www/crosbi/bib/prikazi-rad line 934, near "}"
syntax error at /srv/www/crosbi/bib/prikazi-rad line 707, 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(0x562363d91658)', '/srv/www/crosbi/bib/prikazi-rad', 'HTML::Mason::Exception::Compilation=HASH(0x562363ea4078)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 453
HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x562363d91658)', '/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(0x562363d90198)') called at /usr/share/perl5/HTML/Mason/Request.pm line 215
HTML::Mason::Request::new('HTML::Mason::Request::ApacheHandler', 'plugins', 'ARRAY(0x5623632b2bd8)', 'error_mode', 'output', 'error_format', 'html', 'interp', 'HTML::Mason::Interp=HASH(0x562363d91658)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x56236326b6a8)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x562363d94030)', 'apache_req', 'Apache2::Request=SCALAR(0x5623639c7f08)', 'container', 'HASH(0x5623632f1eb8)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 94
HTML::Mason::Request::ApacheHandler::new('HTML::Mason::Request::ApacheHandler', 'plugins', 'ARRAY(0x5623632b2bd8)', 'error_mode', 'output', 'error_format', 'html', 'interp', 'HTML::Mason::Interp=HASH(0x562363d91658)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x56236326b6a8)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x562363d94030)', 'apache_req', 'Apache2::Request=SCALAR(0x5623639c7f08)', 'container', 'HASH(0x5623632f1eb8)') called at /usr/share/perl5/Class/Container.pm line 275
Class::Container::call_method('HTML::Mason::Interp=HASH(0x562363d91658)', 'request', 'new', 'interp', 'HTML::Mason::Interp=HASH(0x562363d91658)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x56236326b6a8)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x562363d94030)', 'apache_req', 'Apache2::Request=SCALAR(0x5623639c7f08)', 'container', 'HASH(0x5623632f1eb8)') called at /usr/share/perl5/Class/Container.pm line 353
Class::Container::create_delayed_object('interp', 'HTML::Mason::Interp=HASH(0x562363d91658)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x56236326b6a8)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x562363d94030)', 'apache_req', 'Apache2::Request=SCALAR(0x5623639c7f08)', 'container', 'HASH(0x5623632f1eb8)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 351
HTML::Mason::Interp::make_request('HTML::Mason::Interp=HASH(0x562363d91658)', 'comp', '/prikazi-rad', 'args', 'ARRAY(0x56236326b6a8)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x562363d94030)', 'apache_req', 'Apache2::Request=SCALAR(0x5623639c7f08)') 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(0x562363d94030)', 'Apache2::RequestRec=SCALAR(0x562363290e08)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 828
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x562363d94030)', 'Apache2::RequestRec=SCALAR(0x562363290e08)') called at (eval 26) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x562363290e08)') called at -e line 0
eval {...} at -e line 0