Fatal error: Cannot redeclare display_widget_tabs()



  • At first glance, almost everything worked beautifully. However, after trying to redefine the interfaces I just got a mess. Current message:

    Fatal error: Cannot redeclare display_widget_tabs() (previously declared in /usr/local/www/index.php:195) in /usr/local/www/guiconfig.inc on line 817

    Any ideas?



  • What's the version/build date of pfsense that you are using?



  • Good question. Sorry I forgot to mention it. It must have been the version from yesterday, probably pfSense-Full-Update-1.3-ALPHA-ALPHA-20080708-1509.tgz

    But honestly, I cannot tell you anymore.



  • Hmm, that is very strange. That function is not declared anywhere else. Only thing I can figure is a rogue file was left behind when you upgraded. Can you give me a better description of "trying to redefine the interfaces"?



  • I have an additional interface included on my motherboard that did not work under 1.2 because of a lack of the nfe driver for that card in FreeBSD 6.1. So, I run WAN and LAN on two separate interfaces using the rl driver.

    WAN -> rl1
    LAN -> rl0

    After upgrading to 1.3 ALPHA everything was still running fine. But when I reassigned the interfaces such as:

    WAN -> rl1
    LAN -> nfe0
    OPT -> rl0

    things turned very bad.



  • That makes no sense. Widget_tabs have nothing to do with interfaces. At the moment, only the IPSEC widget calls the widget_tab function, so that is the only widget that would even remotely cause an error like that.

    Did you upgrade from 1.2 directly to 1.3 alpha? If so, did you remove the dashboard package before upgrading to 1.3?



  • Yes, I upgraded directly to 1.3 but I did not remove dashboard. Maybe it has to do with this.



  • @Monoecus:

    Yes, I upgraded directly to 1.3 but I did not remove dashboard. Maybe it has to do with this.

    That's probably what happened. I have noticed that if the dashboard package is not removed before upgrading that can cause issues.


Log in to reply