PDF und Vers. 1.5 slash einfügen

Please report bugs here!

Moderator: Thorsten

Post Reply
woodworker
Posts: 4
Joined: Tue Aug 23, 2005 2:15 pm

PDF und Vers. 1.5 slash einfügen

Post by woodworker »

Hallo Thorsten und andere.

Ich habe heute die 1.5 Vers. installiert was auch wunderbar klappte. Danke dafür.
Eine kleine Sache habe ich bei der Ausgabe von PDF´s da zeigts mir diese Fehlermeldung an:

Code: Select all

Warning: getimagesize(/home/michael/www/...../htdocsimages/4030_2.jpg): failed to open stream: No such file or directory in /home/michael/www/...../htdocs/faq/inc/fpdf.php on line 1498
FPDF error: Missing or incorrect image file: /home/michael/www/...../htdocsimages/4030_2.jpg
Ich müßte hier zwischen (htdocsimages) noch einen slash haben.
Ich habe auch schon ein wenig in der /inc/pdf.php geschraubt, aber da zeigts mir dann noch mehr Fehlermeldungen an.

Hat wer von euch einen Tipp für mich.

Danke für Hilfe.

Gruß Michael
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

ich guck mir das mal an!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
woodworker
Posts: 4
Joined: Tue Aug 23, 2005 2:15 pm

Post by woodworker »

Hi Thorsten,

ja das wäre schön, wenn du da mal schauen würdest.
Ich vermute mal das andere das Problem nicht haben.

Das heißt, mein eigenes problem. Ich würde also auch nur meinen eigenen CODE ändern, wenn es kein generelles Problem ist.
Versucht habe ich das bereits hier: /inc/pdf.php

Code: Select all

  
        @GetImageSize(str_replace(dirname($_SERVER['PHP_SELF']), '.', 

Code: Select all

  
        @GetImageSize(str_replace(dirname($_SERVER['PHP_SELF']), '/', '.', 
Da zeigts mir dann neue Fehlermeldungen:

Code: Select all

Warning: Cannot modify header information - headers already sent by (output started at /home/michael/www/www.xxx.de/htdocs/faq/font/helveticai.php:30) in /home/michael/www/www.xxx.de/htdocs/faq/pdf.php on line 120

Warning: Cannot modify header information - headers already sent by (output started at /home/michael/www/www.xxx.de/htdocs/faq/font/helveticai.php:30) in /home/michael/www/www.xxx.de/htdocs/faq/pdf.php on line 121

Warning: Cannot modify header information - headers already sent by (output started at /home/michael/www/www.xxx.de/htdocs/faq/font/helveticai.php:30) in /home/michael/www/www.xxx.de/htdocs/faq/pdf.php on line 122

Warning: Cannot modify header information - headers already sent by (output started at /home/michael/www/www.xxx.de/htdocs/faq/font/helveticai.php:30) in /home/michael/www/www.xxx.de/htdocs/faq/pdf.php on line 131

Warning: Cannot modify header information - headers already sent by (output started at /home/michael/www/www.xxx.de/htdocs/faq/font/helveticai.php:30) in /home/michael/www/www.xxx.de/htdocs/faq/pdf.php on line 132

Warning: Cannot modify header information - headers already sent by (output started at /home/michael/www/www.xxx.de/htdocs/faq/font/helveticai.php:30) in /home/michael/www/www.xxx.de/htdocs/faq/pdf.php on line 133
 %PDF-1.3 3 0 obj <> endobj 4 0 obj <> stream xÅ“}RËr›@¼ë+æä²öÃ
woodworker
Posts: 4
Joined: Tue Aug 23, 2005 2:15 pm

Post by woodworker »

Das Beispiel oben bezog sich immer auf einen Beitrag mit BILD.
Da könnte das einfügen des Slash an der oben genannten Stelle funktionieren.
Ohne Bild kommt nämlich dann nur diese Fehlermeldung:

[quote]Warning: Cannot modify header information - headers already sent by (output started at /home/michael/www/www.xxx.de/htdocs/faq/font/helveticai.php:30) in /home/michael/www/www.xxx.de/htdocs/faq/pdf.php on line 120

Warning: Cannot modify header information - headers already sent by (output started at /home/michael/www/www.xxx.de/htdocs/faq/font/helveticai.php:30) in /home/michael/www/www.xxx.de/htdocs/faq/pdf.php on line 121

Warning: Cannot modify header information - headers already sent by (output started at /home/michael/www/www.xxx.de/htdocs/faq/font/helveticai.php:30) in /home/michael/www/www.xxx.de/htdocs/faq/pdf.php on line 122

Warning: Cannot modify header information - headers already sent by (output started at /home/michael/www/www.xxx.de/htdocs/faq/font/helveticai.php:30) in /home/michael/www/www.xxx.de/htdocs/faq/pdf.php on line 131

Warning: Cannot modify header information - headers already sent by (output started at /home/michael/www/www.xxx.de/htdocs/faq/font/helveticai.php:30) in /home/michael/www/www.xxx.de/htdocs/faq/pdf.php on line 132

Warning: Cannot modify header information - headers already sent by (output started at /home/michael/www/www.xxx.de/htdocs/faq/font/helveticai.php:30) in /home/michael/www/www.xxx.de/htdocs/faq/pdf.php on line 133
%PDF-1.3 3 0 obj <> endobj 4 0 obj <> stream xÅ“}RËr›@¼ë+æä²öÃ
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

ich arbeite bereits an einer neuen Version, die diese Probleme korrigieren sollte...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
woodworker
Posts: 4
Joined: Tue Aug 23, 2005 2:15 pm

Post by woodworker »

supi
Post Reply