Not logged in. · Lost password · Register

All posts by Maffu (5)

topic: Logo not showing, image upload broken, wild underscore in URLS  in the forum: General Help and Support Installation and Configuration
Avatar
Maffu #1
Member since Aug 2019 · 5 posts
Group memberships: Members
Show profile · Link to this post
After much hair pulling, the fix for this was to remove a space from the beginning of inc/local.protected.php (before the <?php tag

I have no idea why a space was there, but I found it by running findbad.php and as soon as I deleted the space my images came back.
This post was edited on 2019-09-26, 10:52 by Maffu.
topic: Logo not showing, image upload broken, wild underscore in URLS  in the forum: General Help and Support Installation and Configuration
Avatar
Maffu #2
Member since Aug 2019 · 5 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 67134
Hi Myron,
Thanks for replying.
The thing is that is has, up until now, been displaying fine.
I'll try those suggestions and get back to you.
topic: Logo not showing, image upload broken, wild underscore in URLS  in the forum: General Help and Support Installation and Configuration
Avatar
Maffu #3
Member since Aug 2019 · 5 posts
Group memberships: Members
Show profile · Link to this post
Subject: Logo not showing, image upload broken, wild underscore in URLS
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
    1. <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:
  1.     // decide on scriptname
  2.     if($direct) {
  3.         if($conf['userewrite'] == 1) {
  4.             $script = '_media';
  5.         } else {
  6.             $script = 'lib/exe/fetch.php';
  7.         }
  8.     } else {
  9.         if($conf['userewrite'] == 1) {
  10.             $script = '_detail';
  11.         } else {
  12.             $script = 'lib/exe/detail.php';
  13.         }
  14.     }
When I changed the line
  1. $script = '_media';
to
  1. $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?
This post was edited on 2019-08-21, 17:37 by Maffu.
topic: Authad not available (I want to switch to authad, but get only PlainAuth as an option)  in the forum: General Help and Support Installation and Configuration
Avatar
Maffu #4
Member since Aug 2019 · 5 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 67089
Quote by cziehr:
Is the authad-plugin activated in your configuration manager?
It is, yes.

Quote by turnermm:
Make sure it's enabled in the Extension Manager.  If for some reason it has been deleted, make sure you have the latest dokuwiki, and then download a separate  copy of dokuwiki and in lib/plugins you will find authad.  Copy its whole directory to lib/plugins and make sure it's read-write to the web server.  To get the latest dw, if you don't have it, use the upgrade plugin; consult the dw wiki for upgrade instructions.
That got it back - thanks very much for your help, Myron.
I still can't get it to work though - as soon as I activate it I get an error
Something unforseen has happened: Maximum action transitions reached
...which is less than informative.
I guess I have more reading to do.

Anyhoo, thanks for taking the time to help.
topic: Authad not available (I want to switch to authad, but get only PlainAuth as an option)  in the forum: General Help and Support Installation and Configuration
Avatar
Maffu #5
Member since Aug 2019 · 5 posts
Group memberships: Members
Show profile · Link to this post
Subject: Authad not available
Hi Folks,
This is almost certainly down to my own cock-up, but Authad is no longer available for my Wiki.
When i go to Config > Authentication, next to authtype I just see Authplain (no other choices available)
When I first installed dokuwiki I did try to set up Active Directory authentication, but then changed tack to try something else.
Now I want to return to AD Authentication but it isn't available --- almost certainly because of some tinkering I've done while rummaging around in the backend.
I've tried the plugin installer but that doesn't give me the option to install - it just says bundled under the plugin name/description.
I have spent a good while getting the look of the wiki right and I have personally entered a lot of articles and information - neither of which I want to lose, obviously.
So, what could I possibly have done to make it disappear like that and, more importantly, how can I get it back without losing everything (my mind included)?
Any help is much appreciated.

Matt
This post was edited on 2019-08-12, 18:05 by Maffu.
Close Smaller – Larger + Reply to this post:
Special characters:
Special queries
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-12-07, 14:55:09 (UTC +01:00)