General error: Unable to handle given $p_module_id
-
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 -
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/htmlRegards
-
@pixeb
You are so right. It was a permissions problem. Weird error message then.
Thanks very much.
Issue closed. -
I have the same problem in I-doit V.24 and SUSE 15.4