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

Import xlsx file get white screen #28993

Closed
le-reparateur opened this issue Mar 20, 2024 · 1 comment · Fixed by #29011
Closed

Import xlsx file get white screen #28993

le-reparateur opened this issue Mar 20, 2024 · 1 comment · Fixed by #29011
Assignees
Labels
Bug This is a bug (something does not work as expected)

Comments

@le-reparateur
Copy link
Contributor

Bug

Import file between step 3 and 4 goes to white screen with php warning error and fatal error

Dolibarr Version

No response

Environment PHP

8.2.7

Environment Database

mariadb 10.11.4

Steps to reproduce the behavior and expected behavior

Import file between step 3 and 4 goes to white screen with php warning error :
file_get_contents(): Unable to find the wrapper "zip" - did you forget to enable it when you configured PHP? in /var/www/html/dolibarr19/htdocs/includes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Security/XmlScanner.php on line 152
And give fatal error :
PHP Fatal error: Uncaught ValueError: XMLReader::XML(): Argument #1 ($source) cannot be empty in /var/www/html/dolibarr19/htdocs/includes/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx.php:210\nStack

Attached files

No response

@le-reparateur le-reparateur added the Bug This is a bug (something does not work as expected) label Mar 20, 2024
@le-reparateur
Copy link
Contributor Author

Php stream "zip" is disabled in filefunc.inc.php

le-reparateur added a commit to le-reparateur/dolibarr that referenced this issue Mar 20, 2024
@eldy eldy self-assigned this Mar 20, 2024
le-reparateur added a commit to le-reparateur/dolibarr that referenced this issue Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants