Error uploading images into post
I have no idea what to look at to address this. I turned on debug mode and there are no errors. I looked in my apache logs and see no errors. My settings has this for images. I created the directory and chmod'ed it to 775.
#UPLOAD SETTINGS FILE_UPLOAD_TEMP_DIR = os.path.join( os.path.dirname(__file__), 'tmp' ).replace('\\','/') FILE_UPLOAD_HANDLERS = ( 'django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler', ) ASKBOT_ALLOWED_UPLOAD_FILE_TYPES = ('.jpg', '.jpeg', '.gif', '.bmp', '.png', '.tiff') ASKBOT_MAX_UPLOAD_FILE_SIZE = 1024 * 1024 #result in bytes DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
FILE_UPLOAD_TEMP_DIR translates to:
>>> from django.conf import settings >>> settings.FILE_UPLOAD_TEMP_DIR '/home/lmeadm/Sites/askbot-site/../askbot-site/tmp' >>>
And my directory with perms:
drwxrwxr-x 2 lmeadm lmeadm 4096 2012-04-17 11:10 tmp
I don't see any other file/upload related settings.