Help - Search - Members - Calendar
Full Version: Rollovers In Mt4 Backend Don't Work
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
FiZ
Hi,

just installed MT4 on a new server and it went real easy.
But when I log into the system now, I'm having troubles because the rollover navigation does not work. There are a lot of javascript and css errors and the rollovers simply don't appear.

also I am not able to post an entry because the editor is not loading/working. I can't enter any text into the body-field nor is any of the formatting/file upload etc buttons working.

Looks like a major javascript problem. I tested this with Firefox, IE7, IE6 and even IE 5.5 ... all the same ;(

Does anyone know what the problem is?

thanks and kind regards

Marc
imabug
usually this kind of problem occurs when the mt-static folder hasn't been properly copied over, or MT can't find/read the JS files in mt-static that it needs.

Normally mt-static should be copied to whatever location is specified by the StaticWebPath directive, generally some location under the webserver's DocumentRoot or somewhere accessible by the webserver
FiZ
I copied the mtstatic-folder into my httpdoc directory ... and the mt-installation routine says that it found the mt-static-folder. Yet I have these problems. Could it be incorrect folder or file permissions?
justG
Is it possible that you've encountered the same problem I did?
http://forums.sixapart.com/index.php?showtopic=63279
FiZ
kind of the same problems ... but waiting for the scripts to be loaded does not help.

These are the errors I get (german error msgs, hope you guys can figure it out anyway smile.gif:

Fehler: uncaught exception: Die Erlaubnis für den Aufruf der Methode Location.toString wurde verweigert

Fehler: missing : after property id
Quelldatei: http://www.separatisten-online.de/mt-stati...ompact.js?v=4.0
Zeile: 1216, Spalte: 8
Quelltext:
override( Cookie, {

Fehler: TC is not defined
Quelldatei: http://www.separatisten-online.de/mt-static/js/tc/client.js
Zeile: 16

Fehler: Class is not defined
Quelldatei: http://www.separatisten-online.de/mt-static/mt.js?v=4.0
Zeile: 965

Fehler: App is not defined
Quelldatei: http://www.separatisten-online.de/cgi-bin/mt/mt.cgi
Zeile: 1639

Fehler: missing : after property id
Quelldatei: http://www.separatisten-online.de/mt-stati...ompact.js?v=4.0
Zeile: 1216, Spalte: 8
Quelltext:
override( Cookie, {

Fehler: TC is not defined
Quelldatei: http://www.separatisten-online.de/cgi-bin/...y&blog_id=1
Zeile: 106

Fehler: Class is not defined
Quelldatei: http://www.separatisten-online.de/mt-static/mt.js?v=4.0
Zeile: 965

Fehler: App is not defined
Quelldatei: http://www.separatisten-online.de/cgi-bin/...y&blog_id=1
Zeile: 924

Fehler: missing : after property id
Quelldatei: http://www.separatisten-online.de/mt-stati...ompact.js?v=4.0
Zeile: 1216, Spalte: 8
Quelltext:
override( Cookie, {

Fehler: Class is not defined
Quelldatei: http://www.separatisten-online.de/mt-stati...lendar.js?v=4.0
Zeile: 38

Fehler: DOM is not defined
Quelldatei: http://www.separatisten-online.de/mt-stati.../Proxy.js?v=4.0
Zeile: 38

Fehler: Class is not defined
Quelldatei: http://www.separatisten-online.de/mt-stati...nRange.js?v=4.0
Zeile: 7

Fehler: Class is not defined
Quelldatei: http://www.separatisten-online.de/mt-stati...Editor.js?v=4.0
Zeile: 38

Fehler: Editor is not defined
Quelldatei: http://www.separatisten-online.de/mt-stati...Iframe.js?v=4.0
Zeile: 12

Fehler: Editor is not defined
Quelldatei: http://www.separatisten-online.de/mt-stati...xtarea.js?v=4.0
Zeile: 12

Fehler: Editor is not defined
Quelldatei: http://www.separatisten-online.de/mt-stati...oolbar.js?v=4.0
Zeile: 12

Fehler: TC is not defined
Quelldatei: http://www.separatisten-online.de/mt-static/js/tc/focus.js
Zeile: 18

Fehler: TC is not defined
Quelldatei: http://www.separatisten-online.de/mt-stati.../tagcomplete.js
Zeile: 25

Fehler: TC is not defined
Quelldatei: http://www.separatisten-online.de/mt-static/js/tc/client.js
Zeile: 16

Fehler: Editor is not defined
Quelldatei: http://www.separatisten-online.de/cgi-bin/...y&blog_id=1
Zeile: 310

Fehler: Class is not defined
Quelldatei: http://www.separatisten-online.de/mt-static/mt.js?v=4.0
Zeile: 965

Fehler: App is not defined
Quelldatei: http://www.separatisten-online.de/mt-static/js/edit.js?v=4.0
Zeile: 3

Fehler: MT is not defined
Quelldatei: http://www.separatisten-online.de/cgi-bin/...y&blog_id=1
Zeile: 512

Fehler: Template is not defined
Quelldatei: http://www.separatisten-online.de/cgi-bin/...y&blog_id=1
Zeile: 522

Fehler: MT is not defined
Quelldatei: http://www.separatisten-online.de/cgi-bin/...y&blog_id=1
Zeile: 991

Fehler: missing : after property id
Quelldatei: http://www.separatisten-online.de/mt-stati...ompact.js?v=4.0
Zeile: 1216, Spalte: 8
Quelltext:
override( Cookie, {

Fehler: TC is not defined
Quelldatei: http://www.separatisten-online.de/mt-static/js/tc/client.js
Zeile: 16

Fehler: Class is not defined
Quelldatei: http://www.separatisten-online.de/mt-static/mt.js?v=4.0
Zeile: 965

Fehler: App is not defined
Quelldatei: http://www.separatisten-online.de/cgi-bin/mt/mt.cgi
Zeile: 1639

also I get tons of css-errors and warning.

Hope this helps figuring out my problems ..

thanks again

Marc
justG
Perhaps the thread to which I directed readers of this one isn't clear enough: I determined that the mt.js that resides inside MT is different from that which is provided in mt-static. The former is 6KB and the latter is 82KB. mt.js is set to rebuild with indexes by default, so when your site is rebuilt, that 82KB file is replaced with a 6KB file, that is obviously missing lots of code. So, waiting for it to load completely won't help, as you've discovered.

Try:
- Replacing your mt-static/mt.js with the one in the MT4 archive you downloaded from Six Apart.
- Telling MT not to rebuilt mt.js with indexes.
- Logging out and logging back in.

If that works, and your JavaScript functionality is restored, then you can open the 82KB mt.js in a text editor, select all > copy, edit the mt.js index template (which produces the 6KB file), select all > paste. Then you can re-tick the option to build it with indexes.

If the problem you're encountering is the same one I did, then this should take care of it. Hope it helps.
FiZ
thanks justg for rephrasing that thread.

unfortunately it doesn't help, as my mt.js (which is in the static folder9 still has a size of 81kb.
So I guess it's still the original one ... yet i still have the same problems.

thanks though!
suchasplus
QUOTE (FiZ @ Aug 20 2007, 02:10 AM) *
thanks justg for rephrasing that thread.

unfortunately it doesn't help, as my mt.js (which is in the static folder9 still has a size of 81kb.
So I guess it's still the original one ... yet i still have the same problems.

thanks though!

just use mtIgnore labels to comment mt.js in HTML head templates
you will know mt4 can work well without loading mt.js

by a guy who troubled a lot because mt.js errors
Gtalk:suchasplus@gmail.com
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.