While I was setting up the new mooWalkthrough I encountered a problem the page editor in Dokuwiki. The Toolbar was missing. You can still use the editor without the toolbar but it’s nice to be able to click it for the headers.
I looked into it myself and with firebug, I discovered that there was a missing text variable (they really named it text, really). I wasn’t about to hunt through Dokuwiki’s javascript either.
To fix the problem, a good old google search lead me to this forum post. One of the solutions in that thread is to disable CSS and Javascript compression.
You can do that by going to your conf folder in your dokiwiki installation directory. Find the dokuwiki.php and open that up. Look through it for $conf["compress"] and if it equals 1, change it to 0 to disable it. Then go back to your browser and clear your cache to force dokuwiki to regenerate the CSS/Javascript file. If your Toolbar comes back, then you’re in luck. If not, then you’ll have to do some more hunting.
thanks. this helped me a lot.
In lib/scripts/media.js change the line
media =
to
var media =
(so add ‘var ‘ to the front)
and it should work again in chrome. Posting here since I found this topic first when searching for an answer.
Thanks for the tip.
Thank you, this fixed it.