Hi,
I am coming across this issue where editing a type A dns record is throwing an Internal Server error. I am able to edit other types of dns records such as NS, MX and TXT.
I have a fresh Hestia (1.6) install on Ubuntu 22.04. Looking at the /var/log/hestia-error.log files I can see the following entries
2022/06/20 00:54:50 [error] 2860#0: *745 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Undefined constant “selected” in /usr/local/hestia/web/templates/pages/edit_dns_rec.html:75
Stack trace:
#0 /usr/local/hestia/web/inc/main.php(181): include()
#1 /usr/local/hestia/web/edit/dns/index.php(220): render_page()
#2 {main}
thrown in /usr/local/hestia/web/templates/pages/edit_dns_rec.html on line 75” while reading response header from upstream, client: xx.xx.xx.xx, server: _, request: “GET /edit/dns/?domain=domain.com&record_id=13&token=31ae31a25de2ddf44288fe9ba695b723 HTTP/1.1”, upstream: “fastcgi://unix:/var/run/hestia-php.sock:”, host: “xx.xx.xx.xx:8083", referrer: “https://xx.xx.xx.xx:8083/list/dns/?domain=domain.com&token=31ae31a25de2ddf44288fe9ba695b723”
At the moment I can delete and recreate the A record but I would like to be able to fix this issue and edit existing records.
Any help would be very much appreciated.
Thanks,
Yakob.