Alt-PHP-Faq

Vitamin Supplements| Cortavet| Cortaflex| Cortaflex| regtool| Esup| Zygor Guides| Equine Supplements| Manuka Honey| Fat Loss 4 Idiots| Zygor Guides| Download


Question :

I get an error 'PDF_set_info' must not be called in 'object' scope in script.php on line xxx

Answer :
When I try to create a PDF file I get an error:

Fatal error: PDFlib error: function 'PDF_set_info' must not be called in 'object' scope in script.php on line xxx.

Why do I get this error ?

The reason for getting this error is because your webserver don't have write permissions to the directory your are trying to save your PDF file to. To solve this problem give write permissions to the directory.



Categories Return to Main PHP Faq

General


 

Questions

General
How do I run a php script from the command line?
What does PHP stand for?
How can I set the include path and other settings that are fixed in php.ini without having access to php.ini?
Can I connect to a Microsoft Access database without a DSN?
Whats the difference between include() and require()?
Can I get the screen resolution and like with php?
How can I convert a Access database to a MySQL database?
How do I get the visitors browser information?
I am totally new to PHP / MySQL / Programming in General. Where is a good place to start learning?
What is PEAR?
How do I send mails with PHP?
Are there any good PHP development environments / editors for Windows?
Can I use php with cron on unix systems?
Can php and flash work together?
How can I develop my own PHP extension ?
Are there any good PHP development environments / editors for Linux?
How do I find out how a user came to my page?
Using Apache can I get php to parse files not ending in .php?
How do I get started to use php?
Why doesn't rand give random numbers?
Have you read this article, "Student Suspended Over Suspected Use of PHP"?
How can I send large amounts of emails with php?
Why do I get "Warning: open(/tmp\sess_03416739e8d8712a1489aa6bb6bdf19d, O_RDWR)" failed ?
Where can I get a php mode for emacs?
Why do i get the error "Cannot add header information" ?
What does it mean when there is a & infront of a variable?
How do I turn newlines / returns into html breaks (<br>)?
Where can I get a copy of PHP?
How do I find out what mode to use when creating dirs with mkdir
I am using PHP with SQL - can I ask a question in alt.php?
Who do I contact to add to this faq?
How can I redirect all http (non-secure port 80) requests to https (Secure port 443)
Since moving hosts my file permissions are wrong, how can I fix this?
 

Return to the main FAQ list




   
Design & Layout Copyright © 2000- 2008 PHP MySQL Web Hosting Comments to Webmaster
Hosted by PHP 4 Hosting - PHP and MySQL Webhosting and Domain Names