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

    Error 500 in host edition

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    5
    1.3k
    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.
    • ch3iC
      ch3i Moderator
      last edited by ch3i

      Server
      • FOG Version: 1.5.0-RC-8 ( SVN 6080)
      • OS: Debian 8.8 (PHP5)
      Description

      Hi,

      I can’t accces host information/edition.

      When I try to acces an url like that : http://myfogserver.com/management/index.php?node=host&sub=edit&id=605, I’ve an error 500.

      log :
      [Thu Aug 17 10:41:34.369187 2017] [:error] [pid 25461] [client 192.168.101.252:53261] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/fog/lib/plugins/accesscontrol/hooks/addaccesscontrolapi.hook.php on line 115
      [Thu Aug 17 10:41:34.424336 2017] [:error] [pid 25461] [client 192.168.101.252:53261] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/fog/lib/plugins/accesscontrol/hooks/addaccesscontrolapi.hook.php on line 115
      [Thu Aug 17 10:41:34.429048 2017] [:error] [pid 25461] [client 192.168.101.252:53261] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/fog/lib/plugins/accesscontrol/hooks/addaccesscontrolapi.hook.php on line 115
      [Thu Aug 17 10:41:38.578096 2017] [:error] [pid 25461] [client 192.168.101.252:53261] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32768 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 261

      I’ve tried ton increase memory in FOG and PhP (512M).

      I can list all host without problem.

      Ch3i

      1 Reply Last reply Reply Quote 0
      • ch3iC
        ch3i Moderator
        last edited by ch3i

        I’ve disabled the accesscontrol plugin after plug in my brain…
        It’s solved my problem.

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

          I’ve marked solved for now. I haven’t gotten to access control yet for GUI stuff. That said is it just permissions of the user?

          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

          ch3iC 1 Reply Last reply Reply Quote 0
          • ch3iC
            ch3i Moderator @Tom Elliott
            last edited by

            @tom-elliott said in Error 500 in host edition:

            That said is it just permissions of the user?

            Yep it’s for user rights, but I don’t use it, it was to try the plugin few month ago…

            1 Reply Last reply Reply Quote 0
            • D
              DarkStorm007
              last edited by DarkStorm007

              Had same problem here, also have some errors on the following accesscontrol plugin

              • Adding some rules with empty fields says you cannot save (you solve this by entering some stuff and then editing to erase it).

              • After add some user to a role, It doesn’t show up on the role member section but it is added. If you want to remove some users from a role you need to edit the table RoleUserAssoc).

              • You cannot hide the accesscontrol menu by the default rules created by the plugin, you need to add it. (Just add it following the other rules).

              *Same problem as above about memory size exhausted.

              *After enable some plugin, the appareance of the main menu doubles the height size in some sub-menus. (my screen is 1366x768).

              I wish i could help fixing there kind of things but just a networking specialist =(. I’m just can report some of the errors I find.

              Latest Version: 1.4.4
              Latest Development Version: 1.5.0-RC-9
              Latest SVN Version: 6078

              Ing. Octavio Navarro

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

              175

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project