Skip Menu |
 

This queue is for tickets about the GD-Barcode CPAN distribution.

Report information
The Basics
Id: 79244
Status: new
Priority: 0/
Queue: GD-Barcode

People
Owner: Nobody in particular
Requestors: asterxpst [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.15
Fixed in: (no value)



Subject: Empty QR code
Download (untitled) / with headers
text/plain 784b
Hello, I've issue with creating QR codes from my web cgi script (perl v5.8.8, apache 2.2.22). After some amount of time QR code is always empty. Example of code i'm using: my $bar = GD::Barcode::QRcode->new('http://'.$domain, { Ecc => 'L', Version => 4, Size => 3 }); my $code = $bar->plot; After some digging in GD/Barcode/QRcode.pm i found that smth wrong with path: my $sRec = do ('GD/Barcode/QRcode/qrv'.sprintf('%02d', $oSelf->{Version}) . $oSelf->{Ecc} . '.dat'); I change it to: my $sRec = do (File::Basename::dirname(__FILE__).'/QRcode/qrv'.sprintf('%02d', $oSelf-> {Version}) . $oSelf->{Ecc} . '.dat'); All seems to be fine now. Probably it has to do smth with apache settings (firstly works, then stops - can't explain that). ---- Best regards, Michael.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.