Skip to content

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

Description

@matttheek

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions