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

Community forum to discuss cxs.
If you believe that there is a problem with your cxs installation and want support then, as a paid product, you should use the helpdesk after having consulted the documentation.
Post Reply
chrismfz
Junior Member
Posts: 20
Joined: 04 Feb 2010, 20:55

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

Post 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.

chrismfz
Junior Member
Posts: 20
Joined: 04 Feb 2010, 20:55

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

Post 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.

Sarah
Moderator
Posts: 815
Joined: 09 Dec 2006, 22:49

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

Post 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

Post Reply