Submitted by bitJericho on Sat, 03/09/2019 - 19:08
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.
See similar report here: https://www.virtualmin.com/node/58964
Status:
Fixed (pending)
Files:
Comments
Submitted by JamieCameron on Sun, 03/10/2019 - 19:18 Comment #1
Thanks for pointing this out - it looks like the
CGI
module API changed since that code was written. The next release of the Git plugin will include this fix.Submitted by JamieCameron on Sun, 03/10/2019 - 19:18 Comment #2