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

    BUG when you try to list all images

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    21
    8.6k
    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.
    • S
      Squeaner
      last edited by

      Tom, I installed SVN 2609, but the bug still seems to be present for me.

      I checked my PHP config and “display_errors” and “display_startup_errors” to are both [B]Off[/B].

      Here’s my configuration:
      Ubuntu Server 14.04.1 LTS 64-bit
      Apache2 - 2.4.7
      PHP5 - 5.5.9-1ubuntu4.5
      MySQL:
      Version: 5.5.40-0ubuntu0.14.04.1
      Version: 5.5.35+dfsg-1ubuntu1

      Here’s the warnings from apache error.log

      [Mon Nov 10 11:58:49.904242 2014] [:error] [pid 23103] [client 172.16.21.7:57448] PHP Warning: mysqli::select_db(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 74, referer: [url]http://172.16.21.254/fog/management/index.php?node=image&sub=list[/url]
      [Mon Nov 10 11:58:49.904819 2014] [:error] [pid 23103] [client 172.16.21.7:57448] PHP Warning: mysqli::select_db(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 74, referer: [url]http://172.16.21.254/fog/management/index.php?node=image&sub=list[/url]

      [url=“/_imported_xf_attachments/1/1497_foglog.txt?:”]foglog.txt[/url]

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

        Forgive my brashness here, but I fail to understand how a warning is considered a bug?

        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
        • S
          Squeaner
          last edited by

          It’s not, but I’m just trying to provide you with anything I can that will help you identify the root of the issue.

          I appreciate all that you do. Keep up the good work.

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

            I know what the issue is, but I don’t know of a good means to test.

            Basically, it’s trying to detect if the database is available. If it’s not, (such as when it’s performing an upgrade and mysql is restarting) it’s going to throw the select_db() error.

            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

              Alright,

              Hopefully this should be fixed.

              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

                Try the latest svn 2612 and it should, hopefully, be fixed.

                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
                • S
                  Squeaner
                  last edited by

                  Tom, I just installed the latest SVN Revision 2636 and still have the issue.

                  Let me know if I can help in any way to help troubleshoot.

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

                    [quote=“Squeaner, post: 38940, member: 350”]Tom, I just installed the latest SVN Revision 2636 and still have the issue.

                    Let me know if I can help in any way to help troubleshoot.[/quote]

                    Which issue? The select_db()?

                    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
                    • S
                      Squeaner
                      last edited by

                      Yes, the select_db(). The issue where when I choose “List All Images” and nothing is displayed.

                      Thanks.

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

                        I know what’s wrong. The select_db is still not it.

                        Can you give me a print out of imageID’s you have and the imageGroupAssociation tables?

                        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

                          Okay:

                          Please try 2637. I’m trying some better error handling, hopefully.

                          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
                          • S
                            Squeaner
                            last edited by

                            Tom, I just installed SVN 2637 and it worked!

                            1 Reply Last reply Reply Quote 0
                            • S
                              Squeaner
                              last edited by

                              [quote=“Tom Elliott, post: 38948, member: 7271”]I know what’s wrong. The select_db is still not it.

                              Can you give me a print out of imageID’s you have and the imageGroupAssociation tables?[/quote]

                              Tom, do you still need this information?

                              Thanks.

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

                                No,

                                Sorry I didn’t get back sooner. Yes you’ll likely still have the select_db messages, but no if all is working you should be good.

                                My guess is some of your images are setup without having a storage group assigned to them. All that release did was make it so it would “fail gracefully?” as I like to call it.

                                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
                                • 1
                                • 2
                                • 1 / 2
                                • First post
                                  Last post

                                184

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.4k

                                Posts
                                Copyright © 2012-2024 FOG Project