7913 Posts in 1355 Topics by 930 members
|Go to End||Next >|
26 January 2011 at 4:57am Last edited: 26 January 2011 4:58am
I don't even think you need that tool if you just watch your Apache accesslog:
So here's the request:
"POST /admin/assets/EditForm/field/Files/UploadifyForm/field/UploadedFiles/upload?ctf[Files][start]=0&ctf[Files][per_page]=10&ctf[Files][showall]=0&ctf[Files][sort]=SortOrder&ctf[Files][sort_dir]=&ctf[Files][search]=&ctf[Files][filter]=&ctf[Files][view]= HTTP/1.1" 401 683 "-" "Adobe Flash Player 10"
But I don't seem to see the file in there.
PHP Error Log is empty..... $allowed_extensions is empty so everything should work. FileSize throws a different error.
And here comes the weird thing. It did work a couple of days ago and I didn't change the File class. It still works on my development environment. But not anymore on the live server..... this is really confusing.
Could you point me to where Uploadify would throw a error in PHP so I can see the message that is returned to Flash?
26 January 2011 at 5:24am
You've got the request, but what you really need is the response, and you need to packet sniff for that. Flash won't throw PHP errors. It just knows HTTP codes.
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com
26 January 2011 at 5:40am
okok.. installed it, got the response
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<title>401 Authorization Required</title>
<p>This server could not verify that you
are authorized to access the document
requested. Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply
the credentials required.</p>
This looks like it points to the session.use_only_cookies maybe.... but it is set to "Off"
26 January 2011 at 5:47am
Ahh, a 401. Nasty. That's Apache saying it doesn't like something about your request. Looks like your server might be configured a little paranoid, refusing requests from Flash?
Can you disable mod_security?
1 February 2011 at 6:18pm
Now i dont get the http error, but the progress bar is stuck on 100%
When installing Charles, there is no response from the server.
This normally works on my local machine but not on the web server
1 February 2011 at 8:34pm
I cannot disable mod_security as I don't have the rights to do so...
Still weird for me also.... I just can't seem to be able to create files. Replacing works....
8 February 2011 at 5:44pm
I have a similar problem, Silverstripe 2.4.2 upgraded swfupload to uploadify as I have to upload .vcf files when selecting the file in files and images I receive a HTTP error.
Not a server problem as I have ftp'd onto the server and can view the files I have uploaded and they have been named filename2.vcf, filename3.vcf etc.
I can upload other files, any suggestions would be much appreciated.
8 February 2011 at 6:23pm
I don't think Silverstripe allows .vcf files. Check File::$allowed_extensions.
|Go to Top||Next >|