Zip file not uploading

Created on 23 October 2023, about 1 year ago
Updated 2 February 2024, 11 months ago

Zip file not uploading.
Showing below error.

Error: Call to a member function extractTo() on null in Drupal\pack_upload\Form\UploadForm->submitForm() (line 153 of /Module path/UploadForm.php)

💬 Support request
Status

Closed: works as designed

Version

2.1

Component

Code

Created by

🇮🇳India gowtham.boopathiraj

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @gowtham.boopathiraj
  • 🇨🇴Colombia jucedogi

    This is most likely due to the PHP zip extension not being installed.

    Verify that the server you are using has that enabled and that the zip file you are trying to upload is not corrupted.
    For the latter you would basically try to unzip it locally. If that works I would definitely say that the culprit is the missing zip-ext from the PHP install since tests I've done so far with the module have worked as expected.

    Only issue I've had so far is trying to upload a file larger than what the server allows me to upload.

  • Status changed to Closed: works as designed 11 months ago
  • 🇮🇳India malaynayak

    Closing the issue as no more replies from the reporter has been posted. Feel free to reopen with details if issue persists.

Production build 0.71.5 2024