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

Dashboard does not save settings

Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
30 Posts 7 Posters 14.5k 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.
  • P
    Perry
    last edited by Jul 23, 2008, 5:48 PM

    Now that is even stranger than before. The config is in no way session based. Once you save the dashboard its written to the config. I would remove the entire <widget>entry in your config and see how that works. Sounds like your config is really messed up somehow.</widget>

    I thought the same, that was why i did a reinstall from a 1.2 cd to snapshot. But let's see if others confirms it or i find a empty cd so i can burn a image :).

    /Perry
    doc.pfsense.org

    1 Reply Last reply Reply Quote 0
    • M
      mrzaz
      last edited by Jul 23, 2008, 7:00 PM Jul 23, 2008, 6:18 PM

      I tend to agree with Perry.  I think I spoke to soon.

      1. I removed the old "broken" settings in config.xml and rebooted.
      2. I now get the default 3 widgets and the config.xml is empty with widget data.
      3. I added some extra items to dashboard and saved. (saw in config.xml that it is saved OK)
      4. I then rebooted the machine again and when I logged in it was back to before square 1
      with no data on the dashboard and the config.xml was:

      5. I then edited the config.xml again and removed the whole widgets section and rebooted.
      6. I now get the default 3 widgets and the config.xml is empty with widget data.
      7. I added some extra items to dashboard and saved. (saw in config.xml that it is saved OK)
      8. Closed the FF window and open it again. (didn't have to give password !?)  Dashboard intact with my saved data.
      9. Closed the FF window and logged in using IE (this time I had to enter user/psw) and used same
      as in FF.  (admin/pfsense) and NOW we are back to square 1 again.  No data on dashboard
      and the config file shows:

      Conclusion:
      It feels like something is saving widget data to config.xml once to many with empty data
      when you login.

      It corrupts the widget data somehow between sessions.

      ///Dan Lundqvist

      Ps. I will try again with the latest ALPHA-20080723-1247.tgz to see if anything is different. Get back with result.

      Updates on ALPHA-20080723-1247:

      • Now I can see that your functions is removing the invalid widget setting (and the default dashboard is presented).
      • I then added an extra item on dash and saved.  config.xml shows the corrected save-data.
      • I then closed the browser window and opened up IE and logged in again.
      • Now i'm back to the default dash (as something has corrupted the data again and your function has kicked
        in to remove the faulty data.)
        And now the "Traffic Graphs" widget has broken images.
      1 Reply Last reply Reply Quote 0
      • D
        dotdash
        last edited by Jul 23, 2008, 6:51 PM

        Tested by loading a new card with pfSense-20080723-1145.img
        Seeing the same behavior as Perry. Getting a default page with Sys Info, Interfaces, Traffic Graphs. (Used to have Sys Info and the welcome to dashboard wizard). When I add say, service status, it's gone the next time I log in.

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

          Ok, I'm able to duplicate this issue and will take a look into it soon.

          1 Reply Last reply Reply Quote 0
          • E
            eri--
            last edited by Jul 24, 2008, 11:13 AM

            Can you all confirm that this fixes the problems.

            Diagnostics->Edit File /usr/local/www/index.php
            go to line 141 or search for _POST and change from
            141 if ($_POST){

            to
            141 if ($_POST && $_POST['submit']){

            Report back so i can fix it in CVS too.

            1 Reply Last reply Reply Quote 0
            • P
              Perry
              last edited by Jul 24, 2008, 11:28 AM

              Yes that did it  ;)

              /Perry
              doc.pfsense.org

              1 Reply Last reply Reply Quote 0
              • Y
                yoda715
                last edited by Jul 24, 2008, 1:09 PM

                @ermal:

                Can you all confirm that this fixes the problems.

                Diagnostics->Edit File /usr/local/www/index.php
                go to line 141 or search for _POST and change from
                141 if ($_POST){

                to
                141 if ($_POST && $_POST['submit']){

                Report back so i can fix it in CVS too.

                Thanks Ermal! That's interesting why it needs that now. I would say lets modify it to only "if($_POST['submit']){…."

                1 Reply Last reply Reply Quote 0
                • D
                  dotdash
                  last edited by Jul 24, 2008, 2:26 PM

                  The fix seems to be working on my system- I logged out and back in and the dashboard settings are retained. Thanks Ermal

                  1 Reply Last reply Reply Quote 0
                  • S
                    sullrich
                    last edited by Jul 24, 2008, 4:30 PM

                    I have commited Ermals suggestion.  Thanks Ermal

                    1 Reply Last reply Reply Quote 0
                    • M
                      mrzaz
                      last edited by Jul 24, 2008, 5:49 PM

                      Have done the change and it seems to work for me as well…

                      ///Dan Lundqvist

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