johanp
Hello!
I installed Dokuwiki a few days ago (RC3) and I'm very happy with it so far. However, today something weird happened.
The edit toolbar (with the H1, H2.. etc buttons) has suddenly disappeared! Instead there is a text link saying "Media Files" and nothing else.
I can of course still edit, but the toolbar is quite handy and I'm missing it a lot.
Oh, this happens in Firefox 1.5. I opened my wiki in MSIE and could see the toolbar. But why is it missing in FireFox? I've emptied my cache with no visible effect on the toolbar.
I'm grateful for any ideas. Thank you in advance.
Johan Peitz
andi
Press shift reload tomake sure your browser doesn't have an invalid cache. If the problem remains check the JavaScript console for errors.
johanp
Hmm... That actually solved it. Allthough not right away. I hard reloaded multiple times with no luck. Then I simply did not use the browser for a while and now it's back. Weirdness.
Thanks for the help!
gfroese
Is there a real solution to this?
I'm also experiencing it in both IE and FF.
khev
I am also experiencing this problem in Opera 9, Firefox 2, and IE 6. Clearing the cache did nothing - there is no evidence of the Javascript even being there in the source.
andi
I just talked to a guy on the IRC about this problem and discovered, that he upgraded from an older release without updating the conf/dokuwiki.php file. This caused a config variable to be unset which broke the JavaScript. So make sure your conf/dokuwiki.php is up to date (all your local changes belong to conf/local.php).
gfroese
as Andi said, problem is solved.
Score another point for open source and online collaboration.
khev
Thanks!
oso
Hello,
I am experiencing a strange problem with the toolbar. same symtoms as described in the initial posting, but the solutions provided here do not work for me.
to be more precise: the toolbar does show up in one installation, but it doesn't on another (on another machine)
what I did was a pure standard installation, nothing special:
1. download & extract in the DocumentRoot of the server (... ./htdocs/dokuwiki/...)
2. chown -R apache dokuwiki
3. run the install.php script, enter a name and save.
now on one webserver everything runs without errors and the toolbar shows up; on another webserver everything runs without errors as well but no toolbar shows up. instead, there is just the media files link visible.
what I tried:
- cleared the browse cache
- did a shift-reload (firefox)
- used the internet explorer
- disabled the cache in firefox using the web developer toolbar
.. but no toolbar appears.
the system having these problems is a fedora core 4 with php 5.0.4 - anything wrong with that?
it's weird: everything works, just the toolbar isn't there.
please, if you have any tips/ideas, I would be glad...
yours, Oliver
winfrei
The same problem with me.
The edit toolbar shows up on a web server (Apache 2.0.54 and PHP 5.1.5) and is not there in a local installation (Apache 2.2.3 and PHP 5.2.0-3). The new dokuwiki.php is installed in both cases.
When I click on the edit button the "error console" shows this:
Error: missing ; before statement
Source File:
http://localhost/dokuwiki/lib/exe/js.php?edit=1&write=1
Line: 1, Column: 160
Source Code:
var DOKU_BASE='/dokuwiki/';var alertText='Bitte geben sie den zu formatierenden Text ein.\nDieser wird am Ende des Dokuments eingefügt.';;var notSavedYet=Nicht gespeicherte Änderungen gehen verloren!\nWeitermachen?';v;var reallyDel=intrag wirklich löschen
oso
I could not find any other information about this problem.
I tried to track down the differences of the two platforms (where the one works and the other not) and was very surprised to find out that there are no big differences at all. both systems are:
fedora core 4 with installed packages:
* php-5.0.4-10.5
* httpd-2.0.54-10.4
* php-pear-5.0.4-10.5
I also noticed the same javascript error ("Error: missing ; before statement ....."). It might be that the javascript code is being garbled because of encoding problems. But I can't say much more ...the infamous line 1 is very long: in my texteditor it wraps over more than 3 pages and is very difficult to read :(
Also, I set the language to 'en' and cleared the dokuwiki cache in dokuwiki/data/cache to force the creation of new renderings. durings these tests, the cache of my firefox browser was _disabled_ (firefox web developer toolbar, "disable cache"). but the results were the same, script error on line 1, toolbar does not work etc.
this is really annoying. the customer now asked me to install dokuwiki on a windows machine as the problem is not solvable right now.
cheers,
oliver
gamut
I had this problem with my page; though I made a template to match the rest of my site. I traced it back to my inclusion of "mootools" in the header -- apparently there's a conflict in the js. So I suggest turning on the js error console, or looking for conflicting code.
chi
Hi :),
did you have any particular reason to awake a thread where the last post was made on 2006-11-28 ;-)?
exiang
I faced the same problem as well with the latest release of 2008-05-05
I tried all the method mentioned above such as refreshing browser cache and even reinstall a clean copy but still failed.
Thru firefox console, i found that there is a error message of "missing;"
I open the generated js file and found that the problem appears at function sack
Seems that the " and ; is missing in the compression process.
I tried to set $conf['compress'] to 0 then found the problem solved; at least, temporary.
I am sure something goes wrong during the compress process because I have checked the function sack(file) in tw-sack.js and found no error.
Hope this info helps.
min-yang
Wow,, I had the identical problem as above and finally succeeded debugging. :-D
After I reloaded a write page with editing toolbar disappeared I tracked down the cause of the problem with the help of FireFox's error information (hotkey: Ctrl + Shift + J -> This is amazing!!!)
In my case the cause was the lightbox plugin which seems to be incompatible with the most recent release of dokuwiki (2008-05-05 version). Thus I removed lightbox plugin manually, reloaded the writing page, and editing toolbar came up again!!!
Hope this would be helpful to someone who losts their editing tool bar. :)
o-o
same here
I have downloaded the Lightbox2(if I remmember correctly) and installed it on my dokuwiki-2009-02-14. Buttons vanished.
After I deleted the Lightbox, all is fine again.
chi
And you've read and followed the tips provided in this thread right?
mysticmoon
In my case it was an outdated dokuwiki plugin (spellchecker). It appears that, since it adds a button onto the end of the edit toolbar and was throwing an error, it killed the entire toolbar generation.
tonysutherland
In my case, it was the tabinclude plugin which appeared to cause the problem.
I had to use the Firefox debugger to tell me which script was causing an uninitialised variable error and then find where that script was in the plugins and disable the plugin.
This seems to be a common cause of issues with the editor buttons. And since the editor buttons are a chief usability aspect of the system, maybe there could be some sort of defensive programming instituted to assist in not allowing this to happen - particularly in relation to the way that plugins are allowed to access or interact with the editor button bar etc. (Just a thought - not meaning to be too pushy or anything).
pieregi
I have the same problem. After the installation of the ickle template the edit toolbar disappers. I tried all the solution found on this forum, but none works for me.
Any suggestions?
Thanks.
Pieregi