• I have installed a locally hosted (ubuntu) multisite environment but have hit a problem with swfupload.
    When ever I try to upload an image I get the error http error. I can however upload using browser base upload but I need to get this working before deploying.
    I thought that this was something to do with permissions so I chmoded 777 to everything in html folder. This did not sort the problem
    I have also added to .htaccess

    #BEGIN Image Upload HTTP Error Fix
    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    but mod_security is not installed.

    I have upped the allowed file size upload to 100MB and increase the post size to the same.

    I am convinced that this is something to do with swfupload not being able to see or access the blog.dir folder but this must be something that is hardcoded into it as it should have permission and the browser upload does work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    There are two image uploaders. One is the flash (swf) and the other is the regular file uploader. Try the other one.

    I have to point out here that when the flash uploader doesn’t work, most of the time it’s your PC, not your server. :/ I can’t get it to work at all on my work PC because of the firewall, but at home it’s fine. Some things are unavoidable.

    Thread Starter funkimunky

    (@funkimunky)

    This seems to be fixed with the over night latest build of wordpress
    WordPress 3.1-RC4-17434

    There seems to be alot of changes with this one.

    Thanks for your feedback Ipestenu

    Thread Starter funkimunky

    (@funkimunky)

    It turns out that this wasnt fixed by updating the version. I got it wrong its something to do with the domain names that I use for the site.

    It turns out it isnt anything to do with version I am using.
    It seems to have something to do with domain names.
    I am now using local windows installation of wordpress in ZEND apache2 setting.
    I have set up windows host file to forward domain to localhost 127.0.0.1
    127.0.0.1 mydomain.local

    I have set up apache vhost.conf

    <VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot “D:/apachewww/mydomain/html”
    ServerName mydomain.local
    ErrorLog D:/apachewww/mydomain/log/mydomain.error.log
    CustomLog D:/apachewww/mydomain/log/mydomain.access.log common
    </VirtualHost>

    <Directory “D:/apachewww/mydomain/html”>
    Options -Indexes FollowSymLinks
    AllowOverride AuthConfig FileInfo
    Order allow,deny
    Allow from all
    </Directory>

    I have set up firefox to bypass proxy server for
    127.0.0.0/24,local,localhost,stuff

    this works fine for .local domain
    I can create a site the upload using swfuploader with no problems

    Now if I choose to use domain

    mydomain.stuff

    cleaning out the database and files then creating a new site.
    updating the vhosts.conf to reflect this and the windows hosts file
    I can browse and create a site
    but now if I try and upload images using swfuploaded I get an IO error
    It seems to be something specifically to do with domain names.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘swfupload http error’ is closed to new replies.