Actions
Bug #4976
closedservices_unbound_acls.php is broken
Description
Parse error: syntax error, unexpected end of file in /usr/local/www/services_unbound_acls.php on line 342
Actions
Added by Chris Buechler over 9 years ago. Updated about 9 years ago.
Description
Parse error: syntax error, unexpected end of file in /usr/local/www/services_unbound_acls.php on line 342
Fixed error from merge.
better, but still broken. Add a new ACL, hit "Add row", and you get:
Warning: array_push() expects parameter 1 to be array, null given in /usr/local/www/services_unbound_acls.php on line 83 Call Stack: 0.0001 229336 1. {main}() /usr/local/www/services_unbound_acls.php:0 0.0255 1549400 2. array_push() /usr/local/www/services_unbound_acls.php:83
Display issues resolved. Need to update the config logic to finish
A number of bugs were recorded against this page which features an editable list of networks. There are several other pages that work the same way. There is an underlying method in the O-O framework: “enableDuplication()” which can automatically add “clone” and “delete buttons” as well as replicate the selected table row.
Unfortunately the more I looked at the code, the more issues I found. Amongst other things:
The most efficient way to deal with all of this was to start over and create a new design which is sufficiently flexible to be used on all of the required pages, and which does not suffer from any of the above. I completed that yesterday/today and am documenting it on the WIki now. In a few minutes I will push the new services_unbound_acs.php and look forward to your review.
Once you have taken it for a spin I will update the other pages that use the same construct.