Generate Report in Job orders does not work
Recruitment Management Software
Brought to you by:
auieo
To reproduce:
1.Go into "Job order: Job Order Details" page (Job Order Tab -> Select and existing Job Order).
Scroll down and select the "Generate Report" link (located under the "Job Order Pipeline" graph)
Add all required fields and click the "Generate Report" button
You will receive the following error on the next page:
FPDF error: Missing or incorrect image file: http://www.yourdomainname.com/index.php?m=graphs&a=jobOrderReportGraph&data=98%2C1%2C1%2C1
This may help, using CURL to create the report instead of relying on "allow_url_fopen = ON" in the PHP.ini file:
http://stackoverflow.com/questions/3177716/fpdf-error-missing-or-incorrect-image-file
Indecently, my allow_url_fopen is set to on.
Steve R,
FPDF 1.7 is doing this.
change the code in file modules/reports/ReportsUI.php at line at 443, 444, 445
from
$fontFace = 'Arial';
$pdf = new FPDF();
to
$fontFace = 'helvetica';
$pdf=new \TCPDF();
And let me know the issue resolved.
with regards,
R. Tamil Amuthan
Auieo Software Private Limited
Last edit: Tamil Amuthan 2015-05-17
It worked!
Thank you!
Last edit: Steve R 2015-05-17