Loading...
 
Skip to main content

Architecture / Installation


Permission Issues

I'm trying to use the new permission features in Tiki 5.0. When I try to edit permissions for certain features by selecting them group by group, I get a series of error messages depending on the number of permissions I change.

This is the error I'm getting.

Notice: Undefined index: Registered in /home/content/g/j/w/gjwheat18/html/tiki-5.0/tiki-5.0/tiki-objectpermissions.php on line 504

Warning: in_array() function.in-array: Wrong datatype for second argument in /home/content/g/j/w/gjwheat18/html/tiki-5.0/tiki-5.0/tiki-objectpermissions.php on line 504

I'm not sure hwat needs changed. Is this something I did wrong or is there a problem with the code?

Thanks,
Greg

Are you able to set permissions as you want? Notices, especially, don't necessarily mean the admin action failed.

Also clearing Tiki's caches and even logging out and back in have sometimes been needed to have permissions display as activated.

-- Gary

Yes, the permission are working correctly, but the error messages displaying are the problem. When I put this into production, I can't have the errors displaying. I've gone into the admin menue and selected for it only to display errors for the admin, but that doesn't seem to do the trick. Is there anything I can do to get this to go away?

I'm still having trouble with this issue. I can't figure out how to get this error to stop displaying. Everything works correctly with the permissions, but is there any way to get the error to stop displaying?

I'm also looking for a way to stop the "Notices".
Did you find the trick ?

Gaston

Yeah, I actually stopped getting the error by installing an updated version of the tiki-objectpermission.php file. It's been a while since I've tried, but I think I downloaded 5.1 and then just installed the one file. I think that did the trick.