Hi,
I was using JFU with PHP successfully, but today I transferred everything to a new server.
Now, for some reason, I got a "405 Method Not Allowed" error within the applet when I use the settings I used in the old server (HTTP PUT), and if I revert back to POST (I remove the httpmethod param), I get a "404 File Not Found" error. These errors come after attempting to retry the upload four or five times.
Circumstances:
1) Both servers are Linux/Apache/PHP.
2) PHP max upload is 200M and $max_size in JFU PHP is 100M
3) File trying to upload is only 40k
4) Didn't change any config or paths when I moved over to the new server
5) Path for files is CHMOD 777, so permissions not an issue
What is the problem here?
Error 405 with PUT method, Error 404 with POSTRe: Error 405 with PUT method, Error 404 with POSTCan you try process.php directly from your browser ?
http://yourserver.com/something/process.php Try to select a file from the HTML form and upload, does it work ? Re: Error 405 with PUT method, Error 404 with POSTYes, using the PHP file standalone works fine. Any ideas?
Re: Error 405 with PUT method, Error 404 with POSTDouble check that "url" parameter is the same you've used in browser for testing.
Re: Error 405 with PUT method, Error 404 with POSTSigh.
Sometimes the simplest solutions are the most obvious. You were right. It was staring me right in the face but I didn't spot it! Sheesh. Thanks a lot. ![]() |