perl error on cloudmin edit_serv.cgi

Hello,

I have the following error on edit_serv.cgi :

HTTP/1.0 500 Perl execution failed Server: MiniServ/0.01 Date: Fri, 19 Jun 2009 07:02:07 GMT Content-type: text/html Connection: close Error - Perl execution failed

Not an ARRAY reference at /usr/libexec/webmin/server-manager/edit_serv.cgi line 286.

Thanks

Status: 
Closed (fixed)

Comments

I can see how this could happen - however, the bug is in code that is only run when you are not using the Virtualmin framed theme. To enable it, go to Webmin -> Change Language and Theme, and select the 'Virtualmin Framed Theme'. This is the default when Cloudmin is installed, and is highly recommended.

Alternately, edit the file /usr/libexec/webmin/server-manager/edit_serv.cgi and change lines 286 and 287 from :

                                "window.open("$b->[3]")" :
                                "document.location = "$b->[3]"";

to :

                                "window.open("$b->{'link'}")" :
                                "document.location = "$b->{'link'}"";

This fix will be in the next Cloudmin release.

Automatically closed -- issue fixed for 2 weeks with no activity.