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

    how can i fix this error in he process of building source code

    Development
    3
    6
    851
    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.
    • T
      Tewodros
      last edited by

      PHP Warning: include_once(phpsessionmanager.inc): failed to open stream: No such file or directory in /home/ras/pfsesnse/pfsense/src/usr/local/www/guiconfig.inc on line 31
      PHP Warning: include_once(): Failed opening 'phpsessionmanager.inc' for inclusion (include_path='.:/usr/share/php') in /home/ras/pfsesnse/pfsense/src/usr/local/www/guiconfig.inc on line 31
      PHP Notice: Undefined variable: nocsrf in /home/ras/pfsesnse/pfsense/src/usr/local/www/guiconfig.inc on line 37
      PHP Warning: include_once(phpsessionmanager.inc): failed to open stream: No such file or directory in /home/ras/pfsesnse/pfsense/src/usr/local/www/csrf/csrf-magic.php on line 16
      PHP Warning: include_once(): Failed opening 'phpsessionmanager.inc' for inclusion (include_path='.:/usr/share/php') in /home/ras/pfsesnse/pfsense/src/usr/local/www/csrf/csrf-magic.php on line 16
      PHP Notice: Undefined index: REQUEST_METHOD in /home/ras/pfsesnse/pfsense/src/usr/local/www/csrf/csrf-magic.php on line 187
      PHP Notice: Undefined index: REQUEST_METHOD in /home/ras/pfsesnse/pfsense/src/usr/local/www/guiconfig.inc on line 46
      PHP Notice: Undefined variable: omit_nocacheheaders in /home/ras/pfsesnse/pfsense/src/usr/local/www/guiconfig.inc on line 52
      PHP Warning: require_once(authgui.inc): failed to open stream: No such file or directory in /home/ras/pfsesnse/pfsense/src/usr/local/www/guiconfig.inc on line 59
      PHP Fatal error: require_once(): Failed opening required 'authgui.inc' (include_path='.:/usr/share/php') in /home/ras/pfsesnse/pfsense/src/usr/local/www/guiconfig.inc on line 59
      Screenshot from 2020-02-24 14-40-59.png

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

        The pfSense PHP code isn't code that can be "compiled" in that way. It won't work on Windows either.

        pfSense is its own operating system. If you are trying to build a custom image, that must be done in FreeBSD using all of the necessary repositories (pfSense, freebsd-ports, freebsd-src).

        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!

        T 1 Reply Last reply Reply Quote 0
        • T
          Tewodros @jimp
          last edited by

          @jimp u mean that i must used freeBSD operating system
          i don't get it

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

            What exactly are you trying to do?

            What is your goal?

            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!

            T 1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan
              last edited by

              @Tewodros : Fire up www.google.com and ask the right question.
              You'll find info like https://github.com/PiBa-NL/PiBa-NL-WIKI/wiki/How-to-building-a-pfSense-.iso-from-sources with many answers.
              Still, building OS's yourself presumes that you all ready know the basics needed to do such a thing.

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • T
                Tewodros @jimp
                last edited by

                @jimp i try to to customize the code for my Owen purpose still it don't run after i gate the code

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