[Resolved] AWStats "Site Domain" field

TomBG

Active Member
#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:

NiteWave

Administrator
#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']),
to
new DAttr('siteDomain', 'domain', 'Site Domain', 'text', true, NULL, NULL, $this->_options['text_size']),
see if it finally works.
 
Top