turnermm / ckgedit

CKEditor integrated into Dokuwiki
https://www.dokuwiki.org/plugin:ckgedit
GNU General Public License v2.0
59 stars 50 forks source link

Can't see any files in file browser when trying to link to "Internal media" #677

Open thestraycat opened 2 years ago

thestraycat commented 2 years ago

I have an issue where i cant see any files in the browser when i go to the internal media button in the link attachment secton of the editor:

chain link icon button > Click on the pulldown box and select "internal media" > then click on "browse Server" I see nothing.

If i click in the dialog box displaying root folder: " / " i get this error msg.

image

image

turnermm commented 2 years ago

First make sure the web server has read/write access to the media directory. If all that is OK, then if you are using windows, then in the Configuration Settings for ckgedit, choose the nix_style setting. And if need be, read about Setting up the file browser on the ckgedit documentation at DOKUWIKI org. You can also simply choose to switch over to using the native Dokuwiki linkwiz and file browser

turnermm commented 2 years ago

Sorry if the above is a bit terse or has any typos, but I'm on my phone.

thestraycat commented 2 years ago

@turnermm - Thanks for the reply. So i run Linuxserver.io's dokuwiki container installation on Unraid. (Linux)

My permissions and ownership look fine to me and match the attributes of the other persistant data for the container.

Permissions for the folder detailed below /config/dokuwiki/data/media image

For what it's worth CKGedit worked fine for me on the 2020 release of linuxserver's dokuwiki. I recently moved to a 2022 version (clean install) which is now when the problems have started. Absolutely everything else is fine with my installation.

As a work around i've defaulted back to using the dokuwiki built-in file-browser (configurable from the plugins settings menu for your plugin.) But would prefer to use yours if possible.

turnermm commented 2 years ago

Have you tried using the winstyle option?

thestraycat commented 2 years ago

Nope. Where's that?

turnermm commented 2 years ago

Under the ckgedit section of Dokuwiki's Configuration Settings.