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
244 stars 73 forks source link

Insert failed: Data too long for column 'link' at row 1 #55

Closed 2nutz4u closed 1 year ago

2nutz4u commented 1 year ago

When submitting a dynamic URL with long path we get the error "Insert failed: Data too long for column 'link' at row 1". Please advise.

giandonatoinverso commented 1 year ago

You get this error because I have set a limit on url length.

This limit is subjective and if you want you can change it by changing the length of the link attribute in the "dynamic_qrcodes" sql table