These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Can't locate object method "startform" via package "CGI" at gitweb.cgi line 409. on the new forum.
On a newly created Virtualmin gpl installation, with git enabled, attempting to access the created git repository gives the following result:
"
Software error:
Can't locate object method "startform" via package "CGI" at gitweb.cgi line 409.
For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error.
"
line 409 in gitweb.cgi is: "
print $cgi->startform(-method => "get", -action => $my_uri) .
"
Changing that to:"
print $cgi->start_form(-method => "get", -action => $my_uri) .
" resolves the error and the system behaves as expected.
Environment:
Windows 10 pro 64 with Windows Subsystem for Linux,
Ubuntu 16.04,
Webmin 1.892,
Virtualmin 6.03,
can we fix this for the template in virtualmin so we don't have to do it on every new repository? The template is I believe in /usr/share/webmin/virtualmin-git/gitweb.cgi.source.new