cconard96 / glpi-screenshot-plugin

Take a screenshot or screen recording directly from GLPI and attach it to a ticket, change or problem
GNU General Public License v2.0
5 stars 0 forks source link

Problem installing on glpi 10 RC3 #33

Closed jackburton79 closed 1 year ago

jackburton79 commented 2 years ago

I tried installing from marketplace on glpi 10 RC3:

Downloading the plugin worked, but clicking on the "install" button did nothing.

image

I enabled debug but got no log on screen nor in the log files sql_errors.log or php_errors.log

jackburton79 commented 2 years ago

Testing on the released GLPI 10 holds the same results

danilosantossdbrasil commented 2 years ago

Hi @jackburton79

Are you connected to your GLPI over HTTPS or just HTTP?

Since the features used in the plugin over work over HTTPS, it is meant not to install over HTTP.

If your web server is Apache

SetEnv HTTPS on

or .htaccess

SetEnv HTTPS on
jackburton79 commented 2 years ago

This is a test installation and is, in fact, working over HTTP. If this is by design it's not a big issue, the production environment works over HTTPS. Let's close this ticket, then.

jackburton79 commented 2 years ago

Would be nice to have a warning / error in that case, though.

ashledombos commented 2 years ago

Hello, on my side as I’m using a docker stack (https proxy managed by a specific container) I had to do like in this case, replacing $_SERVER['HTTPS'] with $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https' in hook.php