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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login