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

    Error after upgrade

    Problems Installing or Upgrading pfSense Software
    5
    5
    3.8k
    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.
    • C
      cmdrcrank
      last edited by

      Click on VPN->OpenVPN to see this little error message:

      Fatal error: Can't use function return value in write context in /usr/local/www/vpn_openvpn_server.php on line 805

      To make matters worse the restore from complete backup option in the Firmware menu does not work, so I am stuck with this "upgrade" which prohibits me from managing my OpenVPN configuration.

      Please fix this ASAP.  Thank you.

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

        Fatal error: Can't use function return value in write context in /usr/local/www/vpn_openvpn_server.php on line 805

        I can't make this error happen on my systems. It was reported here also: https://forum.pfsense.org/index.php?topic=92616.0
        That error should not happen in PHP 5.5.n
        Please look on that thread and give any information about your system that might be useful in replicating the problem and finding a fix.

        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

          The upgrade didn't fully complete. Bring up the console, go to option 8, and run:

          chown -R root:wheel /
          

          Then reboot. It'll be fine after booting back up again.

          1 Reply Last reply Reply Quote 0
          • W
            Waldoman
            last edited by

            @cmb:

            The upgrade didn't fully complete. Bring up the console, go to option 8, and run:

            chown -R root:wheel /
            

            Then reboot. It'll be fine after booting back up again.

            This worked, Thank you so much, been fighting with it.

            1 Reply Last reply Reply Quote 0
            • Q
              qosit
              last edited by

              @Waldoman:

              @cmb:

              The upgrade didn't fully complete. Bring up the console, go to option 8, and run:

              chown -R root:wheel /
              

              Then reboot. It'll be fine after booting back up again.

              This worked, Thank you so much, been fighting with it.

              Thanks it works for me too
              Just don't forget to clean your browser cache before going into openvpn server ;)

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