View Single Post
Old 25th September 2005, 13:33
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts

Originally Posted by jmroth
Hi there,
I have now narrowed down the error with the Default MX to the dns_dep table. dns_mx and dns_nodes are correct but the corresponding entries in dns_dep (child_doctype_id=1020) are missing. In other words, the SQL query in ispconfig_bind.lib.php at line 210 which (in my case) is:
select, dns_mx.prioritaet, dns_mx.mailserver
from dns_dep, dns_mx, dns_nodes
WHERE dns_dep.parent_doc_id = '10' AND
	dns_dep.parent_doctype_id = '1016' AND
	dns_dep.child_doctype_id = '1020' AND
yields no results, already taking only the first 3 conditions into account.
Some previous script must have forgotten to create these entries. Can someone take a look?

thank ypo for you detailed bug report. We will have a look at this issue. The error must be in the file /home/admispconfig/ispconfig/lib/classes/ispconfig_isp_dns.lib.php
Reply With Quote