• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • C
    ch3i Moderator
    last edited by ch3i Aug 17, 2017, 2:56 AM Aug 17, 2017, 8:17 AM

    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
    • C
      ch3i Moderator
      last edited by ch3i Aug 17, 2017, 5:50 AM Aug 17, 2017, 9:04 AM

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

      1 Reply Last reply Reply Quote 1
      • T
        Tom Elliott
        last edited by Aug 17, 2017, 10:55 AM

        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

        C 1 Reply Last reply Aug 17, 2017, 11:48 AM Reply Quote 0
        • C
          ch3i Moderator @Tom Elliott
          last edited by Aug 17, 2017, 11:48 AM

          @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 Oct 6, 2017, 8:11 AM Oct 6, 2017, 2:10 PM

            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

            165

            Online

            12.1k

            Users

            17.3k

            Topics

            155.3k

            Posts
            Copyright © 2012-2024 FOG Project