cPanel with RVSkin not able to list file from file manager
cPanel with RVSkin could not list file and folder from file manager feature, I have immediately seek from RVSkin support and get the fix. Below is the error from cPanel’s error_log.
Error:
[2010-10-22 11:56:11 +0800] warn [jsprint::jsprint] Encountered error in jsprint::jsprint: jsprint::$abshomedir failed: Undefined subroutine &Cpanel::jsprint::jsprint_jsprint called at (eval 56) line 1.
[2010-10-22 11:56:11 +0800] warn [jsprint::jsprint] Encountered error in jsprint::jsprint: jsprint::$FORM{‘dir’} failed: Undefined subroutine &Cpanel::jsprint::jsprint_jsprint called at (eval 57) line 1.
[2010-10-22 11:56:11 +0800] warn [jsprint::jsprint] Encountered error in jsprint::jsprint: jsprint::$FORM{‘showhidden’} failed: Undefined subroutine &Cpanel::jsprint::jsprint_jsprint called at (eval 58) line 1.
[2010-10-22 11:56:11 +0800] warn [jsprint::jsprint] Encountered error in jsprint::jsprint: jsprint::$CPDATA{‘RS’} failed: Undefined subroutine &Cpanel::jsprint::jsprint_jsprint called at (eval 59) line 1.
[2010-10-22 11:56:11 +0800] warn [jsprint::jsprint] Encountered error in jsprint::jsprint: jsprint::$CPDATA{‘DNS’} failed: Undefined subroutine &Cpanel::jsprint::jsprint_jsprint called at (eval 60) line 1.
[2010-10-22 11:56:11 +0800] warn [jsprint::jsprint] Encountered error in jsprint::jsprint: jsprint::$ENV{‘cp_security_token’} failed: Undefined subroutine &Cpanel::jsprint::jsprint_jsprint called at (eval 63) line 1.
[2010-10-22 11:56:11 +0800] warn [jsprint::jsprint] Encountered error in jsprint::jsprint: jsprint::$ENV{‘cp_security_token’} failed: Undefined subroutine &Cpanel::jsprint::jsprint_jsprint called at (eval 64) line 1.
You can fix the issue by running 2 command from SSH only.
# rm -f /usr/local/cpanel/Cpanel/rvversion
# perl /root/rvadmin/auto_rvskin.pl
How to remove/uninstall RVSkin
You just have to run the following command as root on the server:
# perl /root/rvadmin/uninstall.pl
if for some reason RVskin was installed in a different location, change the path accordingly.
To complete this, restart cpanel:
# /etc/rc.d/init.d/cpanel stop
# /etc/rc.d/init.d/cpanel start