I am currently using SeedDMS 5.1.21 application on Rhel7, php 7.2.24 and postgresql, I am able to run application and view documents. But as Rhel7 support is going to end so I am migrating the application to Rhel9, php 8.0.30 postgresql 15 and SeedDMS 5.1.21 but I am unable to view the document. In php-fpm/www-error.log I am getting below error
PHP Warning: file_get_contents(): Failed to open stream: Permission denied in /var/www/html/pdfjs/web/printphp.php
PHP Warning: scandir(): Failed to open directory: No such file or directory in var/www/html/pdfjs/web/printphp.php
And on console getting below error
Error: Invalid XRef stream header
XRefParseException
Warning: Indexing all PDF objects
I tried to use curl instead of file_get_contents() and zip->open(). But still facing same issue
Sunil Pawar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.