sudo-su icon indicating copy to clipboard operation
sudo-su copied to clipboard

ErrorException (E_ERROR) No hint path defined for [sudosu].

Open i-coder opened this issue 7 years ago • 7 comments

http://prntscr.com/fen37q

i-coder avatar Jun 01 '17 12:06 i-coder

same problem

tonyski avatar Jun 04 '17 06:06 tonyski

what to do?

i-coder avatar Jun 05 '17 10:06 i-coder

you shuold add domain suffix to your project config/sudodu.php array allowed_tlds. just like my project domain is test.app, set array allowed_tlds like 'allowed_tlds' => ['dev', 'local', 'app'],.

tonyski avatar Jun 05 '17 11:06 tonyski

yes! Thanks you!! 'allowed_tlds' => ['dev', 'local','dcc'],

i-coder avatar Jun 05 '17 11:06 i-coder

Should it really throw an error? I feel like it should just disable sudosu and maybe log a warning message.. @mrterryh Is it the expected behavior?

DODMax avatar Jun 15 '17 06:06 DODMax

Hi, Ran into this issue and saw that https://github.com/viacreative/sudo-su/pull/14 hasn't been merged in yet. Figured out that localhost works for me.

    'allowed_tlds' => ['localhost', 'dev', 'local'],

RStrydom avatar Sep 05 '17 11:09 RStrydom

or u forgot u have already executed

php artisan config:cache

so..

config/sudo.php won't be read any more.

xuwuqiang avatar Feb 07 '18 08:02 xuwuqiang