Hi, I included this into a form I have but not sure how to incorporate basic functionality. I have been through all the docs and anything I could find on it. I just want to be able to upload files (and hopefully rename them) into a directory and store a path into my db. Is there some guidance somewhere on how to get me started with this?

Hi, I included this into a form I have but not sure how to incorporate basic functionality. I have been through all the docs and anything I could find on it. I just want to be able to upload files (and hopefully rename them) into a directory and store a path into my db. Is there some guidance somewhere on how to get me started with this?

Asgaroth, I appreciate the response. Yes I have been through those files, like I said anything I could find on the topic. I just need a booster to get running with it. Sorry should have included some of what I have done. Here is just where things stand now since I have tried a variety of things. I tried incorporating actionMultiple into my actionUpload in the controller but that didn't work. Since I included your code into my form I assume they should be together?

My only response to that is because I was trying to include this as part of another form. Taking your advice and trying to start from square one without introducing other attributes into the upload process. This is what I have now.

Did you want to see the generated javascript? Sorry I am new to t/s json but thought firebug would show JSON responses as javascript objects in its own tab under NET. I see nothing there though. My source does have the generated js if that is what you are talking about.

not the generated javascript, but the server JSON response, you (probably) can see that in the console. it is not clear to me if you got the demos working? what you are trying to do should be no problem, is the same funcionality as that of the demo.

Ok even when trying the demos on a clean build I still get a 500 error although this time the response is "does not exists." without any further details. Since I am not getting anything with Firebug do you have any other ideas on how I can track down why nothing is happening. It's confusing though because it allows me to pick a file then it gives a status bar as if it is uploading and that goes away but nothing happens.

but does the folder exists? /var/www/youapp/images/uploads ? if not then thats the reason you are gettung an error, because realpath is returning false, thus setting the "path" attribute of the action to nothing.

because realpath is returning false, thus setting the "path" attribute of the action to nothing.

Asgaroth, thanks this was my problem. I had the folder but as Jesse brought up I too left the "s" off. I am now uploading. I appreciate the help and definitely appreciate the extension. It is very helpful.

Jesse, on 08 August 2011 - 01:19 PM, said:

- the folder was named "upload" instead of "uploads" (missing 's')

Thanks Jesse, Now can you please let me know who granted you access to my box since you found my error?