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

    FOG 1.5.10.x : Display problem with accesscontrol/site/windowskey plugins

    Scheduled Pinned Locked Moved
    General
    1
    4
    307
    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.
    • Y
      Yoann
      last edited by

      Hello,

      I noticed a display problem with the following plugins : accesscontrol, site, windowskey.

      For example, for the accesscontrol plugin, by going to the “Access Controls” menu, then clicking on a role (Administrator or Technician), the “Members” tab does not display HTML header. The “Rule Association” tab is also affected.

      This display problem also occurs for site/windowskey plugins.

      I tested this behavior on “stable” and “dev-branch” stable branches

      Thanks,

      Regards.

      1 Reply Last reply Reply Quote 0
      • Y
        Yoann
        last edited by

        Hello,

        I noticed that these plugins work on Rocky Linux 8 (PHP 7.2) but not on Ubuntu Server 22.04 (PHP 8.2).

        On Ubuntu Server 22.04, the error is (/var/log/apache2/error.log) :

        [Tue Sep 17 17:11:10.359781 2024] [proxy_fcgi:error] [pid 1156] [client 192.168.2.1:52143] AH01071: Got error 'PHP message: PHP Warning:  Undefined property: AccessControlManagementPage::$data in /var/www/fog/lib/plugins/accesscontrol/pages/accesscontrolmanagementpage.class.php on line 1842PHP message: PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/fog/lib/plugins/accesscontrol/pages/accesscontrolmanagementpage.class.php:1842\nStack trace:\n#0 /var/www/fog/lib/fog/fogpagemanager.class.php(220): AccessControlManagementPage->membership()\n#1 /var/www/fog/management/index.php(58): FOGPageManager->render()\n#2 {main}\n  thrown in /var/www/fog/lib/plugins/accesscontrol/pages/accesscontrolmanagementpage.class.php on line 1842', referer: http://192.168.2.100/fog/management/index.php?node=accesscontrol&sub=edit&id=1
        

        Regards

        1 Reply Last reply Reply Quote 0
        • Y
          Yoann
          last edited by

          Hello,

          Some fix made : https://github.com/FOGProject/fogproject/pull/647
          But there are still several fix to be made for these plugins to be fully functional

          Regards.

          Y 1 Reply Last reply Reply Quote 0
          • Y
            Yoann @Yoann
            last edited by

            Hello,

            Fix Members tab for accesscontol plugin and some display elements for site plugin (11807ac) : https://github.com/FOGProject/fogproject/pull/647

            Regards.

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

            242

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project