mateusznitka / protocolsmanager

GLPI Plugin to report users inventory
8 stars 13 forks source link

Not generating #29

Closed Skiller899 closed 3 years ago

Skiller899 commented 3 years ago

Hello, I today found this very nice plugin, but it doesn´t work. I tried default template and new one. But still not works. After I pick user and pick item from table and click to create it open url ...../plugins/protocolsmanager/front/generate.form.php and this is all. White screen and nothing happens. Can you help me please?

mateusznitka commented 3 years ago

Please turn on debug mode and show result after generating protocol. And version of GLPI and PHP.

Skiller899 commented 3 years ago

Glpi version 9.4.4 PHP version 5.6.40 Parse error: syntax error, unexpected '=' in /var/www/html/glpi/plugins/protocolsmanager/dompdf/src/Dompdf.php on line 356

mateusznitka commented 3 years ago

Like I wrote in readme:

Compatibility GLPI 9.3 or higher PHP 7.1 or higher

You have to update your php version, PHP 7.1 is requirement for dompdf library which I using in this project.

Skiller899 commented 3 years ago

Parse error: syntax error, unexpected '=' in /var/www/html/glpi/plugins/protocolsmanager/dompdf/src/Dompdf.php on line 356 Still after update to php 7.1.3

mateusznitka commented 3 years ago

Are you sure that you switched to new version after update? What version of php is in Server section in GLPI -> Setup -> General -> System?

Skiller899 commented 3 years ago

From putty: image From GLPI -> Setup -> General -> System: image Must I reinstall Glpi??

Skiller899 commented 3 years ago

Oukey, thanks. It works. I am only stupid... :( Thumbs up for you

mateusznitka commented 3 years ago

Nice to see that it works, hope plugin will be useful.