2.6 RC - try to export pdf

Please report bugs here!

Moderator: Thorsten

Post Reply
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: 2.6 RC - try to export pdf

Post by Thorsten »

Hi,

I cannot reproduce this. Can you send me your database dump?

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

Re: 2.6 RC - try to export pdf

Post by Thorsten »

Hi,

works for me... with which record do you get the error?

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

Re: 2.6 RC - try to export pdf

Post by Thorsten »

Hi,

ahhh... I'll check it.

Update: It works for me, too.

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

Re: 2.6 RC - try to export pdf

Post by Thorsten »

Hi,

I'll try to check it.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
mocker
Posts: 2
Joined: Wed Feb 03, 2010 10:36 pm

Re: 2.6 RC - try to export pdf

Post by mocker »

I was getting an error 500 from apache so I turned on error logging to a file in php.ini and got:

[03-Feb-2010 15:27:52] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 4980736 bytes) in /var/www/inc/libs/tcpdf/fonts/arialunicid0.php on line 1032

Increased memory_limit in php.ini and all is working.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: 2.6 RC - try to export pdf

Post by Thorsten »

Hi,

what's your memory limit in PHP?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
UTAKA
Posts: 37
Joined: Sun Jan 24, 2010 8:01 am
Location: phpmyfaq-jp.org
Contact:

Re: 2.6 RC - try to export pdf

Post by UTAKA »

Hi
Though it might be another problem.
I Try to export pdf.In 6.2.2
phpMyFAQ warning [2]: imagejpeg() [function.imagejpeg]: SAFE MODE Restriction in effect. The script whose uid is 10010 is not allowed to access /tmp/jpg_QvpCuZ owned by uid 48 in tcpdf.php on line 4974
phpMyFAQ warning [2]: imagejpeg() [function.imagejpeg]: Invalid filename in tcpdf.php on line 4974
phpMyFAQ warning [2]: getimagesize() [function.getimagesize]: SAFE MODE Restriction in effect. The script whose uid is 10010 is not allowed to access /tmp/jpg_QvpCuZ owned by uid 48 in tcpdf.php on line 4989
phpMyFAQ warning [2]: getimagesize(/tmp/jpg_QvpCuZ) [function.getimagesize]: failed to open stream: No such file or directory in tcpdf.php on line 4989
TCPDF ERROR: Missing or incorrect image file: /tmp/jpg_QvpCuZ
Image and Text PDF is disappear. In 6.2.2
This FIX has been forgotten.
UTAKA wrote:And need for Image(JPEG/GIF・・)
/inc/libs/tcpdf/cache
Premission 755 or 777
viewtopic.php?f=3&t=10271#p29532

This Fix , work
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: 2.6 RC - try to export pdf

Post by Thorsten »

Hi,

adding a cache/ folder to the tcpdf/ folder is not very good. I'll change the code to use another folder.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
UTAKA
Posts: 37
Joined: Sun Jan 24, 2010 8:01 am
Location: phpmyfaq-jp.org
Contact:

Re: 2.6 RC - try to export pdf

Post by UTAKA »

I Update 2.6.3 ..
I can't make PDF File (image and text exist together).

This Fix forgotten ? :(
Thorsten wrote: adding a cache/ folder to the tcpdf/ folder is not very good. I'll change the code to use another folder.
Thorsten
make dir..
/inc/libs/tcpdf/cache
Premission 755 or 777
I can make PDF File.Success
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: 2.6 RC - try to export pdf

Post by Thorsten »

Hi,

I didn't forgot the fix... my problem was that I couldn't reproduce your issue. I tested on my several test installations and the image processing inside of PDFs is working without the cache folder...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
UTAKA
Posts: 37
Joined: Sun Jan 24, 2010 8:01 am
Location: phpmyfaq-jp.org
Contact:

Re: 2.6 RC - try to export pdf

Post by UTAKA »

Mumu..
SafeMode seems to relate.

I tested on my Server Now.
SafeMode OFF : "/inc/libs/tcpdf/cache" was needless.
PDF(image and text exist together) was able to be made even if there was no "cache Folder".

SafeMode ON : "/inc/libs/tcpdf/cache" was need.
PDF (image and the text exist together) was not able to be made if there was no "cache Folder"

Code: Select all

<?php
//check.php check safe_mode
echo ini_get('safe_mode') ? "safe_mode ON :/inc/libs/tcpdf/cache need" : "safe_mode OFF:  /inc/libs/tcpdf/cache needless";
?>
---------------------------------------
Sorry...I am not good at English.
http://www.phpmyfaq-jp.org
---------------------------------------
Post Reply