Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CFFILE problems

Guest
Feb 22, 2009 Feb 22, 2009
I just launched a new site and am finding that some users are having problems uploading photos to their profile, while others are not. I never had a problem with any files I used for testing purposes, but one user emailed me the photo she was trying to upload and I got an error during the delete section of my code (different from hers during upload). This is the error she got:

"An exception occured while trying to write the image.
Ensure that the destination directory exists and that Coldfusion has permission to write to the given path or file. cause : coldfusion.image.ImageWriter$ImageWritingException: An exception occured while trying to write the image."

And this is the error I'm getting with her image (not any of the ones I've used in the past or created using my digital camera):

"ColdFusion could not delete the file e:\web\myssage.com\photos\A.jpg for an unknown reason."

The images that are working and not working are both jpegs that can be easily viewed in a browser. Any ideas? I've created a test account if anyone wants to try and duplicate the problem.

http://www.myssage.com/login.cfm

name: test
password: test

My first CF site, any help is greatly appreciated!
299
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 22, 2009 Feb 22, 2009
make sure you have all cfimage hotfixes installed on your server - there
were a couple of those, one in particular dealing with file locking issue.

cf8 hotfixes page:
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402604&sliceId=1

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 22, 2009 Feb 22, 2009
LATEST
I think you're right, I dumped the CFFILE contents for both this user's jpeg and the ones I've been using and noticed no difference, but after I upload the user's image I am unable to delete CFFILE.serverfile, while it's not a problem for other jpegs. I'm guessing it's locked, don't really know what that means or how to fix it if the hotfix is already installed on the server. Guess I'll have to wait until they work on my ticket.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources