Thanks Chris and Owen, I'll try that and get back to you.
On Mar 27, 2013 2:40 PM, "Owen Winkler" <[email protected]> wrote:
> On 3/23/2013 2:21 PM, Valentin wrote:
>
>>
>> InvalidArgumentException: Bitmask cannot get non-existent flag in
>> /var/www/virtual/one/html/**system/classes/bitmask.php line 150
>>
>
> This error is caused when attempting to access a flag on a bitmask that
> doesn't exist. For example, if you have a Habari permission bitmask named
> $access, which only has the flags "read,edit,delete,create" on it, and you
> tried to do this:
>
> if($access->not_present) {...}
>
> It would throw the exception mentioned.
>
> This can also happen if some variable is defined as a Bitmask, but the
> Bitmask in question never had its flags set:
>
> $bitmask = new Bitmask();
> if($bitmask->foo) {...} // Causes an exception for any "foo"
>
> To debug this, you'd need to see a stack trace to find out what line in
> the code causes the exception to be thrown. Check out this page in the
> wiki for tips on how to display the call stack when there are errors:
>
> http://wiki.habariproject.org/**en/Debugging_Tips<http://wiki.habariproject.org/en/Debugging_Tips>
>
> If you find out what code is doing it, and need more help, come on back.
>
> Owen
>
> --
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to habari-dev-unsubscribe@**
> googlegroups.com <[email protected]>
> For more options, visit this group at http://groups.google.com/**
> group/habari-dev <http://groups.google.com/group/habari-dev>
> --- You received this message because you are subscribed to a topic in the
> Google Groups "habari-dev" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/**
> topic/habari-dev/ywmN4A9HP-I/**unsubscribe?hl=en<https://groups.google.com/d/topic/habari-dev/ywmN4A9HP-I/unsubscribe?hl=en>
> .
> To unsubscribe from this group and all its topics, send an email to
> habari-dev+unsubscribe@**googlegroups.com<habari-dev%[email protected]>
> .
> For more options, visit
> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
> .
>
>
>
--
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev
---
You received this message because you are subscribed to the Google Groups
"habari-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.