Page 1 of 1

Can't use string ("_defheader.tmpl")

Posted: 29 Jan 2013, 02:03
by chrismfz
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.

Re: Can't use string ("_defheader.tmpl")

Posted: 29 Jan 2013, 02:03
by chrismfz
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.

Re: Can't use string ("_defheader.tmpl")

Posted: 29 Jan 2013, 06:38
by Sarah
Please see this blog post for information about upgrading configserver scripts for cPanel 11.36:
http://blog.configserver.com/index.php?itemid=704