Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 757941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T15:25:17+00:00 2026-05-14T15:25:17+00:00

I have been using Uploadify in my PHP application for the last couple months,

  • 0

I have been using Uploadify in my PHP application for the last couple months, and I’ve been trying to track down an elusive bug. I receive emails when fatal errors occur, and they provide me a good amount of details. I’ve received dozens of them. I have not, however, been able to reproduce the problem myself. Some users (like myself) experience no problem, while others do.

Before I give details of the problem, here is the flow.

  • User visits edit screen for a page in the CMS I am using.
  • Record id for the page is put into a form as a hidden value.
  • User clicks the Uploadify browse button and selects a file (only single file selection is allowed).
  • User clicks Submit button for my form.
  • jQuery intercepts the form submit action, triggers Uploadify to start uploading, and returns false for the submit action (manually cancelling the form submit event so that Uploadify can take over).
  • Uploadify uploads to a custom process script.
  • Uploadify finishes uploading and triggers the Javascript completion callback.
  • The Javascript callback calls $(‘#myForm’).submit() to submit the form.

Now that’s what SHOULD happen. I’ve received reports of the upload freezing at 100% and also others where “I/O Error” is displayed.

What’s happening is, the form is submitting with the completion callback, but some post parameters present in the form are simply not in the post data. The id for the page, which earlier I said is added to the form as a hidden field, is simply not there in the post data ($_POST)–there is no item for ‘id’ in the $_POST array. The strange thing is, the post data DOES contain values for some fields. For instance, I have an input of type text called “name” which is for the record name, and it does show up in the post data.

Here is what I’ve gathered:

  • This has been happening on Mac OSX 10.5 and 10.6, Windows XP, and Windows 7. I can post exact user agent strings if that helps.
  • Users must use Flash 10.0.12 or later. We’ve made it so the form reverts to using a normal “file” field if they have < 10.0.12.

Does anyone have ANY ideas at all what the cause of this could be?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T15:25:17+00:00Added an answer on May 14, 2026 at 3:25 pm
    IOError: Client read error (Timeout?)
    

    I got the same error a lot although my server side is python/django. I assumed it was the client timing out, but looking back though the logs for you now there seems to be a coincidence of this ceasing when I changed something in the authentication routines. Is it possible that the server is receiving the file but then refusing to write it to storage?

    Also, you aware that several flash clients do not send cookies? You have to work around it by injecting the session keys into uploadify’s ‘scriptData’ variable.

    x——————————–

    Edit. This python/django code starts off the routine to which uploadify submits itself:

    # Adobe Flash doesn't always send the cookies, esp. from Apple Mac's.
    # So we've told flash to send the session keys via POST. So recreate the
    # session now. Also facilitates testing via curl.
    cookie_name = settings.SESSION_COOKIE_NAME
    if request.member.is_anonymous() and request.POST.has_key(cookie_name):
    
            # Convert posted session keys into a session and fetch session
            request.COOKIES[cookie_name] = request.POST[cookie_name]
            SessionMiddleware().process_request(request)
    
    # boot anyone who is still anonymous
    if request.member.is_anonymous():
        response['message'] = "Your session is invalid. Please login."
        return HttpResponse(simplejson.dumps(response), mimetype='application/json')
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 380k
  • Answers 380k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer This will probably work and will be utterly convenient, but… May 14, 2026 at 9:51 pm
  • Editorial Team
    Editorial Team added an answer The code in your edited example fails because of the… May 14, 2026 at 9:51 pm
  • Editorial Team
    Editorial Team added an answer What's wrong with simply writing your string to disk? using… May 14, 2026 at 9:51 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.