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

Not working on PHP 8.x #31

Open
the-hotmann opened this issue May 11, 2021 · 0 comments
Open

Not working on PHP 8.x #31

the-hotmann opened this issue May 11, 2021 · 0 comments

Comments

@the-hotmann
Copy link

the-hotmann commented May 11, 2021

I successfully run this on PHP 7.4 but as soon as I switch over to PHP 8.0.5 I get this error:

AH01071: Got error 'PHP message: PHP Warning: rename(/var/www/vhosts/DOMAIN.TLD/httpdocs/SUB/archiv/tmp/K\xc3\x83\xc2\xbcndigung.pdf,/var/www/vhosts/DOMAIN.TLD/httpdocs/SUB/archiv/tmp/../../archiv/tmp/K\xc3\x83\xc2\xbcndigung.pdf): No such file or directory in /var/www/vhosts/DOMAIN.TLD/httpdocs/ph/vendor/ncjoes/office-converter/src/OfficeConverter/OfficeConverter.php on line 144', referer: https://SUB.DOMAIN.TLD/

When I run the very same code on PHP 7.4 everything works fine. So my question is:
is this problem related to my application only and Office Converter is indeed PHP 8 compatible or not?

Notice:

  • "K\xc3\x83\xc2\xbcndigung" stands for "Kündigung" is this maybe related to UTF-8 encoding?

EDIT:

When I remove the "ü" from all texts and names then it works even with PHP 8, but as soon as "Umlaute" are in the filenames it breaks functionality on PHP 8

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