Hi all,
My logo has suddenly disappeared from my wiki.
In its place I get a broken image placeholder and the alt text from the image (i.e. the site name).
In trying to get it back I discovered two things, that seem to be related.
* The source code shows as
<img src="/_media/wiki/logo.png" alt="Knowledge Base" class="pull-left dw-logo-tagline" id="dw__logo" height="32" style="margin-top:-5px" />
However the folder
/_media doesn't exist, and if I create it and populate it with the required files the image is still broken
* Following the suggested method of changing the logo using the media manager, I noticed that all of the images in the media manager were showing as broken - even when I uploaded something directly into the folder. I checked that the folders and files were accessible (permissions 777) and they were, but not from the browser.
On further inspection I found the code that appears to be creating the link on line 633 of
common.php:
// decide on scriptname
if($direct) {
if($conf['userewrite'] == 1) {
$script = '_media';
} else {
$script = 'lib/exe/fetch.php';
}
} else {
if($conf['userewrite'] == 1) {
$script = '_detail';
} else {
$script = 'lib/exe/detail.php';
}
}
When I changed the line
$script = '_media';
to
$script = 'media';
it changed the link, but didn't bring back my logo.
I am using the latest version of Dokuwiki and the Bootstrap3 template.
Can anyone shed any light on this?