WillyXJ / facileManager

A modular suite of web apps built with the sysadmin in mind.
www.facilemanager.com
GNU General Public License v2.0
88 stars 37 forks source link

[BUG] Uncaught TypeError in POST to server /buildconf.php #611

Closed imyller closed 6 months ago

imyller commented 7 months ago

fM Version : 4.6.1 fmDNS Version : 6.0.3

In raising this issue, I confirm the following (please check boxes, eg [X]):


(BUG | ISSUE) Expected Behavior:

Client should be able to call /buildconf.php endpoint at fM server (POST /buildconf.php)

(BUG | ISSUE) Actual Behavior:

(BUG | ISSUE) Steps to reproduce:

ValeriiVozniuk commented 7 months ago

How are your zones look like in UI?

WillyXJ commented 7 months ago

Looking at the code, this fatal error would only occur if there are no zones to build. A workaround until a fix is released is to build at least one zone.

imyller commented 7 months ago

There are only localhost zones and their reverse provided by default install.

imyller commented 7 months ago

I can confirm that workaround of creating at least one valid zone on fresh install works.

WillyXJ commented 6 months ago

This is now fixed in fmDNS 6.0.4 and later.