Can't locate object method "startform" via package "CGI" at gitweb.cgi line 409.

2 posts / 0 new
Last post
#1 Mon, 10/01/2018 - 20:48
Cadencia

Can't locate object method "startform" via package "CGI" at gitweb.cgi line 409.

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,

Sun, 08/18/2019 - 07:32
stevedonkey

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

Topic locked