• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Unable to get subsection and error: (500)

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    7
    21
    10.2k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      I don’t think it’s related. What’s in your apache error logs?

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • C
        Curtis Allworth
        last edited by

        I’m seeing the following in the Apache error log…

        [Thu May 12 15:10:39 2016] [error] [client 192.168.6.105] PHP Fatal error: Function name must be a string in /var/www/html/fog/lib/client/printerclient.class.php on line 7
        [Thu May 12 15:10:13 2016] [error] [client 192.168.6.105] PHP Fatal error: Function name must be a string in /var/www/html/fog/lib/client/printerclient.class.php on line 7
        [Thu May 12 15:09:56 2016] [error] [client 192.168.6.104] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 197, referer: http://fogsrvr.vanfcog.org/fog/management/index.php?node=host&sub=edit&id=138
        [Thu May 12 15:01:09 2016] [error] [client 192.168.6.105] File does not exist: /var/www/html/favicon.ico, referer: http://fogsrvr/fog/project
        [Thu May 12 15:01:09 2016] [error] [client 192.168.6.105] File does not exist: /var/www/html/fog/project
        [Thu May 12 14:57:41 2016] [error] [client 192.168.6.105] PHP Fatal error: Function name must be a string in /var/www/html/fog/lib/client/printerclient.class.php on line 7
        [Thu May 12 14:55:49 2016] [error] [client 192.168.6.105] PHP Fatal error: Function name must be a string in /var/www/html/fog/lib/client/printerclient.class.php on line 7
        [Thu May 12 14:54:21 2016] [error] [client 192.168.6.105] PHP Fatal error: Function name must be a string in /var/www/html/fog/lib/client/printerclient.class.php on line 7
        

        Of those errors the “PHP Fatal error: Function name must be a string in /var/www/html/fog/lib/client/printerclient.class.php on line 7” appears in the log probably a few hundred times.

        Tom ElliottT 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @Curtis Allworth
          last edited by

          @Curtis-Allworth Please update and try again, should work.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          C M 2 Replies Last reply Reply Quote 1
          • C
            Curtis Allworth @Tom Elliott
            last edited by

            @Tom-Elliott Thank you so much! That resolved it.

            1 Reply Last reply Reply Quote 0
            • M
              MadsMagnus @Tom Elliott
              last edited by

              @Tom-Elliott

              I am getting this error too. When you say update, do you mean the server or client services?

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @MadsMagnus
                last edited by

                @MadsMagnus If the server is giving this issue (which it is), then update the server.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                M Greg PlamondonG 2 Replies Last reply Reply Quote 0
                • M
                  MadsMagnus @Tom Elliott
                  last edited by

                  @Tom-Elliott

                  I see nothing in my apache2 log since monday… Quite strange.

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @MadsMagnus
                    last edited by

                    @MadsMagnus What do you mean?

                    Did you update?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    M 2 Replies Last reply Reply Quote 0
                    • M
                      MadsMagnus @Tom Elliott
                      last edited by

                      @Tom-Elliott

                      Literally my apache2 log does not have a new post since monday… A lot has happened since monday ^^ But I probably got the FOG server running properly there.

                      I will snapshot my VM and give it an update.

                      1 Reply Last reply Reply Quote 0
                      • Greg PlamondonG
                        Greg Plamondon Testers @Tom Elliott
                        last edited by

                        @Tom-Elliott said in Unable to get subsection and error: (500):

                        @MadsMagnus If the server is giving this issue (which it is), then update the server.

                        Worked for me, Thanks.

                        1 Reply Last reply Reply Quote 0
                        • M
                          MadsMagnus @Tom Elliott
                          last edited by

                          @Tom-Elliott

                          Server updated to 7907 but still the same… Does the newest trunk have an updated FOGservice aswell?

                          Unable to get subsection
                          Object reference not set to an instance of an object
                          Unable to run module
                          Object reference not set to an instance of an object

                          1 Reply Last reply Reply Quote 0
                          • J
                            Joe Schmitt Senior Developer
                            last edited by

                            @MadsMagnus, the client hasn’t been updated yet. I verified and the latest revision (7931) sends all of the correct data to the client. 7907 should as well. More than likely there’s and Authentication section in your fog.log file which will state it failed to authenticate (probably an invalid security token). Try “Resetting Encryption Data” for the computer having this issue?

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                            M 1 Reply Last reply Reply Quote 1
                            • M
                              MadsMagnus @Joe Schmitt
                              last edited by

                              @Joe-Schmitt

                              Not exactly sure what you mean by that.

                              But I do see this in the log:
                              Authentication ERROR: Could not get security token
                              Authentication ERROR: Could not find file C:\Program Files (x86)\FOG\token.dat

                              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                              • U
                                URfog
                                last edited by

                                Same for me

                                Version 7937 Debian 8

                                SERVER

                                OS: Debian 9.6
                                Fog version: FOG 1.5.5

                                1 Reply Last reply Reply Quote 0
                                • Wayne WorkmanW
                                  Wayne Workman @MadsMagnus
                                  last edited by

                                  @MadsMagnus The “reset encryption” can be done from the host’s general menu, it’s a huge button at the top that says “reset encryption data”. You can also do this via groups using the same method.

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                  Daily Clean Installation Results:
                                  https://fogtesting.fogproject.us/
                                  FOG Reporting:
                                  https://fog-external-reporting-results.fogproject.us/

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    MadsMagnus @Wayne Workman
                                    last edited by

                                    @Wayne-Workman

                                    This worked perfectly. Now the log just says:

                                    “Users still logged in and enforce is disabled, delaying any further actions”

                                    I cannot seem to find a solution to this, let alone understand what they mean by “enforce”

                                    1 Reply Last reply Reply Quote 0
                                    • U
                                      URfog
                                      last edited by

                                      I use FOG_ENFORCE_HOST_CHANGES in the Active Directory Defaults Section.

                                      Perhaps that …

                                      SERVER

                                      OS: Debian 9.6
                                      Fog version: FOG 1.5.5

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        MadsMagnus @URfog
                                        last edited by

                                        @URfog

                                        Yeah maybe it will work if I am part of an AD, but the machine I am testing this on is the Windows image - so no AD for this bad boy.

                                        1 Reply Last reply Reply Quote 0
                                        • Wayne WorkmanW
                                          Wayne Workman
                                          last edited by Wayne Workman

                                          Asking @joe-schmitt to take a second look. In the mean time, @MadsMagnus please post a newer log.

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                          Daily Clean Installation Results:
                                          https://fogtesting.fogproject.us/
                                          FOG Reporting:
                                          https://fog-external-reporting-results.fogproject.us/

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            MadsMagnus @Wayne Workman
                                            last edited by

                                            @Wayne-Workman

                                            I just tried adding some real hosts (non VM), they are renaming just fine.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            167

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project