endroid / qr-code

QR Code Generator
https://endroid.nl
MIT License
4.46k stars 727 forks source link

Working Perfecly on local but not on the shared hosting #371

Closed smohheri closed 2 years ago

smohheri commented 2 years ago

What should i do ? when i used on local its perfecly work but when i use on shared hosting its give me internal server error 500 GD extension are enable

timshaq commented 2 years ago

Most likely it happened because he wrote down in a composer.lock like dev dependency, check your packages-dev. I faced the same situation

Try:

  1. php composer.phar remove endroid/qr-code

  2. add package to composer.json:

"require": { "endroid/qr-code": "^3.9", },

  1. install again php composer.phar require endroid/qr-code:3.9 php composer.phar require setasign/fpdf:1.8 (without this package I got error)
endroid commented 2 years ago

That could be the reason. @smohheri Please share the error message from your logs, a 500 message could be caused by anything so we will not be able to help without this information.