Topic on Project:Support desk

Edit toolbar's gone missing

7
Deathgleaner (talkcontribs)

I just installed MediaWiki and I enabled the editing toolbar as well as the Advanced Editor. After editing my wiki for several hours, the toolbar just magically disappeared and I have no idea why! Now it's just a plain text-box.

I miss my editing functions, do you know what might have gone wrong?

Config details

  • MediaWiki 1.19.7
  • PHP 5.2.17 (apache2handler)
  • MySQL 5.1.57
79.232.32.56 (talkcontribs)

I just put a question here and saw your issue.

I have this issue, too, here and then. I am on OSX and I think it has to do with javascript. For some reason it seems to crash now and then. In my opinion it happens more often when using Chrome. When that's the case I have no toolbar (as you mentioned) and other extensions using javascript won't work no more.

When I quit and restart the browser, it works again.

Ciencia Al Poder (talkcontribs)

Look at the error console of your webbrowser for any Javascript error.

Deathgleaner (talkcontribs)

On Chrome all I get is

Uncaught SyntaxError: Unexpected token < 

and Firefox I get:

Timestamp: 5/26/2013 7:00:00 PM
Error: SyntaxError: syntax error
Source File: http://wiki.phlemcraft.com/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector&*
Line: 20
Source Code:
<script type="text/javascript" src="http://stats.hosting24.c
Timestamp: 5/26/2013 7:00:00 PM
Error: SyntaxError: syntax error
Source File: http://wiki.phlemcraft.com/load.php?debug=false&lang=en&modules=skins.vector&only=scripts&skin=vector&*
Line: 6
Source Code:
<script type="text/javascript" src="http://stats.hosting24.c
Ciencia Al Poder (talkcontribs)

Look the source file which gives the error: . At the end of the file, your hosting is injecting HTML code that breaks the script. It's supposed to be a JavaScript file, no HTML is permitted there, hence the error.

Look if you can disable that in your host's control panel, or ask your host for support for removing that. It's common for free hosting service to inject codes so ads appear on pages. If that's the case you should move to another (paid) hosting.

Deathgleaner (talkcontribs)

The edit toolbar has never worked for me since it stopped working. Even if I restart my computer or switch browsers.

162.38.184.116 (talkcontribs)

please check your preferences. One of the options can be "Enable section editing via [edit] links"

Reply to "Edit toolbar's gone missing"