Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    General error: Unable to handle given $p_module_id

    Scheduled Pinned Locked Moved Operating
    4 Posts 3 Posters 868 Views 1 Watching
    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.
    • R Offline
      rforberger
      last edited by

      Hi,

      after configuring I-doit 1.12 on a FreeBSD host with apache 2.4 and PHP 7.2, I get the following error in the browser:

      General error: Unable to handle given $p_module_id

      In the code this error is thrown as following:

      In src/classes/modules/manager/isys_module_manager.class.php:
      public function get_module_auth($p_module_id)
      {
      if (!is_numeric($p_module_id)) {
      if (defined($p_module_id)) {
      $p_module_id = constant($p_module_id);
      } else {
      throw new isys_exception_general('Unable to handle given $p_module_id');
      }
      }

      Any ideas what could be wrong with my setup?

      Best regards,
      Ronny

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by

        Hi,

        Same problem and solved by :

        sudo chown -R USER /var/www/html/
        sudo find /var/www/html -type d -exec chmod u+rwx {} +
        sudo find /var/www/html -type f -exec chmod u+rw {} +

        sudo chgrp -R www-data /var/www/html
        sudo chown -R www-data /var/www/html

        Regards

        1 Reply Last reply Reply Quote 0
        • R Offline
          rforberger
          last edited by

          @pixeb

          You are so right. It was a permissions problem. Weird error message then.
          Thanks very much.
          Issue closed.

          1 Reply Last reply Reply Quote 0
          • B Offline
            bsorkhpour
            last edited by

            I have the same problem in I-doit V.24 and SUSE 15.4

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