phpmyfaq1.4.6 and pdf

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
nanor
Posts: 12
Joined: Fri Feb 25, 2005 5:06 pm

phpmyfaq1.4.6 and pdf

Post by nanor »

Hi,

I have a problem with phpmyfaq1.4.6.

My system:
PHP v5.0.3
IIS
Mysql v4.1

The script works well except when I want to export in .pdf a document that contains an image.
[edit] > If I do not have an image, it works.

I get this message:


Warning: getimagesize(../www/phpmyfaq1.4.6/images/logo1.jpg) [function.getimagesize]: failed to open stream: No such file or directory in D:\Data\www\phpmyfaq1.4.6\pdf.php on line 350

Warning: Division by zero in D:\Data\www\phpmyfaq1.4.6\pdf.php on line 359

Warning: getimagesize(../www/phpmyfaq1.4.6/images/logo1.jpg) [function.getimagesize]: failed to open stream: No such file or directory in D:\Data\www\phpmyfaq1.4.6\inc\fpdf.php on line 1498
FPDF error: Missing or incorrect image file: ../www/phpmyfaq1.4.6/images/logo1.jpg



Have I missed something in the configuration?

Thank you.

Ronan
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

this is a bug in phpMyFAQ. :-(

I'll fix it as soon as possible.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
telenut
Posts: 68
Joined: Thu Sep 09, 2004 10:13 am

Post by telenut »

weird problem indeed.
Some of my topics with images work fine, others don't. And it does not matter what type of images I use.
Any particular reason for this behaviour?
(I have to demonstrate the functionality of this FAQ this er maby next week at work, don't want them to laugh at me when something goes wrong :p )
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I wrote a fix for phpMyFAQ 1.5 for that. I'll try to fix this in 1.4, too.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
telenut
Posts: 68
Joined: Thu Sep 09, 2004 10:13 am

Post by telenut »

np, I take a day off at work tomorow, so the presentation will be for next week :-) Meantime I'll try the RC of 1.5.
razorjack
Posts: 1
Joined: Wed Mar 09, 2005 9:58 pm

Post by razorjack »

I have same error with 1.4.5

can you give a issue?

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

Post by Thorsten »

Hi,

the fix is still in work. Please stay tuned.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
ebs
Posts: 12
Joined: Thu Mar 10, 2005 10:19 am

Post by ebs »

Hi,

I have the same Problem wirth 1.4.7. Will the fix correct this too?
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

yes.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

this bug is finally fixed on Windowx and Linux in the upcoming versions 1.4.8 and 1.5.0 RC3.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply