Help - Search - Members - Calendar
Full Version: Javascript Error On "show Display Options"
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
playfulkitten
I just updated to MT 3.2 from 3.1.7, and everything went fine (well, once I realized I'd forgotten to upload the static files, and that WS FTP flat out didn't upload some files I'd told it to upload wink.gif).

There's a problem though. When I click "show display options" nothing happens and I get "toggleDisplayOptions is not defined" in the JS console. When I look directly at mt.js, js/tc.js, and js/tc/tableselect.js there's no mention of that method in any of them. (I wasn't sure which JS file that should be in, so I looked at 'em all, in addition to the inline Javascript for the main index page.)

Obviously there's something missing, but I'm not entirely sure why it would be; I downloaded right from my account. I'm at work right now so I don't have the ZIP file "on me", but if needs be I can download it again.

Any help would be greatly appreciated. smile.gif
playfulkitten
I should also add that the CSS doesn't seem to be working right either. I actually have the display options on the page, but the alignment is horrific. The heading "Display Options" shows up underneath "Show Display Options". Then, the radio buttons for which way to sort them appear right underneath the first blog's listing, and then the other radio buttons for whether to sort ascending or descending and whether to view compacted or extended show up under the last blog listing.

I'm assuming that normally these are supposed to be hidden (display: none in the CSS) and then the "Show Display Options" link is supposed to show them, but show them better than what I'm seeing.
playfulkitten
Sorry for yet another bump...

I'm having more and more issues with lots of JS functions and whatnot being undefined, so I'm going to go ahead and download 3.2 again, unzip it again, and upload files to the server again (the hard way, unfortunately, 12 files at a time with cPanel's file manager upload biggrin.gif). I can't even post a new entry because when I click save I get the error "submitForm is not defined". sad.gif
playfulkitten
That seems to have done it. I downloaded the full version this time, rather than the upgraded version. I'm going to stick the full install zip somewhere not publicly accessible on my web space, then when I get home compare the files in it with the files in the upgraded version (specifically the static area files) to see if there's a conflict. If none, I'm going to see what got unzipped to my HD pre-upload to see if the conflict is there.

I have to say I've never had this big an issue upgrading before, even when moving to 3 (can't remember which 3.x I moved to at first) from 2.6. Probably operator error, but I'd swear that WS FTP is glitching as well. Gonna have to move to CuteFTP or something else.
lisa
QUOTE (playfulkitten @ Dec 12 2005, 09:31 AM)
That seems to have done it.  I downloaded the full version this time, rather than the upgraded version.  I'm going to stick the full install zip somewhere not publicly accessible on my web space, then when I get home compare the files in it with the files in the upgraded version (specifically the static area files) to see if there's a conflict.  If none, I'm going to see what got unzipped to my HD pre-upload to see if the conflict is there.

I have to say I've never had this big an issue upgrading before, even when moving to 3 (can't remember which 3.x I moved to at first) from 2.6.  Probably operator error, but I'd swear that WS FTP is glitching as well.  Gonna have to move to CuteFTP or something else.
*

Hi,

Actually the full and upgrade versions are identical. We've gone to a single distribution now.

I think the issue was that your FTP program wasn't sending the javascript (.js) files up as ASCII. You should be able to set your FTP progrm so it knows that:
cgi
js
pm
pl

are all ASCII.
playfulkitten
QUOTE (lisa @ Dec 12 2005, 12:11 PM)
QUOTE (playfulkitten @ Dec 12 2005, 09:31 AM)
That seems to have done it.  I downloaded the full version this time, rather than the upgraded version.  I'm going to stick the full install zip somewhere not publicly accessible on my web space, then when I get home compare the files in it with the files in the upgraded version (specifically the static area files) to see if there's a conflict.  If none, I'm going to see what got unzipped to my HD pre-upload to see if the conflict is there.

I have to say I've never had this big an issue upgrading before, even when moving to 3 (can't remember which 3.x I moved to at first) from 2.6.  Probably operator error, but I'd swear that WS FTP is glitching as well.  Gonna have to move to CuteFTP or something else.
*

Hi,

Actually the full and upgrade versions are identical. We've gone to a single distribution now.

I think the issue was that your FTP program wasn't sending the javascript (.js) files up as ASCII. You should be able to set your FTP progrm so it knows that:
cgi
js
pm
pl

are all ASCII.
*



That's why I was a bit confused. I'm sure it's operator error of some peculiar sort, but I've yet to figure out what.

I do know I've given my FTP program a ton of files to do as ASCII rather than binary (more than just JS; also PHP, CGI, etc.). I just don't know what my operator error is yet or if WS FTP has become ultra flaky or what.

I just... I've seen others have lots of upgrade problems with earlier versions and I never had any of them; everything always upgraded fabulously for me. So I don't know what happened to my brain between the last time I upgraded and now. Perhaps my luck just ran out.
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-2008 Invision Power Services, Inc.