Not logged in. · Lost password · Register
Forum: General Help and Support Server Setup RSS
Logo not displayed on login screen, but is once logged in.
Avatar
chris.walker #1
Member since Jul 2019 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: Logo not displayed on login screen, but is once logged in.
Hi,

I have just set up a new instance of Dokuwiki, 2018-04-22b.

I set a custom logo by placing the new png in the wiki folder. The logo appears correctly when logged in on the start page.
It does not display on the login page though. Instead an icon suggesting the link to the image isn't available is displayed instead.

The path to the image appears the same on both the start page and login screen - http://<ip>/lib/exe/fetch.php?media=logo.png.

What could cause this?
Avatar
andi (Administrator) #2
User title: splitbrain
Member since May 2006 · 3501 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Check your ACLs. ACLS apply to media, too. Your logo is most likely placed in the wiki namespace and that is probably not set to be readable by unauthenticated users. Since the wiki namespace does not contain any secret information (only stuff about DokuWiki itself like the syntax page) it's safe to open up reading for this namespace to anonymous users (@ALL).
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Avatar
EstJoe #3
Member since Mar 2019 · 1 post · Location: UK
Group memberships: Members
Show profile · Link to this post
I have recently solved the same problem here with this solution:

Delete the new logo from the root and 'wiki:' both locations in the Media Manager. The only place you must have it is:
    lib/tpl/dokuwiki/images/logo.png
Web Hosting | Linux VPS
Avatar
ach (Administrator) #4
Member since May 2006 · 1946 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
See also https://www.dokuwiki.org/template:dokuwiki#changing_the_logo
Especially:

Please make sure that those namespaces (either root or wiki:) are readable to all users. Otherwise the image will be broken to users who are not logged in.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-12-08, 23:26:24 (UTC +01:00)