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

PDF viewer and PHP8 #56

Closed
luis-j opened this issue May 14, 2021 · 5 comments
Closed

PDF viewer and PHP8 #56

luis-j opened this issue May 14, 2021 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@luis-j
Copy link

luis-j commented May 14, 2021

Hi, when using I, Librarian internal PDF viewer, I can't select text, and if I try to make annotations, the following error appears:

500 Internal Server Error
E_DEPRECATED: Function libxml_disable_entity_loader() is deprecated.

I have no idea of the internals of I, Librarian, but searching for the error, I found this:

Warning: This function has been DEPRECATED as of PHP 8.0.0. Relying on this function is highly discouraged.

(https://www.php.net/manual/en/function.libxml-disable-entity-loader.php)

@mkucej mkucej self-assigned this May 14, 2021
@mkucej mkucej added the bug Something isn't working label May 14, 2021
@mkucej
Copy link
Owner

mkucej commented May 14, 2021

Thank you for reporting this. We did not switch to PHP 8 yet. This issue will be fixed in the next version.

@luis-j
Copy link
Author

luis-j commented May 14, 2021

Thanks, I'll be on the look out for new releases.

@mkucej mkucej closed this as completed in 94659db May 17, 2021
@luisjure
Copy link

Hi, I downloaded and installed the new 5.9.0 release. I'd like to report that the error message disappeared, but now I'm afraid the PDF viewer doesn't work at all, and shows all blank pages. I attach a screenshot.

I,Librarian

@mkucej
Copy link
Owner

mkucej commented May 20, 2021

Thank you for your report. This issue has been closed. Please create a new one, if your problem persists.

  1. Is everything green in Administrator > Software details?
  2. When you open your browser Network console, do you see any errors returned for the page requests?

@luisjure
Copy link

I solved the problem, some PHP extensions were not enabled in my php.ini, sorry for the noise and thank you for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants