PDA

View Full Version : Errore in script Perl


gipasoft
28-10-2017, 14:10
Ciao a tutti, provo qui dato che sui forum qnap non riesco a ottenere aiuto.

Devo installare gitweb su Qnap per far funzionare un plugin di integrazione di MantisBT con git, ho quindi seguito questa guida: https://www.google.it/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjBoNONpJPXAhVNJlAKHa_rBtQQFggqMAA&url=https%3A%2F%2Fforum.qnap.com%2Fviewtopic.php%3Ft%3D57610&usg=AOvVaw3Ds6-k7hwgmitNPXLN1jaI il problema nasce quando cerco di far funzionare gitweb, sul browser mi da questo errore:
This page contains the following errors:

error on line 22 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.
nei log questo errore:
[Sat Oct 28 14:02:06 2017] gitweb.cgi: CGI::param called in list context from /opt/share/www/gitweb/gitweb.cgi line 874, this can lead to vulnerabilities. See the warning in "Fetching the value or values of a single named parameter" at /opt/QPerl/lib/perl5/site_perl/5.26.0/CGI.pm line 412.
[Sat Oct 28 14:02:06 2017] gitweb.cgi: Can't locate object method "startform" via package "CGI" at /opt/share/www/gitweb/gitweb.cgi line 5513.

Grazie in anticipo per qualsiasi aiuto possiate darmi