Submitted by fmontaner on Tue, 08/28/2012 - 06:57
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
Submitted by andreychek on Tue, 08/28/2012 - 07:51 Comment #1
Howdy -- what output do you receive if you run these commands:
dpkg -l webmin-virtual-server-theme
dpkg -l webmin-virtual-server-mobile
Submitted by fmontaner on Tue, 08/28/2012 - 10:19 Comment #2
webmin-virtual-server-theme 8.5-2 Webmin theme 'Virtualmin Framed Theme' webmin-virtual-server-mobile 2.4 Webmin theme 'Virtualmin Mobile Theme'
Submitted by andreychek on Tue, 08/28/2012 - 11:18 Comment #3
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:
After that, do you continue to get the error?
Submitted by fmontaner on Tue, 08/28/2012 - 11:57 Comment #4
Yes, last week i updated virtualmin packages
After restart the service, i have the same error
Submitted by JamieCameron on Tue, 08/28/2012 - 12:39 Comment #5
When you login from your blackberry, are you seeing Virtualmin's mobile UI?
Submitted by fmontaner on Tue, 08/28/2012 - 12:45 Comment #6
It aks me by the certificate, and after show me a http 500 internal server error.
No user and pass screen
Submitted by JamieCameron on Tue, 08/28/2012 - 12:47 Comment #7
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.cgiand 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..
Submitted by fmontaner on Tue, 08/28/2012 - 13:18 Comment #8
I comment the line 63 and now works
Awaiting for the fix in the next release
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.
Submitted by Issues on Fri, 09/14/2012 - 22:51 Comment #10
Automatically closed -- issue fixed for 2 weeks with no activity.