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

    Cant edit some files in www folder using edit file

    Scheduled Pinned Locked Moved 2.2.5 Snapshot Feedback and Issues
    44 Posts 7 Posters 13.9k 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.
    • X
      xbipin
      last edited by

      i mounted CF as RW permanent and then tried using ee to edit the system.php and then it edits fine but when i do it from edit file in gui it doesnt so i guess something wrong in the GUI in some php function or so which could be the cause of config also not restoring

      even tried using winscp and am able to edit any file

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        I can't reproduce this here on my ALIX. On the current 2.2.5 snap I can edit /usr/local/www/system.php and the edit works fine.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • X
          xbipin
          last edited by

          how do we enable debugging in lighthttpd to figure out what is actually happening because no errors appear anywhere so its difficult to figure out whats going wrong

          1 Reply Last reply Reply Quote 0
          • R
            robi
            last edited by

            Maybe clearing your browser's cache or starting with a new browser on a new PC would help…

            1 Reply Last reply Reply Quote 0
            • X
              xbipin
              last edited by

              i tried on chrome, firefox and internet explorer

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                1 Reply Last reply Reply Quote 0
                • X
                  xbipin
                  last edited by

                  from browsers on my PC as well as LAN it doesnt work so i tried even from my mobile and its strange but that works

                  1 Reply Last reply Reply Quote 0
                  • D
                    doktornotor Banned
                    last edited by

                    We've been trying to point you to the fact that this ain't a reproducible pfSense issue for anyone but you. Perhaps, reinstall your broken workstation instead.

                    1 Reply Last reply Reply Quote 0
                    • X
                      xbipin
                      last edited by

                      well if the workstation is broken then y does the same browser and same PC edit those files all fine on 2.2.4

                      1 Reply Last reply Reply Quote 0
                      • D
                        doktornotor Banned
                        last edited by

                        See suggestion right above. This issue doesn't reproduce anywhere but on your haunted premisses.

                        1 Reply Last reply Reply Quote 0
                        • R
                          robi
                          last edited by

                          @xbipin:

                          from browsers on my PC as well as LAN it doesnt work so i tried even from my mobile and its strange but that works

                          Ok, seems there's an issue with your browsers then. Try clearing all cache, all cookies, disable all plugins/extensions.

                          1 Reply Last reply Reply Quote 0
                          • C
                            cmb
                            last edited by

                            @robi:

                            Ok, seems there's an issue with your browsers then. Try clearing all cache, all cookies, disable all plugins/extensions.

                            Good advice. Incognito mode tab in Chrome/similar in other browsers that doesn't load any extensions, and doesn't use your cache a good option.

                            1 Reply Last reply Reply Quote 0
                            • X
                              xbipin
                              last edited by

                              i tried cleaning cache, cookies and switching to private window in firefox but on this machines browsers it doesnt seem to work, currently works from my tablet browsers so using that for now

                              1 Reply Last reply Reply Quote 0
                              • jimpJ
                                jimp Rebel Alliance Developer Netgate
                                last edited by

                                It could be something on the system as a whole that is affecting web traffic (e.g. client AV, local ad filtering software/proxy, etc) – I think we've all pretty effectively eliminated the firewall as a possible cause unless it's something that was done to the firewall that wasn't a part of the normal base system.

                                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                Need help fast? Netgate Global Support!

                                Do not Chat/PM for help!

                                1 Reply Last reply Reply Quote 0
                                • X
                                  xbipin
                                  last edited by

                                  i believe its something to do with the java script on the edit file page coz same system and browser i boot a fresh 2.2.4 and it works and then try on a fresh 2.2.5 it works only for some files that too outside the www folder.

                                  one other thing i noticed today is suppose i goto edit file and edit some file and being on same page edit some other file that too will edit but then on the 3rd try it wont, so its like the first 2 files i edit it works and then then any 3rd file and it doesnt

                                  1 Reply Last reply Reply Quote 0
                                  • X
                                    xbipin
                                    last edited by

                                    i found this bug report for 2.3 so it it whats also causing on 2.2.5

                                    https://redmine.pfsense.org/issues/5234

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      phil.davis
                                      last edited by

                                      @xbipin:

                                      i found this bug report for 2.3 so it it whats also causing on 2.2.5

                                      https://redmine.pfsense.org/issues/5234

                                      That was properly broken code in the bootstrap conversion - the Save button was there but did nothing for any file.

                                      As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                                      If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        cmb
                                        last edited by

                                        @phil.davis:

                                        @xbipin:

                                        i found this bug report for 2.3 so it it whats also causing on 2.2.5

                                        https://redmine.pfsense.org/issues/5234

                                        That was properly broken code in the bootstrap conversion - the Save button was there but did nothing for any file.

                                        Yes, that was a bootstrap issue which only impacted 2.3.

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