-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin not listenting files. #41
Comments
In my case, filelist works fine, even with the option "&direct=1". This particular option just gets ignored, since it got dropped since the recent rewrite. My dokuwiki resides on a linux served by apache2 2.4.57 and php 8.2.7 . However, due to the rewrite of the plugin, I had to add proper aliases to paths in the dokuwiki config and modify all my calls to filelist accordingly. |
I cannot reproduce the error. @nitromethanol please provide the complete syntax and your path configuration. |
Hi @splitbrain . Here is my code, but do not understand why yo need it. Thanks anyway. {{filelist>/var/www/wikiredes-nueva/data/pages/<COMPLETE_PATH_HERE>/files*.txt&direct=0&style=table&showdate=1}} |
Still can't reproduce it. &direct=0 is simply ignored as mentioned by @KaiMartin. I just saw "report an error on PHP" - what error? |
Hi. Seams that "direct" do no do a thing. But if I do not convert to String '$this->webdir' variable, it's wont list files. |
closing this. there's simply no useful info for debugging here. |
Hi @splitbrain, Finally, I was able to recreate the error by upgrading this plugin again. This is the error that appears on the screen:
No more errors were found in the syslog. If I modify line 237, it starts working again. |
please provide the stack trace from the dokuwiki error log. |
Ofcourse. THANKS for Dokuwiki @splitbrain !!
|
@nitromethanol I am still not sure what's going on. The issue is that the webpath config is empty for this path but this shouldn't happen. Unfortunately you still have not provided the path configuration for the plugin as requested. |
This plugin, updated until today, only show "[n/a: No Match]" . If add some extra options like "&direct=1" just report an error on PHP.
To fix this add this code to /var/www/wikiredes-nueva/lib/plugins/filelist/Output.php file, on line 237:
if (str_ends_with(strval($this->webdir), '=')) {
The text was updated successfully, but these errors were encountered: