Submitted by gordon on Thu, 10/23/2014 - 12:00 Pro Licensee
CentOS release 6.5 (Final) Virtualmin 4.11 Webmin 1.710 I installed the old version phpmyadmin script. After install when I go back to the script installer page I get the below error.
Error - Perl execution failed
Undefined subroutine &mysql::get_mysql_version called at /etc/webmin/virtual-server/latest-scripts/phpmyadmin.pl line 30.
Status:
Active
Comments
Submitted by JamieCameron on Thu, 10/23/2014 - 15:25 Comment #1
Oops, this was a bug in the updated phpMyAdmin installer. The quick fix is to SSH into your system as root and run
/etc/webmin/virtual-server/scriptlatest.pl
Submitted by gordon on Thu, 10/23/2014 - 16:21 Pro Licensee Comment #2
Thank you, I have logged in and run the script /etc/webmin/virtual-server/scriptlatest.pl however it has not resolved the problem.
Submitted by gordon on Thu, 10/23/2014 - 16:24 Pro Licensee Comment #3
Submitted by JamieCameron on Thu, 10/23/2014 - 16:57 Comment #4
You may also need to first run
rm -f /etc/webmin/virtual-server/latest-scripts/phpmyadmin.pl
Submitted by gordon on Fri, 10/24/2014 - 03:50 Pro Licensee Comment #5
Hi,
I have tried deleting the file and rerunning the script. I did confirm the old script was removed but still get the same problem/error.....
Submitted by JamieCameron on Fri, 10/24/2014 - 04:09 Comment #6
Has the file /etc/webmin/virtual-server/latest-scripts/phpmyadmin.pl re-appeared after you ran the script?
Submitted by jcusters on Fri, 10/24/2014 - 06:08 Comment #7
I have the same issue. I removed /etc/webmin/virtual-server/latest-scripts/phpmyadmin.pl and I have run the script /etc/webmin/virtual-server/scriptlatest.pl.
phpmyadmin.pl has a new timestamp, but the error still occurs in virtualmin.
Submitted by JamieCameron on Fri, 10/24/2014 - 06:11 Comment #8
Can you attach the file
/etc/webmin/virtual-server/latest-scripts/phpmyadmin.pl
from your system to this bug?Submitted by jcusters on Fri, 10/24/2014 - 06:44 Comment #9
Problem is solved. See other post. Sorry for double posting.