PDF export problem

Please report bugs here!

Moderator: Thorsten

Post Reply
malabar
Posts: 2
Joined: Thu Dec 08, 2011 9:20 am

PDF export problem

Post by malabar »

Hello,

strange problem with phpmyfaq installed @work (intranet) on a linux distro (debian lenny) : generated pdf are empty !

i tried with 2.7.1, 2.0 and 2.6

phi.ini seems ok (memory_limit = 128M),

Code: Select all

phpMyFAQ Version
phpMyFAQ 2.7.1

Server Software
Apache/2.2.3 (Debian) PHP/5.3.3-7+squeeze3 with Suhosin-Patch

PHP Version
PHP 5.3.3-7+squeeze3

Register Globals
off

Safe Mode
off

Open Basedir
off

DB Server
Mysql

DB Client Version
5.1.49

DB Server Version
5.0.51a-24+lenny2~bpo40+1

Webserver Interface
APACHE2HANDLER

PHP Extensions
Core, date, ereg, libxml, openssl, pcre, zlib, bcmath, bz2, calendar, ctype, dba, dom, hash, fileinfo, filter, ftp, gettext, session, iconv, json, mbstring, standard, posix, Reflection, SPL, shmop, SimpleXML, soap, sockets, Phar, exif, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, zip, apache2handler, gd, mcrypt, mysql, mysqli, PDO, pdo_mysql, suhosin, mhash

rights seems ok (chmod 0777 /var/www/phpmyfaq)


mYSQL BASE = UTF-8 Unicode (utf8)

Code: Select all

PCRE version 8.02 2010-03-19
Compiled with
  UTF-8 support
  Unicode properties support
  Newline sequence is LF
  \R matches all Unicode newlines
  Internal link size = 2
  POSIX malloc threshold = 10
  Default match limit = 10000000
  Default recursion depth limit = 10000000
  Match recursion uses stack

Generated pdf = 0 octet
There is no errors reported in logs!

thx
malabar
Posts: 2
Joined: Thu Dec 08, 2011 9:20 am

Re: PDF export problem

Post by malabar »

oOopss,

Resolved by a clean install with 2.7.1 tar.gz package and a chown www-data ...

Im using utf8_unicode_ci : i don't know difference between utf8_unicode ut8_bin and ut8_general

Question : wHY accented characters are biggers in the generated Pdf FILE ?

(sample attached)
Capture.JPG
Thx !

(sorry for my bad english )
You do not have the required permissions to view the files attached to this post.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: PDF export problem

Post by Thorsten »

Hi,

could be an issue with the embedded font, I'll check it. We're working on an improved PDF export for the 2.7.2 release.

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