I was about to murder somebody until...

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

I was about to murder somebody until...

Post by Luke »

I found out that the reason I have been pulling my hair out wanting to scream at the top of my lungs at the stupid computer was due to not selecting a database before trying to use it... I am a moron... a very angry moron... :evil: :x :?

EDIT: I just had to let somebody know... because this is the most angry I had ever been at code in my life... I was about to seriously kill somebody. Project is supposed to be done by next week and this stupid bug was driving me INSANE!

But I'm cool now... 8)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Heh, such a simple bug. It's easy to overlook the simple errors and think it's something complicated or "odd."
User avatar
Ollie Saunders
DevNet Master
Posts: 3179
Joined: Tue May 24, 2005 6:01 pm
Location: UK

Post by Ollie Saunders »

I was going mad at array_map and array_walk a while back. One of them modifies by reference and the other returns and also the parameters differ.
It's easy to overlook the simple errors and think it's something complicated or "odd."
Very true.
I've started keeping a diary of bugs now.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

ahem, mysql_error() :wink:
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Uh, I have never done that 8).

/me, looks the other way quickly so as not to show the blatant lie screaming out of my eyes...
User avatar
MrPotatoes
Forum Regular
Posts: 617
Joined: Wed May 24, 2006 6:42 am

Post by MrPotatoes »

dude the simplest errors are the worst but the best when you figure it out.

for instance, when some of my buddies were coding i would open up a file, #define e 0 (making anything with an e in code mean 0) then save and close it. then give them a half hour wondering with them what was wrong.

then 1/2 hour later i'd tell them. those were the good ole days

*sigh*
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Jcart wrote:ahem, mysql_error() :wink:
lol yea... I kept using $Mysql->getError() and never checked to make sure that Mysql->getError returned mysql_error()... and it didn't.
Post Reply