Before i start i'd like to say how great this module is, it's saved me loads of hassle and makes the site run more smoothely.
I'm having some issues with setting up watchman, i'd like to only allow certain user groups to access my form.
I have selected the groups i'd like to allow and clicked save, and i've enabled the plugin in the form.
However when i visit the page with a user that has the correct priviledges it just redirects me to my homepage, this also occuers for those users without the priviledges.
I have turned on debug for watchman and these are the errors i am recieveing when i access the page (as administrator with correct permissions):
Params: stdClass Object ( [redirect_url] => [gid] => Array ( [0] => 19 [1] => 20 [2] => 23 [3] => 24 [4] => 25 ) [redirect_message_users] => Sorry you don't have access to this resource! [open] => [redirect_message_open] => [close] => [redirect_message_close] => [redirect_message_days] => [open_time] => 00:00 [redirect_message_open_time] => [close_time] => 00:00 [redirect_message_close_time] => [debug] => 1 )
Notice: Undefined property: stdClass::$users in C:\wamp\www\components\com_chronocontact\plugins\cf_watchman.php on line 295
Redirecting Now !!!! to index.php with message:
Redirecting Now !!!! to index.php with message:
Notice: Undefined property: stdClass::$days in C:\wamp\www\components\com_chronocontact\plugins\cf_watchman.php on line 271
Warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\wamp\www\components\com_chronocontact\plugins\cf_watchman.php on line 271
Notice: Undefined property: stdClass::$days in C:\wamp\www\components\com_chronocontact\plugins\cf_watchman.php on line 295
Redirecting Now !!!! to index.php with message:
Redirecting Now !!!! to index.php with message:
Does anyone know how to stop it redirecting when the correct user is logged in?
Regards
NightFox