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

Fatal error: Cannot redeclare display_widget_tabs()

Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
8 Posts 2 Posters 4.6k 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.
  • M
    Monoecus
    last edited by Jul 8, 2008, 6:35 PM

    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?

    1 Reply Last reply Reply Quote 0
    • Y
      yoda715
      last edited by Jul 9, 2008, 8:17 PM Jul 9, 2008, 6:28 PM

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

      1 Reply Last reply Reply Quote 0
      • M
        Monoecus
        last edited by Jul 9, 2008, 9:43 PM

        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.

        1 Reply Last reply Reply Quote 0
        • Y
          yoda715
          last edited by Jul 9, 2008, 10:38 PM

          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"?

          1 Reply Last reply Reply Quote 0
          • M
            Monoecus
            last edited by Jul 10, 2008, 3:12 PM

            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.

            1 Reply Last reply Reply Quote 0
            • Y
              yoda715
              last edited by Jul 11, 2008, 12:15 AM

              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?

              1 Reply Last reply Reply Quote 0
              • M
                Monoecus
                last edited by Jul 11, 2008, 7:41 AM

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

                1 Reply Last reply Reply Quote 0
                • Y
                  yoda715
                  last edited by Jul 11, 2008, 4:58 PM

                  @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.

                  1 Reply Last reply Reply Quote 0
                  8 out of 8
                  • First post
                    8/8
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received