Closed karokarov closed 9 months ago
Is plugin's files always presents in plugins directory? Which object do you want to print with massive action and which part of this object?
I have the same problem. When I try to export several tickets to PDF, using the actions button, this error appears. When it's a single ticket, it works well My version is 10.0.10 on glpi
is your plugin installed with marketplace?
yes
it worked, thanks!!
Hi!
I faced with the issue. I have fresh installation of glpi 10.0.6 and pdf 3.0.0. After install it worked ok, but after ~1 moth of not using I tried Print to PDF function and server returns "Object not found" 404 error.
I have noticed, that similar to the issue #27 the print from Action button is not working, while Print to PDF works ok from menu on the left in the ticket.
I have searched in php_error.log. As expected, it's clean.
Reinstallation of plugin does not help. However I have noticed, that during uninstllation of the plugin it gives some errors in php-error.log. See it below:
[2023-05-11` 10:32:07] glpiphplog.WARNING: *** PHP Warning (2): include_once(/srv/www/htdocs/marketplace/pdf/inc/preferences.class.php): failed to open stream: No such file or directory in /srv/www/htdocs/marketplace/pdf/hook.php at line 83 Backtrace : marketplace/pdf/hook.php:83 include_once() src/Plugin.php:783 plugin_pdf_uninstall() front/plugin.form.php:60 Plugin->uninstall()
[2023-05-11 10:32:07] glpiphplog.WARNING: *** PHP Warning (2): include_once(): Failed opening '/srv/www/htdocs/marketplace/pdf/inc/preferences.class.php' for inclusion (include_path='/srv/www/htdocs/marketplace/barcode/vendor/pear/archive_tar:/srv/www/htdocs/marketplace/barcode/vendor/pear/console_getopt:/srv/www/htdocs/marketplace/barcode/vendor/pear/image_barcode:/srv/www/htdocs/marketplace/barcode/vendor/pear/pear:/srv/www/htdocs/marketplace/barcode/vendor/pear/structures_graph:/srv/www/htdocs/marketplace/barcode/vendor/pear/xml_util:.:/usr/share/php7:/usr/share/php7/PEAR') in /srv/www/htdocs/marketplace/pdf/hook.php at line 83 Backtrace : marketplace/pdf/hook.php:83 include_once() src/Plugin.php:783 plugin_pdf_uninstall() front/plugin.form.php:60 Plugin->uninstall()