Thursday, November 17, 2005

Banging My Head Against the Wall Yet Again...

Well, as a programmer, I shouldn't let this one get to me as much as it does; but still, I hate when it happens. Just a few days ago, I was working on a website, still am working on it, that was working fine a about 1-2 days before. When I found out that I had a few errors in the coding. When I went to look through the files to see what or where I went wrong, I kept comming up with nothing. After about 2-3 hours of fiddling around with the code I finally gave up and went to look for help. Having a friend/ex-instructor/IT Pro. look it over, he also, at frist glance saw nothing wrong. A few minuits later he saw that somehow, I had an opening javascript tag with no closing one to follow left in the script I was working on.
Guess what happened was that I was working on a MS Word generated html file in a html editor and when I put the include files in it somehow generated the closing tag. Another part of this goes back to when I was, also still am, working on one of my very own websites I have decided to write in php. The problems started there a few days before I upgraded my MySQL to the new release. I thought the upgrade would fix the problems, but me being the way I am failed to read some articles on how php doesnt like the new version of MySQL and ended up with more problems.
I get everything to work fine under phpmyadmin, just not in any of the other scripts I've written I've even tried replacing the mysql_connect statements with the ones that were recommended on many of the PHP/MySQL support forums. This didn't work either. so , I'm still dead in the water on that. However, I did find a temporary fix using a portal package called GuppY.