geeking again.
so i contacted MT about 3.2 not working on windows servers. they're pretty quick with the replies. they said:
This error is most likely coming up because Windows 2003 Server doesn't set the current working directory to the path of the CGI script. You can confirm this discrepancy by looking at the top of the mt-check.cgi results:# Current working directory: (path)
# MT home directory: (different path)To correct this behavior, you (or your host) should do the following:
1. Create a "virtual directory" under IIS that is the home to the "mt" directory where your CGI files reside.
2. Install the new lib/MT/Bootstrap.pm file that will be sent by email to your address.Once you do those things, the two paths in mt-check.cgi should match, and Movable Type should run properly;
so with the help of the other guys here, i did steps one and two. now, sure enough, the two paths match (except for switched \ and / slashes.
BUT, now i have some screwy DB error.
-- update --
sixapart put up this article on their site to help with this problem.
yay.
http://www.sixapart.com/movabletype/kb/installation/cgi_error_on_ii.html
another dream:
i just got to work and phil calls.
phil: eric! where are you?
me: um...work. it's tuesday. where are you?
phil: ice skating!
me: what?
phil: ice skating!
me: i heard you. but what's going on?
phil: everybody took off of work today to go ice skating. why aren't you here?
me: everybody? no one told me.
phil: oh yeah. everybody's here. how come no one told you?
me: dunno.
phil: well, we're not even on the ice yet. so leave work and come on over!
so i frantically started to figure out how to leave work. and leaving work early in our recent work environment/climate is a tricky thing. we've been panicking and thinking we're not productive enough and showing enough results. "we".
anyway. i woke up shortly after the phone call. it was a weird dream. random and unexplained.
but, later that day...phil called.
he wasn't ice skating. but he did call to try to convince me to play basketball with everyone tonight. which we did. well, there were 6 of us. and we played 3 on 3 FULL COURT. the trick is to have a new rule: you can't pass across half-court. this way, everybody runs, everybody gets tired, and everybody's almost always on a fast break. try it next time you have 6 people and you're tired of waiting for those last 4.
Walking silently is an art that most people have not successfully developed to any degree. With practice, one can improve and master the art of stealth.
and their tip:
" Frequently test your skills. Try sneaking up on a friend and ask them if they heard you."
...did you hear me?
a quote from an article sent to me:
When nerds are unbearable it's usually because they're trying too hard to seem smart. But the smarter they are, the less pressure they feel to act smart. So as a rule you can recognize genuinely smart people by their ability to say things like "I don't know," "Maybe you're right," and "I don't understand x well enough."- www.paulgraham.com
it was actually an article about starting your own startup. but i thought it was a good quote about smart people.
geeking out again.
remember that last post about MT and the chinglish and windows servers? yeah. so do i.
so i wanted to install IIS on my box so i could test my code changes before i push them to our live server and ruin everybody's life. IIS is just a windows component and you shouldn't really need install discs or anything.
but computers, like god, work in mysterious ways. but entirely different than the U2 song that explains how 'she moves in mysterious ways'. ok. moving on...
the IIS installer kept being a bitch. it kept saying:
and i'd have to searching for this DLL and that DLL. it sucked, and i ran out of patience. so i went to my friend, the "internet" and found this gem:
and it led me through this process to help me get it done. it might help you, too. in general, windows documentation is pretty good. most of the problems i run into while doing basic stuff is documented somewhere. for the other stuff, i bug my friends or end up alone, sad, and crying.
bones is the coolest. and the cutest! take a look!
he finds stuff like this: https://www.quickbase.com/db/bam6rdiey?a=q&qid=5
it's a site that tells you how to get a live human to talk to you when you call various customer service places.
probably works better than me screaming "LIVE AGENT" over and over to 'claire', sprintpcs' horrible customer service automated lady.
if you don't have a gmail account, you're a sucker. and if you have a gmail account but haven't set up your personalized google page (www.google.com/ig), you're maybe an even bigger sucker.
i set up my page to show me my gmail inbox, new york times stories, wired news, and a few eHow How-Tos. today i learned how to do a Frontside 180 Ollie on a Skateboard.
I hope that one day we can all be so fortunate...
this title is not completely true. it's actually really slick. IF you get it working.
getting it working on a non-windows server is cake. upload the stuff, unpack it, edit the mt-config.cgi file, then open up ../mt.cgi and BAM! you're done.
so i did that on this site, and i'm all happy. but i tried upgrade MT on a win2003 server, and i lose. i get this:
so i don't know what the hell that means. seriously. stop misbehaving already.
so i search the "internet" and find david yin's site. he's all upset about the same problem. is it the dave yin i knew back in college? no. this dave yin seems more computer-y and less english-speaking.
anyway, to summarize all the chinglish in the MT forums about installing MT 3.2 on win2003 server:
- mt-check.cgi works, but the other *.cgi files give the funky message above. bastards.
- it appears that sixapart got all sneaky and did code changes with this version. and as dave points out:
Adding directories to @INC
The parameters to use lib are added to the start of the perl search path. Saying
use lib LIST;
is almost the same as saying
BEGIN { unshift(@INC, LIST) }
Look, the "almost" is italic on the original documentation. That means it must contain some differences. I used all my fingers to search the difference.
- while i didn't search with more than one or two of my fingers to find the difference, i believed him.
- if you still believe dave, you can get around this problem by going through the scripts and replacing:
or, if you believe this guy
all you have to do is:
BEGIN {
chdir "D:/www/myweb/cgi-bin/mt";
}
(The path specified in the 'chdir' statement is the path where the file being modified is located.)
or
you can go with dave and just download his already-edited *.cgi files here.
or you can do what i'll probably do: wait for sixapart to get off their asses and put up a version of MT 3.2 that works on windows servers.
all joking aside, this david yin guy seems pretty hardcore. check out his blog. it's pretty cool. code AND pictures of food!
so i upgraded MT again. we're rolling on 3.2 now, baby. tell me if things are funky.
and because a song asked me, i'll ask you:
"what are you going to do with all that junk? ...all that junk inside your trunk?"
so i haven't been posting. i know, i know. sorry. there's a lot of things going on. parents are moving back unexpectedly, girlfriend is moving away unexpectedly, and i'm not so sure what i want to do with my life.
but i do have this for you:
video clip of our day on bora bora.
right-click and 'save as...', then view with quicktime.
http://www.chairmanlau.com/kanye/sub