Seeking advice on debugging webgui - testing patch, hanging in interfaces.php
-
I'm testing a patch of interfaces.inc for 2.4 beta. Webgui is hanging when applying wan disable and interface release. It also occasionally disconnects for a minute or two. All I can tell from the chrome console is that it's hanging in interfaces.php. If I leave it alone, it eventually times out (after 500 seconds). If I click on X to stop loading the page, then refresh the page, I can see that the wan disable or interface release actually happened as it's supposed to. Similarly, if I have another webgui session open, I can see that the wan disable or interface release actually happened. For some reason, it's not completing.
I need to find out where in interfaces.php (likely within interfaces.inc) it's hanging so it can be fixed.
I tried inserting error_log (‘text”, 0); into various locations within interfaces.php, but due to the size, it will take a long time to find a problem this way. I'm not a php developer so I don't know how to debug it. I would appreciate suggestions from anyone who knows how to do this.
I'd also be willing to have some who knows what they are doing take a look using teamviewer.