in WHM, clicking on the Fantastico De Luxe WHM Admin link produces:
Premature end of script headers: /usr/local/cpanel/whostmgr/docroot/cgi/addon_fantastico.cgi: Please check /usr/local/cpanel/logs/error_log for the exact error.
On examining the logfile, the error appears as:
Can't locate Template.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/whostmgr/docroot/cgi /usr/local/lib/perl5/5.10.0/i686-linux /usr/local/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i686-linux /usr/local/lib/perl5/site_perl/5.10.0 .) at /usr/local/cpanel/Cpanel/Template.pm line 10.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Template.pm line 10.
Compilation failed in require at /usr/local/cpanel/Cpanel/DnsUtils.pm line 16.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/DnsUtils.pm line 16.
Compilation failed in require at /usr/local/cpanel/whostmgr/docroot/cgi/whmlib.pm line 7.
BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/docroot/cgi/whmlib.pm line 7.
Compilation failed in require at /usr/local/cpanel/whostmgr/docroot/cgi/addon_fantastico.cgi line 8.
BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/docroot/cgi/addon_fantastico.cgi line 8.
Internal Error: "GET /cgi/addon_fantastico.cgi HTTP/1.1" Premature end of script headers: /usr/local/cpanel/whostmgr/docroot/cgi/addon_fantastico.cgi: Please check /usr/local/cpanel/logs/error_log for the exact error.
so I read this as, the Fantastico script cannot find or its path doesn't have the perl module cpanel::template in it.
However, there is a cpanel::Template module file on the server at /usr/local/cpanel/Cpanel/Template.pm
Whether it is installed or not I don't know. It doesn't show up in the list of installed modules for Perl.
I did recently upgrade perl to v. 5.10.0 by using the upgrade script in /scripts/ on the server.
When I upgraded I did not back up the list of perl modules installed; I let the script do what it does.
Grasping in the dark I tried installing the module using CPAN but could not find it. Tried installing it using the WHM perl module installer, same result.
I read the forum on netenburg and attempted to follow the instructions for a reinstall of Fantastico, but procedure stops when I can't find F* listed in the WHM AddOn Modules / Manage Plugins.
Help!![]()



LinkBack URL
About LinkBacks
Reply With Quote





