mkucej / i-librarian-free

I, Librarian - open-source version of a PDF managing SaaS.
https://i-librarian.net
GNU General Public License v3.0
256 stars 28 forks source link

PDF viewer and PHP8 #56

Closed luis-j closed 3 years ago

luis-j commented 3 years ago

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 commented 3 years ago

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

luis-j commented 3 years ago

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

luisjure commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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