Re: [PHP] PDF error with pdf_open_png

2001-01-11 Thread Jared Howard

How do I get those log files?  I've tried setting error_log,
error_reporting, track_errors, & log_errors in /etc/php.ini.  It didn't log
to the log file I told it to, or log to the system message log.  How do I
get it to log this error?

At 06:02 PM 1/11/01 -0800, Chris Lee wrote:
>Its also very handy when you get an error like that to check you log files,
>usually when you get no error and no page like that, php has segfaulted
>apache, might want to check :) there might be other errors in the log files
>to help you too.
>
>Chris Lee
>Mediawaveonline.com
>
>
>
>
>"Jared Howard" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> I'm trying to include images in my PDF file using pdf_open_png.  (I've
>also
>> tried using pdf_open_gif and pdf_open_image_file.)  But when I add the
>line:
>>
>>   $logo = pdf_open_png($pdf, "$CFG->imagedir/logo.png");
>>
>> I get the error:  Cannot find server or DNS Error (The page cannot be
>> displayed), and none of the page displays.
>>
>> Does anyone know what's wrong?
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>>
>
>
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PDF error with pdf_open_png

2001-01-11 Thread Chris Lee

Its also very handy when you get an error like that to check you log files,
usually when you get no error and no page like that, php has segfaulted
apache, might want to check :) there might be other errors in the log files
to help you too.

Chris Lee
Mediawaveonline.com




"Jared Howard" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm trying to include images in my PDF file using pdf_open_png.  (I've
also
> tried using pdf_open_gif and pdf_open_image_file.)  But when I add the
line:
>
>   $logo = pdf_open_png($pdf, "$CFG->imagedir/logo.png");
>
> I get the error:  Cannot find server or DNS Error (The page cannot be
> displayed), and none of the page displays.
>
> Does anyone know what's wrong?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PDF error with pdf_open_png

2001-01-11 Thread Ignacio Vazquez-Abrams

On Thu, 11 Jan 2001, Jared Howard wrote:

> I'm trying to include images in my PDF file using pdf_open_png.  (I've also
> tried using pdf_open_gif and pdf_open_image_file.)  But when I add the line:
>
>   $logo = pdf_open_png($pdf, "$CFG->imagedir/logo.png");
>
> I get the error:  Cannot find server or DNS Error (The page cannot be
> displayed), and none of the page displays.
>
> Does anyone know what's wrong?
>

Try:

  $logo = pdf_open_png($pdf, "{$CFG->imagedir}/logo.png");

At least, I assume that's what you mean...

-- 
Ignacio Vazquez-Abrams  <[EMAIL PROTECTED]>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PDF error with pdf_open_png

2001-01-11 Thread Jared Howard

I'm trying to include images in my PDF file using pdf_open_png.  (I've also
tried using pdf_open_gif and pdf_open_image_file.)  But when I add the line:

  $logo = pdf_open_png($pdf, "$CFG->imagedir/logo.png");

I get the error:  Cannot find server or DNS Error (The page cannot be
displayed), and none of the page displays.

Does anyone know what's wrong?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]