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

    Rev 6799 can't add or modify snapin, blank page

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    22
    6.1k
    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
      theWizard @Tom Elliott
      last edited by

      @Tom-Elliott
      I’m not sure what to try except checking permissions and fog credentials which seemed ok, log consists of the following entries

      [Fri Mar 18 11:26:11.753589 2016] [:error] [pid 4166] [client 135.100.92.153:52730] PHP Parse error: syntax error, unexpected ‘$FOGCore’ (T_VARIABLE) in /var/www/fog/service/Post_Stage3.php on line 80
      [Fri Mar 18 11:25:47.515339 2016] [:error] [pid 4351] [client 135.100.0.3:50110] PHP Strict Standards: Accessing static property FOGPageManager::$FOGSubMenu as non static in /var/www/fog/lib/fog/fogpagemanager.class.php on line 35, referer: http://135.100.5.9/fog/management/index.php?node=about
      [Fri Mar 18 11:25:13.122801 2016] [:error] [pid 4111] [client 135.100.0.3:50081] PHP Strict Standards: Accessing static property FOGPageManager::$FOGSubMenu as non static in /var/www/fog/lib/fog/fogpagemanager.class.php on line 35, referer: http://135.100.5.9/fog/management/index.php?node=snapin&sub=list
      [Fri Mar 18 11:25:04.685751 2016] [:error] [pid 4259] [client 135.100.0.3:50080] PHP Strict Standards: Accessing static property FOGPageManager::$FOGSubMenu as non static in /var/www/fog/lib/fog/fogpagemanager.class.php on line 35, referer: http://135.100.5.9/fog/management/index.php?node=snapin
      [Fri Mar 18 11:21:17.673032 2016] [:error] [pid 4165] [client 135.100.0.3:50024] PHP Fatal error: Call to a member function chdir() on null in /var/www/fog/lib/fog/fogbase.class.php on line 73, referer: http://135.100.5.9/fog/management/index.php?node=snapin&sub=list

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

        Can you update and see if this is still happening? I found the line 80 issue and fixed that as well.

        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

        T 1 Reply Last reply Reply Quote 0
        • T
          theWizard @Tom Elliott
          last edited by

          @Tom-Elliott
          Just updated logs now consist of

          PHP Strict Standards: Accessing static property MySQL::$info as non static in /var/www/fog/lib/fog/fogbase.class.php on line 145
          [Fri Mar 18 11:48:39.837968 2016] [:error] [pid 9357] [client 192.168.220.138:53284] PHP Strict Standards: Accessing static property Module::$info as non static in /var/www/fog/lib/fog/fogbase.class.php on line 145
          [Fri Mar 18 11:48:39.834386 2016] [:error] [pid 6566] [client 135.100.90.121:51631] PHP Strict Standards: Accessing static property User::$debug as non static in /var/www/fog/lib/fog/fogbase.class.php on line 129
          [Fri Mar 18 11:48:39.834197 2016] [:error] [pid 9356] [client 135.100.92.23:50115] PHP Strict Standards: Accessing static property Image::$info as non static in /var/www/fog/lib/fog/fogbase.class.php on line 145
          [Fri Mar 18 11:48:39.834010 2016] [:error] [pid 9356] [client 135.100.92.23:50115] PHP Strict Standards: Accessing static property MACAddressAssociation::$info as non static in /var/www/fog/lib/fog/fogbase.class.php on line 145
          [Fri Mar 18 11:48:39.833238 2016] [:error] [pid 9356] [client 135.100.92.23:50115] PHP Strict Standards: Accessing static property Host::$info as non static in /var/www/fog/lib/fog/fogbase.class.php on line 145
          [Fri Mar 18 11:48:39.831689 2016] [:error] [pid 9307] [client 135.100.21.41:51611] PHP Strict Standards: Accessing static property User::$debug as non static in /var/www/fog/lib/fog/fogbase.class.php on line 129

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

            @theWizard Both the info and debug are now updated.

            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

            T 1 Reply Last reply Reply Quote 0
            • T
              theWizard @Tom Elliott
              last edited by

              @Tom-Elliott

              I’m sure this will drive you crazy lol

              [Fri Mar 18 12:10:38.780928 2016] [:error] [pid 10927] [client 135.100.0.3:50864] PHP Fatal error: Call to a member function chdir() on null in /var/www/fog/lib/fog/fogbase.class.php on line 73, referer: http://135.100.5.9/fog/management/index.php?node=snapin&sub=list
              [Fri Mar 18 12:07:46.554378 2016] [:error] [pid 10942] [client 135.100.5.9:35770] PHP Fatal error: Call to a member function chdir() on null in /var/www/fog/lib/fog/fogbase.class.php on line 73, referer: http://135.100.5.9/fog/management/index.php?node=snapin&sub=list
              [Fri Mar 18 12:07:17.674296 2016] [:error] [pid 11050] [client 135.100.5.9:35286] PHP Strict Standards: Only variables should be passed by reference in /var/www/fog/lib/pages/dashboardpage.class.php on line 71, referer: http://135.100.5.9/fog/management/index.php?node=home
              [Fri Mar 18 12:05:04.283275 2016] [mpm_prefork:error] [pid 10874] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
              [Fri Mar 18 12:04:52.829301 2016] [core:notice] [pid 10874] AH00094: Command line: ‘/usr/sbin/apache2’

              [Fri Mar 18 12:04:00.880604 2016] [:error] [pid 9554] [client 135.100.28.240:50890] PHP Strict Standards: Accessing static property Module::$info as non static in /var/www/fog/lib/fog/fogbase.class.php on line 145
              [Fri Mar 18 12:04:00.883634 2016] [:error] [pid 9672] [client 135.100.90.46:52465] PHP Strict Standards: Accessing static property User::$debug as non static in /var/www/fog/lib/fog/fogbase.class.php on line 129
              [Fri Mar 18 12:04:01.242404 2016] [mpm_prefork:notice] [pid 6260] AH00169: caught SIGTERM, shutting down
              [Fri Mar 18 12:04:52.829262 2016] [mpm_prefork:notice] [pid 10874] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured – resuming normal operations
              [Fri Mar 18 12:04:52.829301 2016] [core:notice] [pid 10874] AH00094: Command line: ‘/usr/sbin/apache2’
              [Fri Mar 18 12:05:04.283275 2016] [mpm_prefork:error] [pid 10874] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
              [Fri Mar 18 12:07:17.674296 2016] [:error] [pid 11050] [client 135.100.5.9:35286] PHP Strict Standards: Only variables should be passed by reference in /var/www/fog/lib/pages/dashboardpage.class.php on line 71, referer: http://135.100.5.9/fog/management/index.php?node=home
              [Fri Mar 18 12:07:46.554378 2016] [:error] [pid 10942] [client 135.100.5.9:35770] PHP Fatal error: Call to a member function chdir() on null in /var/www/fog/lib/fog/fogbase.class.php on line 73, referer: http://135.100.5.9/fog/management/index.php?node=snapin&sub=list

              1 Reply Last reply Reply Quote 0
              • J
                jayphizzle
                last edited by

                I have a similar problem. Clicking at “Create New Snapin” brings a sever error 500.
                Apache log show the following error:

                [Fri Mar 18 14:53:59.605058 2016] [:error] [pid 17646] [client 10.xx.xx.xx:52947] PHP Fatal error:  Call to a member function chdir() on null in /var/www/html/fog/lib/fog/fogbase.class.php on line 73, referer: http://10.xx.xx.xx/fog/management/index.php?node=snapin
                

                I did not created any snapins so i can not test if “List All Snapins” brings a error 500 too.
                (Without snapins “List All Snapins” is working so far)

                Running latest Version 6811.
                What i noticed since a few updates: When i follow the instructions during the update i get no possibility to update the db schema.
                I only get the normal log screen. Is this correct?

                 * You still need to install/update your database schema.
                 * This can be done by opening a web browser and going to:
                
                   http://10.xx.xx.xx/fog/management
                
                 * Press [Enter] key when database is updated/installed.
                
                Tom ElliottT 1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @jayphizzle
                  last edited by

                  @jayphizzle It will only show a database update screen if there’s a database update to be performed. The warning you see there is just to ensure that you check the browser. You can just add the -y argument to the installer and it will do everything without prompting you (including updating db if there is a db 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

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

                    Please update again and let me know if things are any better. I moved the ftpfilesonly function to the snapin management page. When it’s called it should have it’s proper variables set then.

                    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

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      theWizard @Tom Elliott
                      last edited by

                      @Tom-Elliott
                      Confirmed i can now access the snapins to edit, thank you very much 😄

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        jayphizzle @theWizard
                        last edited by

                        @theWizard said:

                        @Tom-Elliott
                        Confirmed i can now access the snapins to edit, thank you very much 😄

                        👍 It is working for me too!

                        Thx @tom-elliot for another quick fix!

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          Claude Girard @jayphizzle
                          last edited by

                          Yes it’s ok for me too.

                          But I don’t know if you wanted that, now when I create or modify a snapin, I have no more choice box, for choosing what file present on server I want to use.
                          I can only upload.
                          so I can’t create a snapin from another one without downloading file, then reuploading it

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

                            @Claude-Girard Does the file actually exist on the node master that it’s uploaded too?

                            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 1 Reply Last reply Reply Quote 0
                            • C
                              Claude Girard @Tom Elliott
                              last edited by

                              @Tom-Elliott Yes. It exist.
                              On this screen capture is what I can see.
                              And when I create or update the snapin, if I download the file on my computer, and choose it for re-upload, on my server group owner for this file become “fog”, before it was “www-data”

                              0_1458317759282_Capture d’écran_2016-03-18_17-07-45.png

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

                                I may have made a bit of regression into this issue. I only state this because I’m trying to maintain the list and make the functions that handle it work properly.

                                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

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

                                  Fairly sure this is still fixed, and with the added benefit of properly getting the snapins from all nodes within.

                                  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 1 Reply Last reply Reply Quote 0
                                  • C
                                    Claude Girard @Tom Elliott
                                    last edited by

                                    @Tom-Elliott said:

                                    Fairly sure this is still fixed, and with the added benefit of properly getting the snapins from all nodes within.

                                    Sorry but Rev 6885, again blank page in create snapin and edit snapin.

                                    Apache error log (same error in crating or in editing snapin):

                                    [Mon Mar 21 08:33:21.445380 2016] [:error] [pid 2066] [client 172.20.40.1:39732] PHP Fatal error: Call to a member function chdir() on null in /var/www/html/fog/lib/fog/fogbase.class.php on line 74, referer: http://crim-fog.pu-pm.univ-fcomte.fr/fog/management/index.php?node=snapin&sub=list

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

                                      @Claude-Girard Should be fixed in latest.

                                      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 1 Reply Last reply Reply Quote 0
                                      • C
                                        Claude Girard @Tom Elliott
                                        last edited by

                                        @Tom-Elliott
                                        Yes solved
                                        Thank you

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

                                        261

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project