Open djcesar opened 5 years ago
Issue lies in this line (line 497, plugin.php):
QRcode::{$opt[5]}( $shorturl, $filepath, $opt[1], $opt[2], $opt[3] );
The SVG constructor also needs two more arguments, the background color and foreground color.
thank you @derpydm . fixed
It's still not working at least on my installation. PNG and JGP work fine. SVG qr-codes are not generated. Version: 2.2.1
Hi,
I fix
Edit : phpqrcode.php line : 3178
QRvect::svg($tab, $outfile, min(max(1, $this->size), $maxSize), $this->margin,$saveandprint, 0xFFFFFF, 0x000000);
I add 2 arguments, the previous fix add 2 arguments in plugin.php but is not use in phpqrcode.php
Have a nice day.
F.
there appears to be a problem with upstream project's code. until that is fixed, it appears no SVG.
Hi im working with a AWS Instance through Bitnami LAMP it Generates QRs on JPG, and PNG format
YOURLS v 1.7.4 YOURLS-IQRCodes-2.1.1 YOURLS-U-SRV-2.1.0 phpMyAdmin v 4.9.1 PHP v 7.3.10 MySQL v 8.0.17
but when i try to generate SVG QRs doesn't, the loader keeps spinning in a infinite loop.
if i refresh the browser the link has been created but QR doesn't show
Caché folders and sub folders on
has 777 permissions
Also the files qrchk.php & srv.php
located in
has 777 permissions
Any idea how i can make SVG Qrs to work?
(sorry my english)
Thanks in advance!