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

Created by FOG Reg date is always wrong

Scheduled Pinned Locked Moved
FOG Problems
2
4
1.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
    Sanga Collins
    last edited by Sep 16, 2014, 4:05 PM

    I have an issue that I am having a hard time resolving. When registering a host, in the host description the server normally puts: Created by FOG Reg on September 4, 2014, 9:03 pm

    For me this date is always wrong, usually 12 to 24 hours in the future. Is there any way to correct this?

    The time on my fog server is correct (It is a zentyal PdC so incorrect time would prevent windows domain users from logging in)

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Sep 17, 2014, 9:35 AM

      It either one or the other on the time difference. There should be no in-between. It’s also going to be a certain amount of time ahead or behind your “server” time by a specific amount. Where are you located?

      Based on what I can tell, php does not have a date.timezone set so it’s putting the time to that of GMT, or should be at least.

      If you’re really worried about the timing itself, set the /etc/php.ini date.timezone setting to that of your Local timezone. In ubuntu, you’ll likely need to change both files dealing with php in /etc/php5/apache2/php.ini and /etc/php5/cli/php.ini

      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
        Sanga Collins
        last edited by Sep 17, 2014, 2:11 PM

        Thanks for the repsonse Tom!

        I am going to modify the PHP.ini files as suggested and restart apache2. I’ll deploy another image and see if the date is correct then post back here the results.

        Thanks again!

        1 Reply Last reply Reply Quote 0
        • S
          Sanga Collins
          last edited by Sep 17, 2014, 2:14 PM

          That worked! the correct time is now being shown.

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

          141

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project