Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Returned percentage of "uploadprogress_get_info(key)" is always -1 / txt file with upload progress info is not created in tmp folder #18

Open
matttheek opened this issue Feb 12, 2024 · 0 comments

Comments

@matttheek
Copy link

matttheek commented Feb 12, 2024

Hi,

I have tried to use the extension with PHP 8.2, locally with a Drupal10 Lando recipe, but also on an Ubuntu 22.04 server.
The extension is installed, which is confirmed by:
extension_loaded('uploadprogress')
and via "php -m".

The function "uploadprogress_get_info(key)" always returns -1 (for "percentage") while uploading a file (large enough to spend at least 30 seconds).
While the file uploads, php creates a file inside the tmp folder, but there is no txt file created by the uploadprogress extension.
With phpinfo() I can see that the tmp directory setting of the extension matches the usual tmp directory.

Have you checked the extension with PHP 8.2 and apache?

Update:
I see this could be related to: https://www.drupal.org/node/435678#comment-1492876

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant