I am creating the pdf report and when I am running the script than I am facing the below error. I search about same error over here and I find one thread too but with the help of it I get in more trouble. So any body here can help me.

Errors:

Warning: include(helveticab.php): failed to open stream: No such file or directory
Warning: include(): Failed opening 'helveticab.php' for inclusion (include_path='.;C:\php\pear') 

Recommended Answers

All 3 Replies

Have you installed fpdf correctly so the directory structure is preserved. Font definition files are usually in font subdirectory of the fpdf installation. Check if this is so and if the helveticab.php file exists there.

@broj1 I checked the helveticab.php in font directory and it's available in the font directory.

Can you post the whole script that is returning error?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.