T TomBG Active Member Aug 10, 2010 #1 Aug 10, 2010 #1 When configuring AWStats under a template, the "Site Domain" field says to leave blank to use the name of the virtual host. But when you try to save changes and actually leave it blank, it returns an error saying field required. Last edited by a moderator: Aug 20, 2010
When configuring AWStats under a template, the "Site Domain" field says to leave blank to use the name of the virtual host. But when you try to save changes and actually leave it blank, it returns an error saying field required.
N NiteWave Administrator Aug 10, 2010 #2 Aug 10, 2010 #2 "Site Domain" tip:"If not set, the name of this virtual host will be used" so looks the value can be empty. please try: edit lsws/admin/html/classes/ws/DTblDef.php change line 1888: new DAttr('siteDomain', 'domain', 'Site Domain', 'text', false, NULL, NULL, $this->_options['text_size']), Click to expand... to new DAttr('siteDomain', 'domain', 'Site Domain', 'text', true, NULL, NULL, $this->_options['text_size']), Click to expand... see if it finally works.
"Site Domain" tip:"If not set, the name of this virtual host will be used" so looks the value can be empty. please try: edit lsws/admin/html/classes/ws/DTblDef.php change line 1888: new DAttr('siteDomain', 'domain', 'Site Domain', 'text', false, NULL, NULL, $this->_options['text_size']), Click to expand... to new DAttr('siteDomain', 'domain', 'Site Domain', 'text', true, NULL, NULL, $this->_options['text_size']), Click to expand... see if it finally works.