18
120 seems a big number. Is this the correct entry in the modules table for profile (check with eg phpmyadmin)? Standard should this be 3. Did you uninstall the profile module and reinstall it in the past?
Ok, I indentified tree possible permissions errors. But to know where it clashes, we need to edit some files.
You have to search for _NOPERM in these files.
First /include/cp_header.php
Change
redirect_header( XOOPS_URL, 1, _NOPERM );
to
redirect_header( XOOPS_URL, 10, _NOPERM .'nomodsys');
and
redirect_header( XOOPS_URL . "/user.php", 1, _NOPERM );
to
redirect_header( XOOPS_URL . "/user.php", 10, _NOPERM .'nouser');
then /modules/system/admin/groupperm.php and change
redirect_header(XOOPS_URL.'/index.php', 1, _NOPERM);
to
redirect_header(XOOPS_URL.'/index.php', 10, _NOPERM.'noadmin'.$modid);
Then redo the operation in profile permissions en tell what you see at the end of the sorry error message.