when creating a subdomain, httpd.conf/cpanel error

manuxer

Active Member
Aug 16, 2006
30
0
156
When creating a subdomain to a newly created domain, the virtual host configuration is removed from httpd.conf, and an error occured:

isdedicatedip() requires one argument (this probably means a domain is missing from httpd.conf) at /usr/local/cpanel/Cpanel/DIp.pm line 38
Cpanel::DIp::isdedicatedip(undef) called at /usr/local/cpanel/Cpanel/ExpVar.pm line 185
Cpanel::ExpVar::expvar('!$hasdedicatedip') called at cpanel.pl line 1721
main::execiftag('<cpanelif !$hasdedicatedip>') called at cpanel.pl line 4392
main::dotag(undef) called at cpanel.pl line 4281
main::cpanel_parseblock('SCALAR(0x909bf88)') called at cpanel.pl line 4235
main::cpanel_parse('GLOB(0x92e23cc)') called at cpanel.pl line 1077
Carp::cluck('isdedicatedip() requires one argument (this probably means a dom...') called at /usr/local/cpanel/Cpanel/DIp.pm line 38
Cpanel::DIp::isdedicatedip(undef) called at /usr/local/cpanel/Cpanel/ExpVar.pm line 185
Cpanel::ExpVar::expvar('!$hasdedicatedip') called at cpanel.pl line 1721
main::execiftag('<cpanelif !$hasdedicatedip>') called at cpanel.pl line 4392
main::dotag(undef) called at cpanel.pl line 4281
main::cpanel_parseblock('SCALAR(0x909bf88)') called at cpanel.pl line 4235
main::cpanel_parse('GLOB(0x92e23cc)') called at cpanel.pl line 1077


cpanel 11.11.0 E16942
 

manuxer

Active Member
Aug 16, 2006
30
0
156
Well, i know how to solve the problem, manualy editing the httpd.conf. But i think this is a serious bug. I'll submit it to bugzilla.
I can't roll back, because i want to use apache2.2, and hope that layer2 will became current in 12sept.
 
C

cPanelBilly

Guest
Just so you know development does know about this and is researching it further currently.