[wp-trac] [WordPress Trac] #16534: swfuploader IO error
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 11 14:23:40 UTC 2011
#16534: swfuploader IO error
--------------------------+----------------------------------
Reporter: funkimunky | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.1
Severity: normal | Keywords: SWFUploader IO Error
--------------------------+----------------------------------
I get an IO error when uploading using SWFUploader.
This might be related to this ticket
(http://core.trac.wordpress.org/ticket/14648) but I am not sure so I
opened another
I am 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 myemail at email.com
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.
I have created a crossdomain.xml file and placed this in the root of my
sites directory (this should be the only site that SWFUploader is trying
to access)
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds
/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="mydomain.stuff" />
<allow-access-from domain="*.mydomain.stuff" />
<allow-access-from domain="*.stuff" />
<allow-access-from domain="127.0.0.1" />
<allow-access-from domain="stuff" />
</cross-domain-policy>
This does not fix the issue.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16534>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list