IRC log of #dokuwiki @ irc.freenode.net

For Wednesday, 11 July 2018

  1. quit
    Gyro__ (~user@x4dbbc97e.dyn.telefonica.de) has quit (Ping timeout: 240 seconds)
  2. quit
    theoceaniscool (~theoceani@80.31.247.240) has quit (Ping timeout: 260 seconds)
  3. join
    Sivlerado (b8bf899a@gateway/web/freenode/ip.184.191.137.154) has entered the channel
  4. quit
    Sivlerado (b8bf899a@gateway/web/freenode/ip.184.191.137.154) has quit (Quit: Page closed)
  5. quit
    khronosschoty (Elite21350@gateway/shell/elitebnc/x-lndwdbzcvyebeybp) has quit (Quit: EliteBNC 1.6.5 - http://elitebnc.org)
  6. message at
    #dokuwiki
    Unfortunately I have to leave you now. So don't do anything silly while I'm not here.
  7. message at
    #dokuwiki
    Unfortunately I have to leave you now. So don't do anything silly while I'm not here.
  8. join
    dokubot (~irclog@piggy.dokuwiki.org) has entered the channel
  9. join
    khronosschoty (Elite21350@got.wet.salmon.slaps.from.elitebnc.org) has entered the channel
  10. join
    Gyro__ (~user@x4dba62f3.dyn.telefonica.de) has entered the channel
  11. join
    murkx (~mur@unaffiliated/murkx) has entered the channel
  12. join
    theoceaniscool (~theoceani@80.31.247.240) has entered the channel
  13. join
    Lunatrius` (~Lunatrius@77.38.21.115) has entered the channel
  14. quit
    Lunatrius (~Lunatrius@77.38.21.115) has quit (Ping timeout: 240 seconds)
  15. nick
    Lunatrius` is now known as Lunatrius
  16. quit
    Gyro__ (~user@x4dba62f3.dyn.telefonica.de) has quit (Ping timeout: 268 seconds)
  17. join
    Gyro__ (~user@x4dba62f3.dyn.telefonica.de) has entered the channel
  18. quit
    murkx (~mur@unaffiliated/murkx) has quit (Quit: WeeChat 2.1)
  19. join
    Le_Coyote (~smokey@6.245.118.78.rev.sfr.net) has entered the channel
  20. message at
    Le_Coyote
    Hello crowd.
  21. message at
    Le_Coyote
    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
    Le_Coyote
    Cuz right now, I don't even know why it won't load
  23. message at
    Le_Coyote
    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
    Le_Coyote
    Haven't found much in the IRC logs either, so I'll sit tight until someone has something to suggest. Cheers :)
  25. message at
    Aorimn
    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
    Aorimn
    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
    Le_Coyote
    Hm
  28. message at
    Le_Coyote
    Hadn't even thought about something so simple
  29. message at
    Le_Coyote
    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
    Le_Coyote
    Nope, definitely not a permission issue
  31. message at
    Aorimn
    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
    Le_Coyote
    "Cannot load Auth Plugin <myauthplugin" is what DW says
  33. message at
    Le_Coyote
    It won't say why, which is annoying :)
  34. message at
    Aorimn
    huhu, what a bummer
  35. message at
    Le_Coyote
    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
    Le_Coyote
    Still no luck.
  37. message at
    Aorimn
    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
    Le_Coyote
    Yeah, I wanted to avoid such extremities but I guess there's not much left to do/try :/
  39. message at
    Aorimn
    :/
  40. message at
    Le_Coyote
    It's triggered when plugin_controller->load('auth', $input) returns null, apparently. More digging …
  41. message at
    Le_Coyote
    It returns null if disabled or already loaded … That's weird
  42. message at
    Le_Coyote
    But the annoying part is that the code doesn't report the actual reason
  43. message at
    Le_Coyote
    GOD D***IT. Found it
  44. message at
    Le_Coyote
    It's the nameing scheme of the class.
  45. message at
    Le_Coyote
    I called it auth_plugin_myplugin, but the plugin info text had myauthplugin as "base". Therefore, it wouldn't load. Brilliant.
  46. message at
    Le_Coyote
    Aorimn: Thanks for pointing me in the right direction :)
  47. message at
    Aorimn
    He, I've done nothing, you did everything :)
  48. message at
    Le_Coyote
    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
    Le_Coyote
    Now I just need to figure out cookie sharing with my website and I'll be all set :)
  50. message at
    Le_Coyote
    Bye for now :)
  51. part
    Le_Coyote (~smokey@6.245.118.78.rev.sfr.net) has left the channel (#dokuwiki) with message '"WeeChat 1.6"'
  52. quit
    khronosschoty (Elite21350@got.wet.salmon.slaps.from.elitebnc.org) has quit (Quit: ZNC 1.6.5-elitebnc:6 - http://elitebnc.org)
  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 (~antoine@nzf.turmel.info) has entered the channel
  56. quit
    GeekShadow (~antoine@nzf.turmel.info) has quit (Changing host)
  57. join
    GeekShadow (~antoine@reactos/tester/GeekShadow) has entered the channel
  58. quit
    SoundHunter (~SoundHunt@dersoundhunter.de) has quit (Quit: Rebooting...)
  59. join
    SoundHunter (~SoundHunt@dersoundhunter.de) has entered the channel
  60. quit
    SoundHunter (~SoundHunt@dersoundhunter.de) has quit (Quit: Rebooting...)
  61. join
    SoundHunter (~SoundHunt@dersoundhunter.de) has entered the channel