Error on virtualmin 3.94 Pro interface from Blackberry

Hi,

I have the next error when i try to access virtualmin

Error - Perl execution failed

Undefined subroutine &virtual_server::licence_warning_message called at /usr/share/webmin/virtualmin-server-mobile/index.cgi line 63

Thanks in advance Regards

Status: 
Closed (fixed)

Comments

Howdy -- what output do you receive if you run these commands:

dpkg -l webmin-virtual-server-theme
dpkg -l webmin-virtual-server-mobile

webmin-virtual-server-theme 8.5-2 Webmin theme 'Virtualmin Framed Theme' webmin-virtual-server-mobile 2.4 Webmin theme 'Virtualmin Mobile Theme'

Both of those were recently updated, but the versions there both look correct... could you try giving Webmin a restart, just to make sure the newest theme packages are active?

You can do that by running this command:

/etc/init.d/webmin restart

After that, do you continue to get the error?

Yes, last week i updated virtualmin packages

After restart the service, i have the same error

When you login from your blackberry, are you seeing Virtualmin's mobile UI?

It aks me by the certificate, and after show me a http 500 internal server error.

No user and pass screen

Ok, I see the cause of this - it is due to an API change in Virtualmin that requires an update of the mobile theme.

The quick work-around is to edit /usr/share/webmin/virtual-server-mobile/index.cgi and delete the line :

        $lwarn = &virtual_server::licence_warning_message();

which should be on line 62. We will be releasing a package update to fix this problem properly shortly..

I comment the line 63 and now works

Awaiting for the fix in the next release

Regards

calderwood's picture
Submitted by calderwood on Fri, 08/31/2012 - 22:46

Same problem from Android. Server is CentOS5 - commented out

$lwarn = &virtual_server::licence_warning_message() line;

in file at /usr/libexec/webmin/virtual-server-mobile/index.cgi

All working again.

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