Updating to cPanel 11.36 I see in every module
(cxs / modsec / csf) this error:
Can't use string ("_defheader.tmpl") as a HASH ref while "strict refs" in use at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Template/Context.pm line 809.
Can't use string ("_defheader.tmpl")
Re: Can't use string ("_defheader.tmpl")
Modsec doesn't even loads up:
Couldn't load Template::Stash::XS :
Template::Stash::XS object version 2.24 does not match bootstrap parameter at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 253.
BEGIN failed--compilation aborted at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Template/Stash/XS.pm line 31.
Compilation failed in require at /usr/local/cpanel/Cpanel/Template.pm line 49.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Template.pm line 49.
Compilation failed in require at /usr/local/cpanel/Whostmgr/HTMLInterface.pm line 12.
BEGIN failed--compilation aborted at /usr/local/cpanel/Whostmgr/HTMLInterface.pm line 12.
Compilation failed in require at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmc.cgi line 24.
BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmc.cgi line 24.
Couldn't load Template::Stash::XS :
Template::Stash::XS object version 2.24 does not match bootstrap parameter at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 253.
BEGIN failed--compilation aborted at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Template/Stash/XS.pm line 31.
Compilation failed in require at /usr/local/cpanel/Cpanel/Template.pm line 49.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Template.pm line 49.
Compilation failed in require at /usr/local/cpanel/Whostmgr/HTMLInterface.pm line 12.
BEGIN failed--compilation aborted at /usr/local/cpanel/Whostmgr/HTMLInterface.pm line 12.
Compilation failed in require at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmc.cgi line 24.
BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmc.cgi line 24.
Re: Can't use string ("_defheader.tmpl")
Please see this blog post for information about upgrading configserver scripts for cPanel 11.36:
http://blog.configserver.com/index.php?itemid=704
http://blog.configserver.com/index.php?itemid=704