954,593 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Date function error and cffile

Friends, I have two bugs I would like to fix,I know thier is someone out thier that can shed some light into this.
First one is simple I don't know what I typed wrong for the date function it says this as below

Missing argument name.
When using named parameters to a function, every parameter must have a name.
The CFML compiler was processing:

An expression beginning with DateFormat, on line 140, column 75.This message is usually caused by a problem in the expressions structure.
The tag attribute value, on line 140, column 67.
A cfinput tag beginning on line 140, column 12.



138 :
139 :
140 :
141 :

and the second bug is when I upload an images directory to the database and I want to edit the form, it only shows the text fields , while the upload field is blank, I tested the image on a list form and it displays with all the text fields, My question , how can I populate the upload file field with the directory I display in the list form.

Thanks A lot

zoid777
Newbie Poster
16 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

OOOOP! mistake on my path the ‘mm/dd/yyyy’ should have been "mm/dd/yyyy" instead.
one solved one to go friends.

zoid777
Newbie Poster
16 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

After going through a lot of research, i found out its not possible to repopulate a file field because of security reasons. however i could display the directory to the file and the file name to the client and ask them to copy and paste it into the file field.

zoid777
Newbie Poster
16 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You