git - XML parsing error when trying to configure gitweb after installing BugZilla perl dependencies -


i installed , configured git, gitolite , gitweb on personal sever works fine @ begining , had web view on repositories. when tried install bugzilla (with all perl dependencies) had error message on racine of gitweb url:

xml parsing error: xml or text declaration not @ start of entity location: http://xxx.xxx.xx.xx/gitweb/ line number 22, column 1: 

generated web page (firebug):

<?xml version="1.0" encoding="utf-8"?> <!doctype html public "-//w3c//dtd xhtml 1.0 strict//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us"> <!-- git web interface version 1.7.10.4, (c) 2005-2006, kay sievers <kay.sievers@vrfy.org>, christian gierke --> <!-- git core binaries version 1.7.10.4 --> <head> <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8"/> <meta name="generator" content="gitweb/1.7.10.4 git/1.7.10.4"/> <meta name="robots" content="index, nofollow"/> <title>xxx.xxx.xx.xx git</title> <link rel="stylesheet" type="text/css" href="static/gitweb.css"/> <link rel="alternate" title="xxx.xxx.xx.xx git projects list" href="/gitweb/?a=project_index" type="text/plain; charset=utf-8" /> <link rel="alternate" title="xxx.xxx.xx.xx git projects feeds" href="/gitweb/?a=opml" type="text/x-opml" /> <link rel="shortcut icon" href="static/git-favicon.png" type="image/png" /> </head> <body> <div class="page_header"> <a href="http://git-scm.com/" title="git homepage"><img alt="git" class="logo" height="27" src="static/git-logo.png" width="72" /></a><a href="/gitweb/">projects</a> / </div> <div class="projsearch"> content-type: text/html  <?xml version="1.0" encoding="utf-8"?> <!doctype html public "-//w3c//dtd xhtml 1.0 strict//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us"> <!-- git web interface version 1.7.10.4, (c) 2005-2006, kay sievers <kay.sievers@vrfy.org>, christian gierke --> <!-- git core binaries version 1.7.10.4 --> <head> <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8"/> <meta name="generator" content="gitweb/1.7.10.4 git/1.7.10.4"/> <meta name="robots" content="index, nofollow"/> <title>xxx.xxx.xx.xx git</title> <link rel="stylesheet" type="text/css" href="static/gitweb.css"/> <link rel="shortcut icon" href="static/git-favicon.png" type="image/png" /> </head> <body> <div class="page_header"> <a href="http://git-scm.com/" title="git homepage"><img alt="git" class="logo" height="27" src="static/git-logo.png" width="72" /></a><a href="/gitweb/">projects</a> / </div> <div class="page_body"> <br /><br /> 500 - internal server error <br /> <hr /> can't locate object method &quot;startform&quot; via package &quot;cgi&quot; @ /usr/share/gitweb/index.cgi line 5267.  </div> <div class="page_footer"> <a class="rss_logo" href="/gitweb/?a=opml">opml</a> <a class="rss_logo" href="/gitweb/?a=project_index">txt</a> </div> <script type="text/javascript" src="static/gitweb.js"></script> <script type="text/javascript"> window.onload = function () {     var tz_cookie = { name: 'gitweb_tz', expires: 14, path: '/' };     onloadtzsetup('local', tz_cookie, 'datetime'); }; </script> </body> </html> 

i think error due perl modules installed when tried install bugzilla.

how de-install perl modules , re-install default modules?

i use apache web server.

does have idea on how solve this?

update1:

my perl version : v5.14.2

cgi version: 4.21

had same error message gitweb apache on ubuntu after upgrading 16.04. stated slion, changing 2 instances of "startform" "start_form" in gitweb.cgi worked , use gitweb before.


Comments