php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58621 var_dump($info); returning NULL
Submitted: 2009-04-07 06:34 UTC Modified: 2009-05-04 00:38 UTC
From: guidebook dot in dot th at gmail dot com Assigned:
Status: Not a bug Package: uploadprogress (PECL)
PHP Version: 5.2.6 OS: Ubuntu 8.10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: guidebook dot in dot th at gmail dot com
New email:
PHP Version: OS:

 

 [2009-04-07 06:34 UTC] guidebook dot in dot th at gmail dot com
Description:
------------
Ubuntu 8.10 running : 
Apache/2.2.9 (Ubuntu) DAV/2 SVN/1.5.1 PHP/5.2.6-2ubuntu4.1 with Suhosin-Patch mod_wsgi/2.3 Python/2.5.2 
Suhosin Patch 0.9.6.2

phpinfo() shows uploadprogress info identical to the image here: http://blog.liip.ch/archive/2009/03/31/upload-progress-meter-common-issues-and-some-answers.html - apart from the version number as I am using 1.0.0

I used the demo files from http://svn.liip.ch/repos/public/misc/uploadprogressdemo_simple/ and installed the extension via pecl install uploadprogress
I set the upload limits to 200MB and while uploading a 90mb file locally (smaller files were not conclusive) it displayed red text indicating that it might not be working. 

My server is available on the net if you wish access. 
I am also on freenode as 'unomi' and you are more than welcome to contact me there.

Reproduce code:
---------------
from http://svn.liip.ch/repos/public/misc/uploadprogressdemo_simple/

this code seems different from what produces this: 
http://labs.liip.ch/uploadprogresssimple/index.php
which could be a source of confusion, particularly that the 'live demo' displays 'The uploadprogress extension is installed.' Whereas the source shows no such validation effort. 


Expected result:
----------------
Working upload progress display

Actual result:
--------------
output: 
Upload succeeded, it took 13.58 seconds.
BUT there were no progress meter updates
Your upload should have taken long enough to have an progress update. Maybe it really does not work...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-04 00:38 UTC] chregu@php.net
You should have read the whole post carefully, you Suhosin 
extension may be too old.

"Problems with Suhosin
The suhosin extension had a bug which prevented the 
uploadprogress from working properly. This bug was fixed in 
Suhosin 0.9.26 last August."

Please update or remove the Suhosin extension
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 06:01:30 2024 UTC