Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Seeking advice on debugging webgui - testing patch, hanging in interfaces.php

    Scheduled Pinned Locked Moved webGUI
    1 Posts 1 Posters 464 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bimmerdriver
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.