Not logged in. · Lost password · Register
Forum: General Discussion Installation and Configuration RSS
Images on edit toolbar not showing, path seems to be wrong
DokuWiki adds dokuwiki/ in front of paths
mikebell #1
Member for a month · 4 posts
Group memberships: Members
Show profile · Link to this post
Subject: Images on edit toolbar not showing, path seems to be wrong
Hi all,

I installed DokuWiki and it was a quick process. Everything seems to be working except the tollbar on Edit/Create page screen. For some reason, image paths look like this:

http://mysite.com/dokuwiki/lib/images/toolbar/mono.png  (generates 404s)

when they should look like this:

http://mysite.com/lib/images/toolbar/mono.png  (images open fine)

How do I remove that dokuwiki prefix from images and other lib components?

Thanks!
Avatar
chi (Moderator) #2
Member since Jun 2006 · 607 posts · Location: Munich Germany
Group memberships: Global Moderators, Members
Show profile · Link to this post
Did you maybe set the $conf['baseurl'] configuration option?
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
mikebell #3
Member for a month · 4 posts
Group memberships: Members
Show profile · Link to this post
Chi,

In my conf/doku.php, I have this:

$conf['baseurl']     = '';                //URL to server including protocol - blank for autodetect

and

$conf['basedir']     = '';                //absolute dir from serveroot - blank for autodetection

I never changed these values...

wiki itself resides in a /var/www/wiki/  directory.
mikebell #4
Member for a month · 4 posts
Group memberships: Members
Show profile · Link to this post
Any ideas anyone??
Avatar
andi (Administrator) #5
Member since May 2006 · 654 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Do you use rewriting? Maybe you have a wrong rewritebase setting?
Read this if you don't get any useful answers.
mikebell #6
Member for a month · 4 posts
Group memberships: Members
Show profile · Link to this post
No... no rewriting. Just a default .htaccess file is there. Seriously, how can everything work fine except the images on Edit screen? This must be a bug and not a settings mistake.
Avatar
chi (Moderator) #7
Member since Jun 2006 · 607 posts · Location: Munich Germany
Group memberships: Global Moderators, Members
Show profile · Link to this post
Quote by mikebell:
No... no rewriting. Just a default .htaccess file is there. Seriously, how can everything work fine except the images on Edit screen? This must be a bug and not a settings mistake.

Is it a .htaccess or a .htaccess.dist? If it's the former could you post it's contents (The default .htaccess sets the rewrite base to /dokuwiki if uncommented).

Is your wiki online, can we have a look at it?
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
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, 1.6.4, © 2003-7 by Yves Goergen
Current time: 2008-05-17, 06:22:42 (UTC +02:00)
WikiForumIRCBugsTranslate