https://bugs.koozali.org/show_bug.cgi?id=12088

--- Comment #3 from John Crisp <jcr...@safeandsoundit.co.uk> ---
Just installed this on a box of mine and had no issues, but it had a previous
v9 setup.

The code where you get the issue is the sub readConf :

sub readConf
{

    #lecture des parametres contenus dans la db de sme
    my $smedb=esmith::ConfigDB->open; 
    $DomainName = $smedb->get('DomainName')->value;
        $SystemName = $smedb->get('SystemName')->value;
        $SystemMode = $smedb->get("SystemMode")->value;

    #on n'a une external ip que si on est en server-passerelle
        if ($SystemMode =~ /servergateway/)
        {
        $ExternalIP = $smedb->get("ExternalIP")->value;
                $ExternalInterface =
$smedb->get("ExternalInterface")->prop('Name');
        }
        else{
                $ExternalIP = '';
                $ExternalInterface ='';
        }
        $InternalIP = $smedb->get("LocalIP")->value;

        foreach my $key (keys(%params)){                           << Line 541
                $params{$key} = $smeadmindb->prop($key);
        }

        $SshPort = $smedb->get('sshd')->prop('TCPPort');
}


$smeadindb should be set via this at line 39 other wise we would have got an
error:

my $smeadmindb = $smedb->get('smeadmind') || die "Error opening smeadmind
db\n";


So what does this show?

 config show smeadmind

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to