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

  • Home
  • SEARCH
  • 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 3626852
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T23:48:52+00:00 2026-05-18T23:48:52+00:00

Im having a very weird issue. I have a normal ajax call that upload

  • 0

Im having a very weird issue.

I have a normal ajax call that upload the avatar you choose from your pc up to the server..

this works sometimes, sometimes i can see in firebug under the Net that after some time loading, it gets “Aborted” and marked in red.

i even have a ajaxstart ajaxend loader icon and the icon keeps showing even when it gets aborted.

Why is this happening, and how can i prevent it from aborting? And maybe how can i make a “try again” if it got aborted?..why is it even aborted :S

Ive noticed it happening on bigger demension/size files? And on the file it request(fileupload.php) i do have a checker there, to callback an error if its bigger. But i think it does not even get to the file before it “lags” and stops..

Update confirmed: this occurs when i try to ajax send file with bigger size..

  • 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-18T23:48:53+00:00Added an answer on May 18, 2026 at 11:48 pm

    How are you sending files through Ajax? Ajax does not support sending files.

    If it is a connection timeout in jQuery console it will show in red color and the failure handler of the ajax request will be called.

    You can handle any conditions you want there. To remove timeout issue you can add a attribute timeout to your ajax request. I think the default value is 30 seconds

    $.ajax({
        url : "",
        data : {},
        success : function(data, textStatus, XMLHttpRequest){
        },
        error: function(XMLHttpRequest, textStatus, errorThrown){
            if(textStatus == "timeout"){
                alert("timeout")
            }
        },
        timeout : 600000
    });
    

    Since you are using ajaxfileupload try this

    $.ajaxFileUpload({
        .....,
        timeout: 60000,
        error: function (data, status, e)
        {
            if(status == "timeout"){
                alert("timeout")
            }else{
                alert(status)
            }
        }
    })
    

    And make sure that you does not have any max file upload size set in your server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having a very weird situation that is driving me nuts. I have a
I'm having a very weird issue here, I have set-up my solr architecture as
I am having a very weird issue with my fresh dedicated server. It has
I'm having a very very weird issue that I'm unable to see... I tend
Ok, very very weird issue here. I have a sub nav menu that links
I'm having a very weird issue in IE6. If I set a div container
Im having a very strange problem, i have a complicated view that returns incorrect
I'm having a very strange issue with Python's subprocess.Popen. I'm using it to call
I am having a very weird problem that I've never had before when using
I was having a very weird segfault that I eventually fixed today. It seems

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.