Gibberations by Kiffin Gish...
Cyber-Gish | Kiffin's blog
Gibberations RSS feed
917 entries
1500 comments
Thursday / May 16th / 2002
   
Perl woes...

So I thought I would get fancy again and make my guestbook even nicer, nicer than it was ever meant to be. However, after I had changed some of the perl stuff and uploaded it to my cgi-bin directory again it all went boom. That is if I tried to add a new entry to the guestbook and hit the good old submit button, an ugly 500 internal error flew back in my face. Ugh and oops and what? What was the problem exactly? The most obvious choice is to recheck the Perl script for possible syntax errors, but that was perfectly fine. I had only changed a few items (5), and they all looked perfectly healthy to me. When I stuck back the original cgi-script to the server, everything was okay again. Weird. Why did I have to go off and change things, try to make them better but make them worse in the end? As it turned out, the cause of my problems was this and has to do with me "trying" to transfer my development environment to my new machine. The usual hassle. I use the wonderful tool called LeechFTP (sometimes crashes and/or generates cryptic error messages in German but in general pretty dependable and I am used to it). There is this option for setting file extensions which should be automatically uploaded in ASCII-mode. Well, you guessed it. The list of extensions was reset to the default after installation (".txt.htm.html.nfo.diz") and does NOT include the CGI extension. Oops, that means that when I try to transfer the file guest.cgi to my site, it gets sent in BINAIRY mode which is bad. Bad boy. Bummer man. I now quickly fixed that by appending the text "/Blogger/archives/.html.html.htaccess.pm.cfg.html" to the end of the default list. Don't want to forget the other types of files I upload regularly and end up having the very same frustrating problem now do I? Now everything works just fine again. Again and again. No use wasting energy doing low-level debugging stuff when that is not necessary. First think, think deeply, before proceeeding to the next step. Again and again.


~ Posted at 09:40 PM | Technical stuff
20 visitors
So far there are 2 comments.

just checked it out... one comment/question: As I was typing into the comment field, there was this weird line re-wrapping kind of thing going on. Is that normal, or is my p.c. just on crack?

- Posted by Stu D. at May 16, 2002 11:30 PM

No you're pc is not on drugs again. That weird affect is due to my HTML-validator and tidy programs which insert linebreaks after the (textarea)-tags resulting in extra unplanned for space. The browser sees this as real space for some reason. I have fixed the problem in my next (XHTML-compliant) release where I added the following statement to the (body)-tag of that page: onload="document.frmGuestbook.comments.value=''".

- Posted by Kiffin at May 17, 2002 09:35 AM

Add another comment:

"The heart has its reasons of which reason knows nothing..."  - - Blaise Pascal, Pensées.
Navigation
In order to go back to the main blog just click on the button below.
Most visited
Here are the top twenty visited entries in this blog: (2004) Mangled mess
(1544) Crackedty-crack
(1171) Maslow's hierarchy of needs
(992) Maslov's pyramid
(777) Don't sneeze
(748) Telepathic messages
(660) Growing a beard can be hazardous to your health
(628) Where all of us came from
(555) Fish tycoon
(516) Bush and Saddam
(385) Get me on your pda
(360) Cold sweat
(281) Squeaky clean windows
(252) Queen's birthday
(222) Vibrating washing machine
(208) Top referers
(207) How people find me
(177) A beautiful armpit
(160) Top phrases
(151) Phineas Gage

Top Googles
Here are the top 20 Google searches bringing folks to my blog:
(875) maslov
(657) how to clean windows
(598) maslov pyramid
(562) growing a beard
(480) fish tycoon crack
(440) maslow's pyramid
(418) fish tycoon registration code
(351) how to grow a beard
(342) maslov hierarchy of needs
(329) maslov hierarchy
(318) phineas gage
(285) javascript sleep
(264) maslov's pyramid
(226) maslow pyramid
(204) fish tycoon
(200) link:btrx-_qryr4j...
(163) maslows hierachy of needs
(151) maslov's hierarchy of needs
(129) clean windows
(127) boys in bikinis
Guestbook
Prove you were here and tell me what you really think. You can either sign my guestbook or just have a look.

Top referers
Here are the top 20 web sites bringing folks to my blog:
(50) Weblog Review
(26) dogpile.com
(19) nutrition-sports-...
(9) Splog
(8) home.bellsouth.net
(8) metacrawler.com
(5) Ageless
(3) zoeken.nl
(3) Grow-a-brain
(3) search1-2.free.fr
(3) answers.com
(3) hamptonroads.cox.net
(2) talk.guardian.co.uk
(2) toolbar.google.com
(2) MovableType
(2) as.cometsystems.com
(2) Blogdex
(2) sn.webservicehost...
(2) a9.com
(2) as.starware.com

Bloggers forum
Please visit my new discussion forum. It is dedicated to all bloggers worldwide and called Bloggers Galore. Come and make yourself known, and contribute to the collective blogging consciousness.
PDA notes
Check out the mobile version of this blog.
Check out the mobile version of this blog.
Last 100 posts
Articles about blogs

Video
Wondering what this guy is trying to prove? Play the video and find out:
This is a short video which you might find entertaining...
media player ( hi | lo )
real player ( hi | lo )
Contact
There are a number of ways you can get a hold of me, just pick one:

Email:
MSN: Email: kiffin_gish@hotmail.com
ICQ: 101918614
AIM: My AIM username is 'CyberGish' CyberGish

[ I use Trillian Pro ]
Blogs I reviewed
For awhile now as official weblog pseudo-analyst on the weblog review, I have written a number of reviews about the following sites:

big picnic | untamed | my november | neurosis | runnerblog | this is what orgasms look like | hustlebox | becoming | journal life | mark's weblog | macaroni | syaffolee | alt164 | cheese | people's republic of seabrook | isabella's teddy's travels | random rationale | after horizon | 168 | fuh-q dot com | twisted soul | drifting castles | one moment | neal curley dot com | reality rendered | most definitely

My weblog was also once reviewed so you might want to have a look at
kiffin's blog.

You might also want to check out the blog control site.