OpenNetAdmin

Track. Automate. Configure.

Home About Features Community Develop
Download this project as a tar.gz file

PHP error: Can't add DNS record for an interface

yshollander

29-06-2009 11:22:21

I added a host with 2 interfaces, and clicked on the green + icon to try and add a DNS record for the second interface.

Unfortunately, no popup window shows up, and I get the following error in /var/log/httpd/error_log:

[Mon Jun 29 13:18:28 2009] [error] [client 192.168.1.85] PHP Notice: Undefined
index: footer in /opt/ona/www/include/xajax_webwin/webwin.inc.php on line 105,
referer: http://athos/ona/

Is there a workaround or a patch available for this issue?

Thanks

Isaac

tmyoungjr

06-07-2009 11:52:14

i do not currently see the same behavior. i'll poke a bit further and see if i can't duplicate it.

my popup window doesn't show - but i do get an entry in the workspace bar up top that i can click on to bring the window to the front. is this possibly what you're seeing?

Matt

09-07-2009 08:55:29

As tmyoungjr mentioned, there is a known issue when clicking that option. It opens the window but remains "minimized" in the top bar. The option in the green plus menu is there simply because it makes sense from a flow perspective to be there. It simply opens the same window as any other add dns record button does, it just pre-populates the IP address field with the interface you were on at the time.

You can just hit the add dns record link at the bottom of the dns record list on ANY screen to get the edit window open. then you can add any type of record to any host in the system.

As far as the error about the footer you got? not sure what that is. I suspect its harmless (assuming all else is working on your ONA instance) and that you might want to adjust the error_reporting values in your php.ini file to something like: error_reporting = E_ALL & ~E_NOTICE