Ask a Question related to Macromedia ColdFusion, Design and Development.
-
rmorgan #1
string index out of range: 0
I cant see why I am getting this. I am passing some vars from one page to
another and would only like to display the variable if it is defined. Here is
sample of what I am trying:
<cfoutput>
<cfif isdefined(birthdate) is ""> <!-- I have also tried <cfif
isdefined(birthdate) is "null"> -->
Birth Date: #birthdate#
</cfif>
</cfoutput>
On the previous form that passes this var, it just a text box. What am I
missing? TIA
rmorgan Guest
-
String Index Out of Range: -2
I have created a form that generates an error when i post it live and try to submit it. The action page generates an error that says: string index... -
STRING INDEX OUT OF RANGE: -12
I am using a form to upload images into the images folder. Tha path to the image it is stored into the database. all works fine on my pc using... -
String index out of range: -16
I am using the CFFILE shown below to try and upload a PDF file. I get the error: String index out of range: -16 Am running CFMX 6.1 on a WIN2000... -
String Index Out of Range Error on String ComparisonQuery
I am running CFMX 6.1 on Linux connecting to a PostgreSQL database server. I am performing a simple SELECT * where somestring = thisstring When I... -
String index out of range: -6
I have a form that allows people to upload files to the server. Details about the users are stored to a database as is the location of their uploads... -
paross1 #2
Re: string index out of range: 0
How about....
<cfif isdefined(birthdate) AND birthdate EQ "">
Phil
paross1 Guest
-
rmorgan #3
Re: string index out of range: 0
Thanks, but this still did not work, any other suggestions?
rmorgan Guest
-
theriversideweb #4
Re: string index out of range: 0
It should be:
<cfoutput>
<cfif isdefined("birthdate")>
Birth Date: #birthdate#
</cfif>
</cfoutput>
theriversideweb Guest
-



Reply With Quote

