dcsimg
A Flash Developer Resource Site

Results 1 to 13 of 13

Thread: HTTPerror 500

  1. #1
    Senior Member Boombanguk's Avatar
    Join Date
    Jun 2000
    Posts
    1,194

    HTTPerror 500

    Hi,

    ok this has got me stumped.

    i'm trying to use the file upload function of F8. I've used this before and its worked fine. Basically I want to upload a file, create a new folder for it, then move then have that uploaded file in the new folder.

    but no matter what I do I keep getting the HTTPerror 500. I've placed the html page and .swf in the same directory as the php file online so thats fine. The other thing is that if i just call the php file directly with something like "upload.php?folder=1000" everything works fine, and it creates a folder called 1111. But when I run things from the Flash movie, I get that error.

    Any ideas? I was thinking maybe it has something to do with security?!?

    thanks for any help
    boombanguk

  2. #2
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    Try this. Open the .htaccess file on your server where the file upload is and enter this:

    SecFilterEngine Off
    SecFilterScanPOST Off
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

  3. #3
    Senior Member Boombanguk's Avatar
    Join Date
    Jun 2000
    Posts
    1,194
    had a quick look on my server, couldn't see a .htaccess file anywhere.

    Also I've got a crossdomain.xml file on this server for another .swf on another server, could that be effecting things?

  4. #4
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    Quote Originally Posted by Boombanguk
    Also I've got a crossdomain.xml file on this server for another .swf on another server, could that be effecting things?
    What exactly are you doing with that?
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

  5. #5
    Senior Member Boombanguk's Avatar
    Join Date
    Jun 2000
    Posts
    1,194
    well I just deleted the crossdomain.xml file to see if it makes any difference and it doesnt.

    Anyway I tried the same swf/php script on a different server and it worked fine. Which means its the server that has the problem. What would the issue be??

  6. #6
    Senior Member Boombanguk's Avatar
    Join Date
    Jun 2000
    Posts
    1,194
    havn't solved it yet, but its looking like some weird security issue with the FastHosts server. They just put a php upload test file in my server and said this "The script changes the upload type to a .txt file (this is for security reasons)"...I'll look at that and see if i can get mine working.

  7. #7
    Senior Member Boombanguk's Avatar
    Join Date
    Jun 2000
    Posts
    1,194
    nope not working. The script they put on the server runs fine when just running it straight through the html form, but doesn't work when running through the Flash movie.

  8. #8
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    Did you ask the server company more details?
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

  9. #9
    Senior Member Boombanguk's Avatar
    Join Date
    Jun 2000
    Posts
    1,194
    yeah, and they just gave me that script which works fine, but doesn't help. The flash upload doesn't work with the Fasthosts server. I've managed to get it working, with it uploading to another server, but based on the FH server using a crossdomain policy file, but thats hardly a good way of doing it.

  10. #10
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    Change the company. Sometimes that seems to be the only solution.
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

  11. #11
    Senior Member Boombanguk's Avatar
    Join Date
    Jun 2000
    Posts
    1,194
    ok i decided to go with a cross domain policy file. And that allows me to upload the image to another server, but the upload function doesnt' seem to be able to get the right infomation back from the other server, as it just says "attempting to upload "ssss.jpg",and stays like that, even though the file is successfully uploaded. I'm thinking the .swf on one server accessing a script on another server is causing issues for it?

  12. #12
    Senior Member joshstrike's Avatar
    Join Date
    Jan 2001
    Location
    Alhama de Granada, España
    Posts
    1,131
    Holy crawling horrors, thank you so much for that, cancerinform. I've been smacking my head against this for the last 6 hours trying to figure out where the error was. This is definitely the most important thread I've read on flashkit in ages.

  13. #13
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    It's part of Flash experience
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center