You are here
Max Fischer - Fri, 2016/11/11 - 11:50
Hi there,
when I do a fresh install of dokuwiki (latest version),
login to dokuwiki after the installation is finished
upload a file
the I get a broken link to the file (see screenshot). It's naturally also not showing when embedded into any wiki page.
I suppose it has something to do with the rewriting rules, but since I have no clue about the topic I'm not really getting anywhere right now.
Can someone point me into a direction where to look for the problem?
Thanks in advance
Forum:
Tags:
Hey Max
Out of interest, where is DokuWiki looking for the file? You should be able to right click on the broken image and open it in a tab. It will no doubt fail and give you an error but the address bar should give you the url. Or probably even just getting the url from the text link.
That will hopefully give us a hint on what might be going wrong.
Also it's probably worth posting an issue on our tracker as it appears to be a bug.
Hi Jeremy,
the URL is http://host/_media/xxx.png which seems consistent to the rewriting rule
I will post the bug report on github.
Thank you
Hmm, I thought it may have been a hostname issue
My guess is that it's either a bug in the Debian DokuWiki package (which seems somewhat unlikely, but possible) or our default config is flawed.
I couldn't see an issue on the tracker so I created one so it doesn't slip through the cracks.
Unfortunately I'm going to have to come back to this when I have some more time so I'm not much help to you right now. But thank you tons for reporting this. In the meantime, if you manage to resolve it, please let us know. Assuming that we can reproduce the bug, we can develop a manual workaround for it for now. And include a proper fix for v14.2.
Hey Max - Are you still about?
Thank you so much on reporting it. We won't be fixing this in the appliance just yet. But as we are currently working on the v14.2 release, hopefully the new fixed version won't be too far away. In the meantime you can apply the workaround on your existing server if you'd like.
Please let me know if you need a hand implementing it.
Hi Jeremy,
thanks for looking into the issue. In the meantime I helped myself with a vanilla debian installation and will stay with it for the time being. But thanks for the support anyway.
No problem Max
Add new comment