giandonatoinverso / PHP-Dynamic-Qr-code

PHP Dynamic Qr code is a script that allows the generation and saving of dynamic and static QR codes
MIT License
243 stars 73 forks source link

Errors selecting Dynamic and Static code pages. #107

Closed irocztwenty8 closed 1 month ago

irocztwenty8 commented 1 month ago

I am trying to install 2.2.7 on my FastComet webhost. I run setup and it it finishes successfully. I can login and create a new super admin.

When I try to go to the Dynamic or Static code pages, i get errors. I get the errors for the all codes and the new codes pages.

Parse error: syntax error, unexpected 'Qrcode' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /home/XXXXX/XXXXXX.com/qr/qrc/src/lib/DynamicQrcode/DynamicQrcode.php on line 7

Parse error: syntax error, unexpected 'Qrcode' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /home/XXXXX/XXXXX.com/qr/qrc/src/lib/StaticQrcode/StaticQrcode.php on line 10

I have also tried 2.2.6.

Any idea on what I'm doing wrong.

Thanks.

giandonatoinverso commented 1 month ago

You are using an old php version