WHM interface bug

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
sdjl
Junior Member
Posts: 81
Joined: 10 Dec 2006, 16:56
Location: London, UK.

WHM interface bug

Post by sdjl »

This isn't detrimental to the operation of CSF/LFD but is worth pointing out.
Any ConfigServer software, including CSF/LFD, CMM, CMQ and MailScanner, seems to output the following error at the top of the WHM interface page.

[an error occurred while processing this directive]

I'm not quite sure what the difference is between this VPS and my other as only one VPS outputs this error. Here's the cPanel error_log incase it's of any use.

Code: Select all

(internal warning while parsing ) Sun Mar  9 11:38:51 2008 [5816] warn: read() on closed filehandle $ff_fh at /usr/local/cpanel/Cpanel/LoadFile.pm line 82.
 at /usr/local/cpanel/Cpanel/LoadFile.pm line 81
	Cpanel::LoadFile::load_userfile_as_root('/var/cpanel/whmtheme', 1024) called at /usr/local/cpanel/Whostmgr/Theme.pm line 25
	Whostmgr::Theme::gettheme() called at /usr/local/cpanel/Whostmgr/HTMLInterface.pm line 124
	Whostmgr::HTMLInterface::_get_css_style() called at /usr/local/cpanel/Whostmgr/HTMLInterface.pm line 33
	Whostmgr::HTMLInterface::defheader('ConfigServer Security & Firewall - csf v3.13') called at /usr/local/cpanel/whostmgr/docroot/cgi/addon_csf.cgi line 37


read() on closed filehandle $ff_fh at /usr/local/cpanel/Cpanel/LoadFile.pm line 82.
David
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

AFAIK, that's a bug in cPanel, not csf. Do make sure you're using the standard WHM x theme, though.
sdjl
Junior Member
Posts: 81
Joined: 10 Dec 2006, 16:56
Location: London, UK.

Post by sdjl »

Didn't think of that. I was using the X theme, but I just rechanged it to X and it's working again without fault.

David
Post Reply