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

    SVN 3791 PHP Error

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    4
    1.4k
    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
      Marcus Allen
      last edited by

      I noticed my Apache error_log was getting large so I checked into it. I’m getting a large amount of these same errors from every machine that is imaged.

      Here is the last few lines:

      [Thu Jul 16 08:47:11.413272 2015] [:error] [pid 2828] [client 10.1.33.158:37609]                             PHP Warning:  in_array() expects parameter 2 to be array, null given in /var/ww                            w/html/fog/service/auto.register.php on line 73
      [Thu Jul 16 08:53:13.914835 2015] [:error] [pid 2883] [client 10.1.33.159:56712]                             PHP Warning:  in_array() expects parameter 2 to be array, null given in /var/ww                            w/html/fog/service/locationcheck.php on line 3
      [Thu Jul 16 08:53:28.964064 2015] [:error] [pid 2864] [client 10.1.33.159:56714]                             PHP Warning:  in_array() expects parameter 2 to be array, null given in /var/ww                            w/html/fog/service/auto.register.php on line 73
      

      CentOS7, SVN 3791

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

        I have fixed these two errors so they should no longer report problems, though they were non-impacting.

        Unfortunately, sourceforge is currently in disaster recover mode and I can’t push the fixes right now. I have a few other “corrections” that I hope to get going too.

        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
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          fyi, GitHub still works… I’ve used it before when SF was down.

          I’m thinking that GitHub is far more reliable… and I might just switch completely to that.

          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
            Marcus Allen @Tom Elliott
            last edited by

            @Tom-Elliott Gotcha. We’re just imaging like crazy and that is creating a lot of these errors which filled about 12GB of logspace up. I’ve adjusted my logrotation (which is probably the better answer anyways).

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

            143

            Online

            12.1k

            Users

            17.3k

            Topics

            155.4k

            Posts
            Copyright © 2012-2024 FOG Project