problem bei der pdf anzeige mit bildern

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

kawa-fanatiker
Posts: 14
Joined: Sun Jul 06, 2003 5:54 pm

problem bei der pdf anzeige mit bildern

Post by kawa-fanatiker »

also wenn ich einen artikel in dem bilder sind als pdf anzeigen lassen möchte dann kommt folgende fehler meldung

Code: Select all

Warning: filesize(): Stat failed for http://www.zx6r.info/construction.jpg (errno=2 - No such file or directory) in /usr/local/apache/www/web176/html/phpmyfaq/inc/fpdf.php on line 1432

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache/www/web176/html/phpmyfaq/inc/fpdf.php:1432) in /usr/local/apache/www/web176/html/phpmyfaq/pdf.php on line 245
das ist ein .jpg

kann es sein das es daran liegt das bei dem server "safemode on" ist ?????

wenn ich das bild weg lasse dann funktioniert es!!!

hier der link zum artikel --->Hier
Last edited by kawa-fanatiker on Mon Jul 14, 2003 4:19 pm, edited 2 times in total.
Thorsten
Posts: 15568
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

schreibe nicht die absolute Adresse zum Bild, sondern die relative. Am besten ist es, wenn du das Bild in den Ordner images/ der FAQ hochlädst und dann über [ im ]./images/bild.jpg[ /img ] verlinkst.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
kawa-fanatiker
Posts: 14
Joined: Sun Jul 06, 2003 5:54 pm

Post by kawa-fanatiker »

ok das funktioniert jetzt aber wirklich erkennen kann man bei der ausgabe als pdf nicht viel !!!!!

schauts euch an !!!

http://www.zx6r.info/phpmyfaq/index.php ... =2&lang=de

klick auf als pdf anzeigen !!!
Thorsten
Posts: 15568
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

stimmt. :(

Ich suche mal den Fehler...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
kawa-fanatiker
Posts: 14
Joined: Sun Jul 06, 2003 5:54 pm

Post by kawa-fanatiker »

noch nichts gefunden ???:?:

weil die pdf ausgabe ist wirklich sehr nützlich !!!!!!! :)
Thorsten
Posts: 15568
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

ich habe leider derzeit nicht soviel Zeit, da ich derzeit Klausuren schreibe. :(
Dein Problem ist aber nicht vergessen, es wird dann als nächstes angegangen!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
kawa-fanatiker
Posts: 14
Joined: Sun Jul 06, 2003 5:54 pm

Post by kawa-fanatiker »

ok kannst dir zeit lassen !!!!(klausuren sind natürlich wichtiger !!!!!) :wink:

ich wollte nur sicher gehen das es nicht vergessen wurde :D
Thorsten
Posts: 15568
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

falls ich mal was vergessen sollte, einfach hier posten. ;)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cubeowner
Posts: 7
Joined: Mon Jul 28, 2003 4:41 am

Post by cubeowner »

I don't speak German, but the rough translation looks like this is similar to the problem I am having. Any attempt to export any FAQ, even is it is just one line of text results in this error:

Warning: Cannot modify header information - headers already sent by (output started at /home/laurie/public_html/kb/font/helveticab.php:31) in /home/laurie/public_html/kb/pdf.php on line 245

Will there be a fix for this and is there a way for me to disable the PDF export function until it is fixed?

Thank you.
Thorsten
Posts: 15568
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

can you show me your web page please?

thx + bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cubeowner
Posts: 7
Joined: Mon Jul 28, 2003 4:41 am

Post by cubeowner »

Sure. I am testing it here:

http://www.cubeowner.com/kb/

When I attempt to print a sample FAQ with an image, I get this error instead:

Warning: filesize(): Stat failed for http://www.cubeowner.com/plx2.jpg (errno=2 - No such file or directory) in /home/laurie/public_html/kb/inc/fpdf.php on line 1432
FPDF error: Unsupported image file type: gif


(yes, plx2.jpg is there)

Thanks!
Thorsten
Posts: 15568
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

do not link the pictures per URL, but link them local, e.g. put them in the directory images/.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cubeowner
Posts: 7
Joined: Mon Jul 28, 2003 4:41 am

Post by cubeowner »

Ok, thanks, I saw that above... I still get the error on the FAQ sections that are just text (even just one word, as you can see by the test entries in the link I posted)
Thorsten
Posts: 15568
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

did you change something in the directory font/ ?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cubeowner
Posts: 7
Joined: Mon Jul 28, 2003 4:41 am

Post by cubeowner »

No, not a thing. I even re-uploaded it from scratch from the original zip archive.
Post Reply