SOLVED Random Characters 1.2.0 Fog Login Page

  • This is totally not a big deal, but I am just curious if anyone else gets these characters at the bottom of their management login page (picture below). Again, not a big deal, I am more curious as to where it is coming from and if others have the same thing.Fog Login Stuff.JPG

  • Senior Developer

    Sure you followed this part of Tom’s suggestion: “cd to your fog web directory”?
    If not the command might have tried to search through all the files on your whole system. That’s not a real problem bust usually does not come to an end because it hangs when trying to read pipe files (stuff mostly sitting in /var …).

    The string is found in those files:

    ./lib/fog/ProcessLogin.class.php:		ob_start('ob_gzhandler');
    ./lib/fog/ProcessLogin.class.php:		ob_start('ob_gzhandler');

    See if you can fix things for you.

  • What directory did you run this in?

    cd /var/www/fog; grep -rl 'ob_gzhandler' .


    cd /var/www/html/fog; grep -rl 'ob_gzhandler' .

  • @Tom-Elliott Thanks Tom. The command has been running for like 3 days straight and it still hasn’t finished/found anything. I would think it would take a little time to find the text within a file, but it seems like 3 days is too long. Am I doing something wrong? Let me know what you think whenever you have time (also if you happen to know where the exact file is I could do that too).

  • This is a known issue and is corrected for in the development version.

    For your fix, cd to your fog web directory and run:

    grep -rl 'ob_gzhandler' .

    Open the file that shows up and remove the ob_gzhandler portion, leaving just ob_start(); and this will disappear.

  • **Thanks Frank. Here is the code. Looks like it is being slapped on at the end. It seems to only happen with Chrome. **

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “”>
    <html xmlns=“”>
    <title>Login > FOG > Open Source Computer Cloning Solution</title>
    <meta http-equiv=“content-type” content=“text/html; charset=utf-8” />
    <meta http-equiv=“x-ua-compatible” content=“IE=8” />
    <!-- Stylesheets -->
    <link rel=“stylesheet” type=“text/css” media=“all” href=“css/calendar/calendar-win2k-1.css” />
    <link rel=“stylesheet” type=“text/css” href=“css/fog.css” />
    <!-- FOG Message Boxes -->
    <div id=“loader-wrapper”><div id=“loader”><div id=“progress”></div></div></div>
    <!-- Main -->
    <div id=“wrapper”>
    <!-- Header -->
    <div id=“header” class=“login”>
    <div id=“logo”>
    <h1><img src=“images/fog-logo.png” alt=“logo” /><sup>1.2.0</sup></h1>
    <h2>Open Source Computer Cloning Solution</h2>
    <!-- Content -->
    <div id=“content” class=“dashboard”>
    <h1>Management Login</h1>
    <div id=“content-inner”>
    <form method=“post” action="?node=login" id=“login-form”>
    <input type =“hidden” name=“node” value=“host” />
    <label for=“username”>Username</label>
    <input type=“text” class=“input” name=“uname” id=“username” />
    <label for=“password”>Password</label>
    <input type=“password” class=“input” name=“upass” id=“password” />
    <label for=“language”>Language</label>
    <select name=“ulang” id=“language”>
    <option value=“中国的” >中国的</option>
    <option value=“English” selected=“selected”>English</option>
    <option value=“Español” >Español</option>
    <option value=“Français” >Français</option>
    <option value=“Deutsch” >Deutsch</option>
    <option value=“Italiano” >Italiano</option></select>
    <label for=“login-form-submit”></label>
    <input type=“submit” value=“Login” id=“login-form-submit” />
    <div id=“login-form-info”>
    <p>Estimated FOG sites: <b><span class=“icon icon-loading”></span></b></p>
    <p>Latest Version: <b><span class=“icon icon-loading”></span></b></p>
    <!-- Footer -->
    <div id=“footer”>FOG Project: Chuck Syperski, Jian Zhang, Peter Gilchrist & Tom Elliott FOG Client/Prep link: <a href="?node=client">FOG Client/FOG Prep</a></div>
    <!-- FOG Variables -->
    <!-- JavaScript -->
    <script type=“text/javascript” src=“js/jquery.js”></script>
    <script type=“text/javascript” src=“js/jquery.progressbar.js”></script>
    <script type=“text/javascript” src=“js/fog.js”></script>
    <script type=“text/javascript” src=“js/fog.login.js”></script>
    </html>��VKs�6>'�b�CNa9�ڦԉe%N&�5����A䊄 ���� )UV��F:���}�ɫ������
    *���a���7C������a�� z�%L����|�GQ�}u��z���obcs>��oJ/�uK��8�Y4x�4�lJ�]�����֎t$���_$%zA���Z���W��-��^�F��Q�~�a�e9I��-;E��ա�Ǎ� g�-���}��s���K�p�s ��޷��
    5LLmS�@��ha���:‘���4:��m@QR/���G�o��G�t R�"(,Ή�s<
    u&�~��R_-Y/n�I��o5�-��� !iB�tf��c��8S"]��� c’1���’���� )�;�8�s�
    ��;\Y�����(�mQ&3�m�;���#:G�pg6����dr2�Gʈ )wVT�hp�q ���-!����ٳ;�QH}���bp���N����C�2�i$�m�A"�p���Rh�����Rg����"b���ٴ�Nh�J��P�����M&����*�LxX&\Џ�j����"�@� ���]n=�հm��puMߚ�;>� Lj��W�z�H��� g����;c���C��� �� �v�(d�Z��1�yc B���Y�oX��&T��-�|�B�?����1D��Tia���Z��-LM #����)١�!�c�����}��&�~�(��v�-��<�E_�����a��J8\�٪ێ��L9~�z�?>C�(Vb�ZY�B�ڗ�v_�J+��r\�G���M�:��Q�� �ۋK�O�ۏ�nbf[}O�SY⹈�KO%�q�M�h
    �h��I�5AEc�f��h�z<ݲ’�IArR���������� _2�co

  • Senior Developer

    You don’t seam to be the only one:

    Maybe try looking into the HTML code (right click in browser) and tell us where exactly this “garbage” is (between which tags…)