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 8309647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:11:14+00:00 2026-06-08T19:11:14+00:00

I have a pretty wide-spreaded question …. I don’t understand how Upload Progress Module

  • 0

I have a pretty wide-spreaded question …. I don’t understand how Upload Progress Module works , and it kind of doesn’t work for me too , so ….

1) I have installed nginx with all the upload modules (nginx, nginx-extras) , and php-fpm

2)This is part of my nginx config for the project:

    location ~ \.php$ {
  include /etc/nginx/fastcgi_params;
  fastcgi_pass 127.0.0.1:9000;
  fastcgi_param SCRIPT_FILENAME /home/cha0s/learnphp$fastcgi_script_name;
  fastcgi_param PATH_INFO $fastcgi_script_name;

  track_uploads proxied 1m;
}

location ~ ^/files/(.*)$ {
        alias /home/cha0s/$1;
        internal;
}

location ^~ /progress {
        # report uploads tracked in the 'proxied' zone
        report_uploads proxied;
}

3)I followed the tutorial at the bottom of this page: http://wiki.nginx.org/HttpUploadProgressModule :

So i have a form and upload progress bar:

<form id="upload" enctype="multipart/form-data" action="index.html" method="post">
  <input name="file" type="file"/>
  <input type="submit" value="Upload"/>
</form>
<div id="uploading">
  <div id="progress" class="bar">
    <div id="progressbar"> </div>
    <div id="percents"></div>
  </div>
</div>

JS code that triggers the jquery script:

  <script type="text/javascript">
    $(document).ready(function(){
      $('form').uploadProgress({
        /* scripts locations for safari */
        jqueryPath: "/static/js/jquery.js",
        uploadProgressPath: "/static/js/jquery.uploadProgress.js",
        /* function called each time bar is updated */
        uploading: function(upload) {$('#percents').html(upload.percents+'%');},
        /* selector or element that will be updated */
        progressBar: "#progressbar",
        /* progress reports url */
        progressUrl: "/progress",
        /* how often will bar be updated */
        interval: 2000
      }
    });
  </script>

And that script :
https://github.com/drogus/jquery-upload-progress/blob/master/jquery.uploadProgress.js

Questions and Problems:

1)First problem is that i always get returned ({ “state” : “starting” }); …

2)Second question is : the reason i began trying to make this thing work , is because i wanted to write a php script , which would slice file into chunks and send them to the server , so i could upload huge files , and have a progress bar to monitor it. But i couldn’t even find the smallest example or tutorial how to get it done with php and upload_progress_module or w/e.

And no , i don’t want flash based uploaders.

So i guess , you already understood that i am a confused. So if you could explain how i can get this done, and help solve the problem with already existing configuration would be great

  • 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-06-08T19:11:15+00:00Added an answer on June 8, 2026 at 7:11 pm

    action="index.html" doesn’t look like the request that goes to location ~ \.php$.

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

Sidebar

Related Questions

i have pretty simple simple question (i hope so). How do i change the
I might have pretty basic question about regex. I have the following regex, which
I've searched pretty far and wide for the past several days and have little
I'm trying to make an App-wide media-upload which should have the possibility of being
I have an AdvancedDataGrid that's pretty wide (lots of columns that need to be
I have this jQuery carousel going: http://dougie.thewestharbour.com/wp-content/themes/dougie/slider.html It works pretty well right now but
I have a datagrid with many columns. This makes it pretty wide. Now we
I have a pretty long and wide datagrid which I would like to send
I have pretty simple jquery code : $(document).ready(function(){ $('img.marqFl').on({ mouseenter: function() { $(this).animate({height: 300},
I have pretty good skills in PHP , Mysql and Javascript for a junior

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.