IRC log of #dokuwiki @

For Wednesday, 11 July 2018

  1. quit
    Gyro__ ( has quit (Ping timeout: 240 seconds)
  2. quit
    theoceaniscool (~theoceani@ has quit (Ping timeout: 260 seconds)
  3. join
    Sivlerado (b8bf899a@gateway/web/freenode/ip. has entered the channel
  4. quit
    Sivlerado (b8bf899a@gateway/web/freenode/ip. has quit (Quit: Page closed)
  5. quit
    khronosschoty (Elite21350@gateway/shell/elitebnc/x-lndwdbzcvyebeybp) has quit (Quit: EliteBNC 1.6.5 -
  6. message at
    Unfortunately I have to leave you now. So don't do anything silly while I'm not here.
  7. message at
    Unfortunately I have to leave you now. So don't do anything silly while I'm not here.
  8. join
    dokubot ( has entered the channel
  9. join
    khronosschoty ( has entered the channel
  10. join
    Gyro__ ( has entered the channel
  11. join
    murkx (~mur@unaffiliated/murkx) has entered the channel
  12. join
    theoceaniscool (~theoceani@ has entered the channel
  13. join
    Lunatrius` (~Lunatrius@ has entered the channel
  14. quit
    Lunatrius (~Lunatrius@ has quit (Ping timeout: 240 seconds)
  15. nick
    Lunatrius` is now known as Lunatrius
  16. quit
    Gyro__ ( has quit (Ping timeout: 268 seconds)
  17. join
    Gyro__ ( has entered the channel
  18. quit
    murkx (~mur@unaffiliated/murkx) has quit (Quit: WeeChat 2.1)
  19. join
    Le_Coyote ( has entered the channel
  20. message at
    Hello crowd.
  21. message at
    I need to create a custom auth plugin. So far I believe I've read pretty much all that's available about it, but even with a super simple, dummy plugin that returns static stuff, I can't even get the module to _LOAD_. Is there a way to enable some debugging somewhere (apart from the allowdebug, which is already on)?
  22. message at
    Cuz right now, I don't even know why it won't load
  23. message at
    Pointers are welcome :) I obviously don't expect anyone to cook the whole thing in my stead, just need a nudge in the right direction :)
  24. message at
    Haven't found much in the IRC logs either, so I'll sit tight until someone has something to suggest. Cheers :)
  25. message at
    Le_Coyote, hi, what I did when not enough logs were available for my understanding is to add my own (and try to trace where I'm going). I'm not sure where you would being this logging though, it's been too long a time since I developed a plugin.
  26. message at
    However, if your folders and files respect what's required for a plugin but your plugin still don't load, I expect it would be a permission issue, where the web user cannot read your plugin
  27. message at
  28. message at
    Hadn't even thought about something so simple
  29. message at
    I don't think it's that though, because once there was a parse error in the php file and it would cause an error 500, so the file was actually read by php
  30. message at
    Nope, definitely not a permission issue
  31. message at
    han, that means at some point DW loads the file indeed. So when you say "it won't load", what do you mean exactly by that?
  32. message at
    "Cannot load Auth Plugin <myauthplugin" is what DW says
  33. message at
    It won't say why, which is annoying :)
  34. message at
    huhu, what a bummer
  35. message at
    I've really made it the most dummy thing I can, ie trustExternal sets a few static strings and arrays in $USERINFO, checkPass returns true, $success is set to true, cando[] has the right values AFAICT …
  36. message at
    Still no luck.
  37. message at
    maybe you could try to find where this "Cannot load Auth Plugin <myauthplugin" string is generated and look at which case goes there?
  38. message at
    Yeah, I wanted to avoid such extremities but I guess there's not much left to do/try :/
  39. message at
  40. message at
    It's triggered when plugin_controller->load('auth', $input) returns null, apparently. More digging …
  41. message at
    It returns null if disabled or already loaded … That's weird
  42. message at
    But the annoying part is that the code doesn't report the actual reason
  43. message at
    GOD D***IT. Found it
  44. message at
    It's the nameing scheme of the class.
  45. message at
    I called it auth_plugin_myplugin, but the plugin info text had myauthplugin as "base". Therefore, it wouldn't load. Brilliant.
  46. message at
    Aorimn: Thanks for pointing me in the right direction :)
  47. message at
    He, I've done nothing, you did everything :)
  48. message at
    Well checking the plugin_controller was the right idea, double checking what it did made me realise there was some magic relationship between the plugin name/type
  49. message at
    Now I just need to figure out cookie sharing with my website and I'll be all set :)
  50. message at
    Bye for now :)
  51. part
    Le_Coyote ( has left the channel (#dokuwiki) with message '"WeeChat 1.6"'
  52. quit
    khronosschoty ( has quit (Quit: ZNC 1.6.5-elitebnc:6 -
  53. join
    khronosschoty (Elite21350@gateway/shell/elitebnc/x-wuhsloyiztmgiefr) has entered the channel
  54. quit
    GeekShadow (~antoine@reactos/tester/GeekShadow) has quit (Ping timeout: 244 seconds)
  55. join
    GeekShadow ( has entered the channel
  56. quit
    GeekShadow ( has quit (Changing host)
  57. join
    GeekShadow (~antoine@reactos/tester/GeekShadow) has entered the channel
  58. quit
    SoundHunter ( has quit (Quit: Rebooting...)
  59. join
    SoundHunter ( has entered the channel
  60. quit
    SoundHunter ( has quit (Quit: Rebooting...)
  61. join
    SoundHunter ( has entered the channel