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

    Web interface will not load at /fog/management/index.php

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    24
    16.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.
    • M
      Matt Derrick
      last edited by

      Upgraded to latest svn release. 3658. Web interface will not load to update schema or login. Apache error log shows. “PHP Fatal error: Cannot create reference to elements of a temporary array expression in /var/www/fog/lib/fog/FOGBase.class.php on line 297”

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

        @Matt-Derrick said:

        orary array expression in /var/www/fog/lib/fog/FOGBase.class.php on line 297”

        I’m on 3658 right now… it’s working for me.

        Have you customized any files?

        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/

        1 Reply Last reply Reply Quote 0
        • M
          Matt Derrick
          last edited by

          Nope. No customization at all.

          1 Reply Last reply Reply Quote 0
          • ch3iC
            ch3i Moderator @Matt Derrick
            last edited by

            @Matt-Derrick Hi, can you post your apache log ?

            1 Reply Last reply Reply Quote 0
            • M
              Matt Derrick
              last edited by

              I think I have it here.

              ch3iC 1 Reply Last reply Reply Quote 0
              • M
                Matt Derrick
                last edited by

                error.log

                ch3iC 1 Reply Last reply Reply Quote 0
                • ch3iC
                  ch3i Moderator @Matt Derrick
                  last edited by

                  @Matt-Derrick said:

                  I think I have it here.

                  I have not seen…

                  M 1 Reply Last reply Reply Quote 0
                  • ch3iC
                    ch3i Moderator @Matt Derrick
                    last edited by

                    @Matt-Derrick I have not my FOG here, I’ll test/check tomorrow.

                    1 Reply Last reply Reply Quote 0
                    • M
                      Matt Derrick @ch3i
                      last edited by

                      From what I am seeing there was some foreach statements added and either the & is in the wrong place or is not needed. Not a programmer but looking at the github entry that was the change made from 3657 to 3658 and if I removed the & on that line of code it goes further but gives me the same error further along on the file.

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

                        @Matt-Derrick

                        How about trying to reinstall ?

                        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/

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

                          Can you try updating and see if this still occurs?

                          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 1 Reply Last reply Reply Quote 0
                          • M
                            Matt Derrick @Tom Elliott
                            last edited by

                            @Tom-Elliott Just updated to 3660. Same problem. New error in apache error log. PHP Fatal error: Cannot create references to elements of a temporary array expression in /var/www/fog/lib/fog/FOGBase.class.php on line 299

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

                              @Matt-Derrick Maybe now?

                              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 1 Reply Last reply Reply Quote 0
                              • M
                                Matt Derrick @Tom Elliott
                                last edited by

                                @Tom-Elliott new error: PHP Fatal error: Cannot create references to elements of a temporary array expression in /var/www/fog/lib/fog/FOGBase.class.php on line 406

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

                                  @Matt-Derrick What distro and version of Linux are you running?

                                  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
                                    Matt Derrick @Wayne Workman
                                    last edited by

                                    @Wayne-Workman Ubuntu 12.04

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

                                      What version of php?
                                      sudo php -v

                                      Can you try latest and tell me where the next error occurs?

                                      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 1 Reply Last reply Reply Quote 0
                                      • M
                                        Matt Derrick @Tom Elliott
                                        last edited by

                                        @Tom-Elliott
                                        PHP 5.3.10-1ubuntu3.18 with Suhosin-Patch (cli) (built: Apr 17 2015 15:11:25)

                                        PHP Parse error: syntax error, unexpected ‘&’ in /var/www/fog/lib/fog/FOGBase.class.php on line 411

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

                                          @Matt-Derrick can you try Running sudo apt-get update;sudo apt-get dist-upgrade

                                          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 1 Reply Last reply Reply Quote 0
                                          • M
                                            Matt Derrick @Tom Elliott
                                            last edited by

                                            @Tom-Elliott
                                            0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

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

                                            174

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project