Re: Problem with PDFlib

From: Date: Fri, 12 Mar 2004 00:10:58 +0000
Subject: Re: Problem with PDFlib
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-180221@lists.php.net to get a copy of this message
Someone else had a problem like this a while back- iirc it's caused when permissions are insufficient (ie, failed to open file). Just search google, it's easy to find. On Thursday 11 March 2004 01:12 pm, Teren wrote: > Hi, I just moved a site to a new server. I haven't touched the site forever > and i forgot how to use PDFlib (using fpdf now). Anyways, i'm getting this > error: Fatal error: PDFlib error: function 'PDF_set_info' must not be > called in 'object' scope in > /home/www/lonestar.seryx.net/https/pdf/invoice.php on line 18 > > Line 18 is the following: PDF_set_info($p, "Creator", "invoice.php"); > > It will do that for any other line too if i comment that out (that is using > pdf stuff) > > Any ideas? Thanks > > Teren -- Evan Nemerson evan@coeus-group.com http://coeusgroup.com/en -- "The public have an insatiable curiosity to know everything. Except what is worth knowing. Journalism, conscious of this, and having tradesman-like habits, supplies their demands." -Oscar Wilde

« previous php.general (#180221) next »