Ok, every once in a while, usually the first time I load my website every few 
hours, I am getting this error:

" The system has attempted to use an undefined value, which usually indicates a 
programming error, either in your code or some system code.

Null Pointers are another name for undefined values."

upon refreshing the page, the error goes away completely (even clearing all 
private data will not bring the error back), which is making it very difficult 
to pinpoint exactly what the problem is... here is the code I have that is 
throwing the error, according to Coldfusion it throws on line 8:

4 : <cfset finduser = ListToArray(cgi.server_name, ".")>
5 : <cfquery name="rsfinduser" datasource="#application.db#">
6 : SELECT dealerID, username, first_name, last_name
7 : FROM tblsozo_dealers
8 : WHERE username = '#finduser[1]#'
9 : </cfquery>

The only thing I could figure is that finduser[1] was undefined, so I added a 
clause to give finduser[1] a name in the highly unlikely event that it was 
undefined, to no avail.  Also, the error is only throwing on my web server, not 
on the testing server, don't know if that is important or not.

Any help would be greatly appreciated!  Thanks! 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308580
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to