Need help: an error occurred while processing this directive

Mateo30

Registered
Oct 19, 2008
3
0
51
Hello,
I`am hoping that someone here can help me. Ive been surfing days and couldn`t find solution.

Ill start from the beginning.
I have a dedicated server with WHM and cpanel and around 10 of websites on it.
I was looking a way to disable awstats only on some accounts (not globally) and Ive done it with this solution: http://www.webhostingtalk.com/showthread.php?t=605589 .
After that Ive noticed on the accounts where I have disabled awstats this message in cpanel stats tab: [an error occurred while processing this directive] [an error occurred while processing this directive]. When clicking on that message Ive get this error:

Code:
isdedicatedip() requires one argument (this probably means a domain is missing from httpd.conf) at /usr/local/cpanel/Cpanel/DIp.pm line 44
	Cpanel::DIp::isdedicatedip(undef) called at /usr/local/cpanel/Cpanel/ExpVar.pm line 205
	Cpanel::ExpVar::expvar('$hasdedicatedip') called at /usr/local/cpanel/Cpanel/StatsBar.pm line 230
	Cpanel::StatsBar::api2_stat('rowcounter', 'mainstats', 'display', 'hostingpackage|shorthostname|cpanelversion|cpanelrevision|theme|...') called at (eval 107) line 1
	eval '$dataref = [Cpanel::StatsBar::api2_stat(%CFG)];' called at cpanel.pl line 4940
	main::api2_exec('StatsBar', 'stat', 'HASH(0xb1184f4)', 'HASH(0x91c61ac)') called at cpanel.pl line 1477
	main::cpexectag('<?cp StatsBar::stat([tr class="row-%"][td width="40\{percent}" a...') called at cpanel.pl line 4737
	main::dotag(undef) called at cpanel.pl line 4620
	main::cpanel_parseblock('SCALAR(0xa8bf248)') called at cpanel.pl line 4572
	main::cpanel_parse('GLOB(0xa50108c)') called at cpanel.pl line 2897
	main::doinclude('/usr/local/cpanel/base/frontend/x3/branding//index.html', 0, 1) called at /usr/local/cpanel/Cpanel/Branding.pm line 85
	Cpanel::Branding::Branding_include('index.html') called at (eval 8) line 1
	eval 'Cpanel::Branding::Branding_include(@{$argref});' called at cpanel.pl line 1644
	main::exectag('<cpanel Branding="include(index.html)">') called at cpanel.pl line 4737
	main::dotag(undef) called at cpanel.pl line 4620
	main::cpanel_parseblock('SCALAR(0x917ebd8)') called at cpanel.pl line 4572
	main::cpanel_parse('GLOB(0xa4c52d8)') called at cpanel.pl line 1312
	Carp::cluck('isdedicatedip() requires one argument (this probably means a dom...') called at /usr/local/cpanel/Cpanel/DIp.pm line 44
	Cpanel::DIp::isdedicatedip(undef) called at /usr/local/cpanel/Cpanel/ExpVar.pm line 205
	Cpanel::ExpVar::expvar('$hasdedicatedip') called at /usr/local/cpanel/Cpanel/StatsBar.pm line 230
	Cpanel::StatsBar::api2_stat('rowcounter', 'mainstats', 'display', 'hostingpackage|shorthostname|cpanelversion|cpanelrevision|theme|...') called at (eval 107) line 1
	eval '$dataref = [Cpanel::StatsBar::api2_stat(%CFG)];' called at cpanel.pl line 4940
	main::api2_exec('StatsBar', 'stat', 'HASH(0xb1184f4)', 'HASH(0x91c61ac)') called at cpanel.pl line 1477
	main::cpexectag('<?cp StatsBar::stat([tr class="row-%"][td width="40\{percent}" a...') called at cpanel.pl line 4737
	main::dotag(undef) called at cpanel.pl line 4620
	main::cpanel_parseblock('SCALAR(0xa8bf248)') called at cpanel.pl line 4572
	main::cpanel_parse('GLOB(0xa50108c)') called at cpanel.pl line 2897
	main::doinclude('/usr/local/cpanel/base/frontend/x3/branding//index.html', 0, 1) called at /usr/local/cpanel/Cpanel/Branding.pm line 85
	Cpanel::Branding::Branding_include('index.html') called at (eval 8) line 1
	eval 'Cpanel::Branding::Branding_include(@{$argref});' called at cpanel.pl line 1644
	main::exectag('<cpanel Branding="include(index.html)">') called at cpanel.pl line 4737
	main::dotag(undef) called at cpanel.pl line 4620
	main::cpanel_parseblock('SCALAR(0x917ebd8)') called at cpanel.pl line 4572
	main::cpanel_parse('GLOB(0xa4c52d8)') called at cpanel.pl line 1312
Besides that I also can`t connect via FTP on those accounts.

Ive tryed to edit users files in /var/cpanel/users/ to the way it was before I tryed to disable awstats, but that didnt help.

Can anyone please help. My hosting company says that I need to delete those accounts and then create them again. I cant do that because i have a lot of data on those accounts.

Thank you.
 

Mateo30

Registered
Oct 19, 2008
3
0
51
No, I`am afraid to do that because I don`t know will that kill my accounts. I cant afford myself to lose those accounts.