PDF page appears white

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jpor
Forum Newbie
Posts: 3
Joined: Tue Jun 16, 2009 10:56 pm

PDF page appears white

Post by jpor »

I have a script to create PDF files, with PDFLib (I think so: have the functions PDF_new, PDF_open_file, ...).
The script run very well in my computer (PHP 5.3.1), but in on-line server (PHP 5.2.14) the page appear white.

What is wrong? What I have to do?

Thanks.
jrgp
Forum Newbie
Posts: 4
Joined: Mon Nov 01, 2010 8:57 am

Re: PDF page appears white

Post by jrgp »

Pages usually appear white/blank when the script tries to use a function or class that doesn't exist or has a syntax error. Maybe the library you're using uses syntactical additions of php 5.3 that the version your online server doesn't support.

Either way, check the web server's error log which should tell you what's breaking.
Post Reply