Pure PHP Upload 3 Support Product Page
When uploading a file Progress bar doesn't do anything
Reported 11 years ago
2
have this problem
11 years ago Bob Indapool posted:
The progress bar opens but doesn't show any progress, the file's bits don't increment at all either (no matter which style of progress type I choose)the php.ini does have upload progress enabled:
; Enable upload progress tracking in $_SESSION
; Default Value: On
; Development Value: On
; Production Value: On
; php.net/session.upload-progress.enabled
;session.upload_progress.enabled = On
Replies
Replied 11 years ago
11 years ago Teodor Kuduschiev replied:
Hello Bob,
What is the PHP version you are running on your server? What browser are you having problems with?
What is the PHP version you are running on your server? What browser are you having problems with?
Replied 11 years ago
11 years ago Bob Indapool replied:
PHP v 5.4
IE 10 & 11 also same result in Firefox v25.0
The "Time:" increments (elapsed seconds)
but the bytes stay at 0 / 0 and the progress bar or circle doesn't fill up.
in the Windows style, the copy animation plays, but the progress bar doesn't fill.
IE 10 & 11 also same result in Firefox v25.0
The "Time:" increments (elapsed seconds)
but the bytes stay at 0 / 0 and the progress bar or circle doesn't fill up.
in the Windows style, the copy animation plays, but the progress bar doesn't fill.
Replied 11 years ago
11 years ago Teodor Kuduschiev replied:
Can you please provide a link to your page to:
support@dmxzone.com
Replied 11 years ago
11 years ago Bob Indapool replied:
link sent.

Replied 11 years ago
11 years ago Teodor Kuduschiev replied:
Can you please tell me if the same happens when you choose the HTML5 Progress?
Replied 11 years ago
11 years ago Bob Indapool replied:
HTML5 progress bar is similarly dysfunctional.

Replied 11 years ago
11 years ago Bob Indapool replied:
FIXED IT!
Turns out, merely turning on upload progress in php.ini is not enough.
There are several other supporting configurations which must also be enabled or set.
Here's the section of php.ini (note the lines without a semicolon at the front
Default Value: On
Development Value: On
Production Value: On
; php.net/session.upload-progress.enabled
session.upload_progress.enabled = On
; Cleanup the progress information as soon as all POST data has been read
; (i.e. upload completed).
Default Value: On
Development Value: On
Production Value: On
; php.net/session.upload-progress.cleanup
session.upload_progress.cleanup = On
; A prefix used for the upload progress key in $_SESSION
Default Value: "upload_progress_"
Development Value: "upload_progress_"
Production Value: "upload_progress_"
; php.net/session.upload-progress.prefix
session.upload_progress.prefix = "upload_progress_"
; The index name (concatenated with the prefix) in $_SESSION
; containing the upload progress information
Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
; php.net/session.upload-progress.name
session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
; How frequently the upload progress should be updated.
; Given either in percentages (per-file), or in bytes
Default Value: "1%"
Development Value: "1%"
Production Value: "1%"
; php.net/session.upload-progress.freq
session.upload_progress.freq = "1%"
; The minimum delay between updates, in seconds
Default Value: 1
Development Value: 1
Production Value: 1
; php.net/session.upload-progress.min-freq
session.upload_progress.min_freq = "1"
Turns out, merely turning on upload progress in php.ini is not enough.
There are several other supporting configurations which must also be enabled or set.
Here's the section of php.ini (note the lines without a semicolon at the front
Default Value: On
Development Value: On
Production Value: On
; php.net/session.upload-progress.enabled
session.upload_progress.enabled = On
; Cleanup the progress information as soon as all POST data has been read
; (i.e. upload completed).
Default Value: On
Development Value: On
Production Value: On
; php.net/session.upload-progress.cleanup
session.upload_progress.cleanup = On
; A prefix used for the upload progress key in $_SESSION
Default Value: "upload_progress_"
Development Value: "upload_progress_"
Production Value: "upload_progress_"
; php.net/session.upload-progress.prefix
session.upload_progress.prefix = "upload_progress_"
; The index name (concatenated with the prefix) in $_SESSION
; containing the upload progress information
Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
; php.net/session.upload-progress.name
session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
; How frequently the upload progress should be updated.
; Given either in percentages (per-file), or in bytes
Default Value: "1%"
Development Value: "1%"
Production Value: "1%"
; php.net/session.upload-progress.freq
session.upload_progress.freq = "1%"
; The minimum delay between updates, in seconds
Default Value: 1
Development Value: 1
Production Value: 1
; php.net/session.upload-progress.min-freq
session.upload_progress.min_freq = "1"