Savvy Content Manager Community

Community for users of Savvy Content Manager

I'm new to Savvy! With that said, the problem I've having is that I've creating a form that allows a upload to upload content (documents). I'm not using the savvy upload method.

I'm using the regular
1) The serverFileExt attribute is missing when looking at a cfdump of the cffile object
2) The typical xxxxx.tmp file name is gone missing when looking at a cfdump of the cffile object
...in fact, alot of things are different and not expected (since I've never used savvy before)

My assumption is that the file is instantly being moved once its been uploaded, maybe a "watch directory" gateway has been set up???

In addition, my "uploadFile" function is in the application scope, because I store my cfc's there. I'm not sure how savvy works and I'm not sure what differences this may or maynot make,

Any help or suggestions is highly appreciated.
Attachments:

Reply to This

Replies to This Discussion

If you can't locate the file at all, you may check to make sure that cffile is allowed on your host, or that the attributes for cffile are turned on for that hosting account. I would also check to make sure there are no restrictions on your temporary directory... make sure you have read and write permissions.

Reply to This

Thanks for the reply.
The "uploads" folder which I trying to place files into does have write access. In addition, cffile is turned on. The problem is where the file goes after its hit the server. Below is the cffile dump data after I have attempted to upload a file, in this case, its a gif image called "theatermap"

ATTEMPTEDSERVERFILE uploads
CLIENTDIRECTORY theatermap.gif
CLIENTFILE theatermap.gif
CLIENTFILEEXT gif
CLIENTFILENAME theatermap
CONTENTSUBTYPE gif
CONTENTTYPE image
DATELASTACCESSED {d '2009-08-10'}
FILEEXISTED YES
FILESIZE 99528
FILEWASAPPENDED NO
FILEWASOVERWRITTEN NO
FILEWASRENAMED YES
FILEWASSAVED YES
OLDFILESIZE 99528
SERVERDIRECTORY D:\ColdFusion8\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp
SERVERFILE uploads24
SERVERFILEEXT [empty string]
SERVERFILENAME uploads24
TIMECREATED {ts '2009-08-10 11:08:55'}
TIMELASTMODIFIED {ts '2009-08-10 11:08:55'}

Just looking at the "SERVERFILENAME" will show that something suspicious is going on since the file I attempted to upload was " theatermap.gif, this has been modified as the return of the cffile action!

I inspected the KT_FileUploads.cfc its its moving files around, but I don't have the time to really inspect this much deeper.

Reply to This

To clarify. There are no listeners. Savvy is don't nothing to your upload. Savvy has a few things stored in application scope application.savvycm.xyz but that will have no effect on your custom code. I suspect it has something to do with the hosting environment.

Does uploading a file in the savvy editor work ok? Or is that also not working as expected? We have one customer on hostmysite reporting that files are not being named correctly. This is not a Savvy but, but we haven't determined how the hosting environment has changed to cause this. Not sure if your issue is similar or not. If you can upload with the editor and it works fine, then it is unrelated. If you can't upload with the editor (and haven't altered any savvy editor code) then it may be a bigger hosting issue.

Reply to This

RSS

Forum

Kody Hagen

Firefox 3.6 Editor Incompatability 6 Replies

Started by Kody Hagen in Using Savvy. Last reply by Vincent Vanier 49 minutes ago.

Michele Lugiai

javascript and custom code object 1 Reply

Started by Michele Lugiai in Installing Savvy. Last reply by Sherry Labonte Mar 16.

Michele Lugiai

error after rebuilding template 3 Replies

Started by Michele Lugiai in Using Savvy. Last reply by Sherry Labonte Mar 16.

Badge

Loading…

© 2010   Created by Joshua Cyr on Ning.   Create a Ning Network!

Badges  |  Report an Issue  |  Privacy  |  Terms of Service