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

Edit index.php

Scheduled Pinned Locked Moved Solved
FOG Problems
3
9
1.7k
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.
  • J
    joshuaparker
    last edited by Dec 30, 2016, 11:35 PM

    Server
    • FOG Version: 1.3 RC22
    • OS: Ubunutu 16.04
    Client
    • Service Version:
    • OS:
    Description

    My network does not allow traffic out from non-ad computers and so I was hoping to remove the FOG statistics from the login page.

    0_1483140886935_upload-57c0655c-6414-4ab1-bc28-e2bdc875753f

    As I have to hit escape quickly to cancel before i am redirected to a network login page. I am a novice web coder at best and am having a hard time tracking that bit of code down.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Dec 31, 2016, 12:49 AM

      Is it causing a problem with logging in? It shows the information if on the internet, and returns an error if it is not. That said it shouldn’t be preventing logging in at all. Is there a particular reason you want to remove 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
      • J
        joshuaparker
        last edited by Jan 3, 2017, 3:31 PM

        When the server attempts to get the stats it takes me to the company redirect page to login as the server is not using AD credentials, I can login but then am redirected to a page showing simply FOG stats:

        0_1483457440202_upload-77d4b012-5ecf-4b3c-a758-824474e3dce2

        T 1 Reply Last reply Jan 3, 2017, 3:36 PM Reply Quote 0
        • T
          Tom Elliott @joshuaparker
          last edited by Jan 3, 2017, 3:36 PM

          @joshuaparker I don’t understand why it’s redirecting you at all. That said look in /var/www/fog/lib/fog/processlogin.class.php

          Search for login-info-form

          Delete the id=“login-info-form” from there. It should no longer try requesting the information.

          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
          • J
            joshuaparker
            last edited by Jan 3, 2017, 3:55 PM

            It’s on our end, but unfortunately I have no control over the behavior. Thanks for the help!

            W J 2 Replies Last reply Jan 3, 2017, 6:13 PM Reply Quote 0
            • W
              Wayne Workman @joshuaparker
              last edited by Jan 3, 2017, 6:13 PM

              @joshuaparker Do you have a NAS or iSCSI working with FOG in any way?

              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/

              J 1 Reply Last reply Jan 3, 2017, 6:44 PM Reply Quote 0
              • J
                joshuaparker @Wayne Workman
                last edited by Jan 3, 2017, 6:44 PM

                @Wayne-Workman No, single server.

                1 Reply Last reply Reply Quote 0
                • J
                  joshuaparker @joshuaparker
                  last edited by Jan 3, 2017, 7:29 PM

                  @joshuaparker Sorry I should have clarifyed, this did solve the issue I was having.

                  T 1 Reply Last reply Jan 3, 2017, 8:36 PM Reply Quote 0
                  • T
                    Tom Elliott @joshuaparker
                    last edited by Jan 3, 2017, 8:36 PM

                    @joshuaparker What fixed the issue? The removing the id=‘login-info-form’?

                    I’ve added a schema change for 1.3.1-RC-2 that is addressed under “General Settings” from the fog settings page. This is just a simple checkbox. It’s default status is “checked” of course, but can be adjusted so you don’t consistently need to make changes during updates.

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

                    187

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project