http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14463 --- Comment #1 from Chris Nighswonger <cnighswonger@foundations.edu> --- (In reply to Lennon Mazonde from comment #0)
[Thu Jun 25 15:24:52.560515 2015] [cgi:error] [pid 14148] [client 197.221.240.195:38832] AH01215: [Thu Jun 25 21:24:52 2015] label-create-pdf.pl: Use of uninitialized value in -e at /usr/share/koha/lib/C4/Creators/PDF.pm line 226., referer: http://staffdemo.muhachabooks.com/cgi-bin/koha/labels/label-print.pl [Thu Jun 25 15:24:52.560758 2015] [cgi:error] [pid 14148] [client 197.221.240.195:38832] AH01215: [Thu Jun 25 21:24:52 2015] label-create-pdf.pl: ERROR in koha-conf.xml -- missing <font type="Ft2">/path/to/font.ttf</font> at /usr/share/koha/lib/C4/Creators/PDF.pm line 229., referer: http://staffdemo.muhachabooks.com/cgi-bin/koha/labels/label-print.pl [Thu Jun 25 15:24:52.578821 2015] [cgi:error] [pid 14148] [client 197.221.240.195:38832] AH01215: [Thu Jun 25 21:24:52 2015] label-create-pdf.pl: Use of uninitialized value in -e at /usr/share/koha/lib/C4/Creators/PDF.pm line 226., referer: http://staffdemo.muhachabooks.com/cgi-bin/koha/labels/label-print.pl [Thu Jun 25 15:24:52.579064 2015] [cgi:error] [pid 14148] [client 197.221.240.195:38832] AH01215: [Thu Jun 25 21:24:52 2015] label-create-pdf.pl: ERROR in koha-conf.xml -- missing <font type="Ft2">/path/to/font.ttf</font> at /usr/share/koha /lib/C4/Creators/PDF.pm line 229., referer: http://staffdemo.muhachabooks.com/cgi-bin/koha/labels/label-print.pl
The problem appears to be that you do not have the font configuration set correctly in your koha-conf.xml. This is evident from the lines like: ERROR in koha-conf.xml -- missing <font> type="Ft2">/path/to/font.ttf</font> You will need to set the path to match the location of the Truetype fonts on your system. This should fix the problem. If it does, please close the bug; otherwise, feel free to update with more information.
This is my first time posting a bug, please do forgive me if i've broken any bug writing guidelines :)
This is actual a fantastic bug report! Thanks for taking time to do it right. That saves loads of time when trying to figure out just what is going on. -- You are receiving this mail because: You are watching all bug changes.