Results 1 to 2 of 2
  1. #1
    Abina's Avatar
    Abina is offline Master
    Join Date
    Dec 2009
    Location
    United States
    Posts
    1,073
    Thanks
    1
    Thanked 6 Times in 4 Posts
    Feedback Score
    0

    Default Weird Random ColdFusion error :confused:

    Hi there ,

    I started working on this project ,already developed by someone in '05 , and the client wants some changes to be done.so i went ahead and did some small modifications to the appearance of the form (insertdata.cfm page) like adding some more options to a drop down menu , changing the label names and so on and am very sure this changes would not have effected the application in any way.And the place where the message says the error can be , i didnt even touch that part.Now after 4 days i start getting this weird error saying " Error Occurred While Processing Request
    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."

    And this happens randomly not everytime i access the website or different webpages.Here are the errors.

    FIRST ERROR
    The error occurred in /export/web/virtual/web3_unt_edu/cps/webaccess/sites/Amarillo/index.cfm: line 8
    5 : SELECT UserName,Password FROM user_data WHERE UserName=
    6 : <cfqueryparam value="#FORM.UserName#" maxlength="8">
    7 : AND Password=
    8 : <cfqueryparam value="#FORM.Password#" maxlength="8">
    9 : </cfquery>
    10 : <cfif MM_rsUser.RecordCount NEQ 0>


    I tried adding " cfsqltype="cf_sql_clob" & varchar but it doesnt work out.

    SECOND ERROR

    The error occurred in /export/web/virtual/web3_unt_edu/cps/webaccess/sites/Amarillo/InsertData.cfm: line 13

    11 : <cflocation url="#MM_failureURL#" addtoken="no">
    12 : </cfif>
    13 : <cfquery name="rsDay" datasource="cps">
    14 : SELECT days FROM days
    15 : </cfquery>


    THIRD ERROR

    The error occurred in /export/web/virtual/web3_unt_edu/cps/webaccess/sites/Amarillo/InsertData.cfm: line 27

    25 : ORDER BY ethnicity ASC
    26 : </cfquery>
    27 : <cfquery name="rsHospitals" datasource="cps_amarillo">
    28 : SELECT *
    29 : FROM hospitals

  2. #2
    numberone's Avatar
    numberone is offline Senior
    Join Date
    Jan 2010
    Posts
    623
    Thanks
    0
    Thanked 1 Time in 1 Post
    Feedback Score
    0

    Default

    When a NULL value is returned it generally is your datasource. I had this experience with Hosting.com ( Formerly HostMySite.com ) I had to write a script that would loop over until it returned no error.

Similar Threads

  1. Selecting Random Row from Database
    By manik in forum Databases
    Replies: 5
    Last Post: 08-05-2011, 07:51 AM
  2. Replies: 1
    Last Post: 02-02-2010, 11:35 AM
  3. Capturing Referrer Using ColdFusion.
    By Abina in forum ColdFusion
    Replies: 1
    Last Post: 02-02-2010, 11:31 AM
  4. JavasScript variable to Coldfusion
    By Abina in forum ColdFusion
    Replies: 1
    Last Post: 02-02-2010, 11:11 AM
  5. What is coldfusion?
    By wujijiangjun in forum ColdFusion
    Replies: 8
    Last Post: 01-05-2010, 09:59 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Partners: BOSTON WEB DEVELOPER, LLC   |   WEBCOSMO CLASSIFIEDS