Hi, my brand new installation (2.6.4) can't export pdf. Trying, broswer stops with
"Firefox can't find the file at http://www.mysite.com/faq/pdf.php?cat=1&id=4&artlang=it.
i tracked down the problem and it seems that php hangs when it tries to include "arialunicid0.php"
if i comment the huge array in that file, php succeds including the file (but obviously fails after), so i think the problem must be related to that huge array...
any hint? Marco
can't export pdf [solved]
Moderator: Thorsten
can't export pdf [solved]
Last edited by m.ardito on Wed May 26, 2010 9:48 am, edited 1 time in total.
Re: can't export pdf
Hi,
seems like your PHP needs more RAM than your installation allows to. Could you please show me your phpinfo()?
bye
Thorsten
seems like your PHP needs more RAM than your installation allows to. Could you please show me your phpinfo()?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: can't export pdf
i suspected that, just after posting. Actual "memory_limit" is 16M, the server has 2G so i can surely increase that,
which value you suggest as safe for phpmyfaq? it would be nice to state this on requirements page...
phpinfo() is over 500 lines so i won't report it here, but;
SERVER_SOFTWARE Apache/2.2.11 (Win32) PHP/5.2.9-1 mod_auth_sspi/1.0.4
php modules:
bcmath, calendar, com_dotnet, ctype, curl, date, dom, filter, ftp, gd, hash, iconv, imap, json, ldap, libxml, mbstring, ming, mysql, odbc, pcre, Reflection, session, SimpleXML, SPL, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, zlib,
php limits settings: (name/master/local)
log_errors_max_len/1024/1024
max_execution_time/30/30
max_input_nesting_level/64/64
max_input_time/60/60
memory_limit/16M/16M
post_max_size/8M/8M
upload_max_filesize/2M/2M
Max Requests /Per Child: 0 - Keep Alive: on - Max Per Connection: 100/
mysql.max_links/Unlimited/Unlimited
mysql.max_persistent/Unlimited/Unlimited
odbc.max_links/Unlimited/Unlimited
odbc.max_persistent/Unlimited/Unlimited
pcre.backtrack_limit/100000/100000
pcre.recursion_limit/100000/100000
session.cache_limiter/nocache/nocache
session.gc_maxlifetime/1440/1440
Thanks, Marco
which value you suggest as safe for phpmyfaq? it would be nice to state this on requirements page...
phpinfo() is over 500 lines so i won't report it here, but;
SERVER_SOFTWARE Apache/2.2.11 (Win32) PHP/5.2.9-1 mod_auth_sspi/1.0.4
php modules:
bcmath, calendar, com_dotnet, ctype, curl, date, dom, filter, ftp, gd, hash, iconv, imap, json, ldap, libxml, mbstring, ming, mysql, odbc, pcre, Reflection, session, SimpleXML, SPL, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, zlib,
php limits settings: (name/master/local)
log_errors_max_len/1024/1024
max_execution_time/30/30
max_input_nesting_level/64/64
max_input_time/60/60
memory_limit/16M/16M
post_max_size/8M/8M
upload_max_filesize/2M/2M
Max Requests /Per Child: 0 - Keep Alive: on - Max Per Connection: 100/
mysql.max_links/Unlimited/Unlimited
mysql.max_persistent/Unlimited/Unlimited
odbc.max_links/Unlimited/Unlimited
odbc.max_persistent/Unlimited/Unlimited
pcre.backtrack_limit/100000/100000
pcre.recursion_limit/100000/100000
session.cache_limiter/nocache/nocache
session.gc_maxlifetime/1440/1440
Thanks, Marco
Re: can't export pdf
Hi,
64M should be enough.
bye
Thorsten
64M should be enough.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: can't export pdf
Yes, i can confirm this. Now just works...
Thanks, Marco
Thanks, Marco
Re: can't export pdf [solved]
Hi,
I added the information on our requirements site: http://www.phpmyfaq.de/requirements.php
Thanks!
bye
Thorsten
I added the information on our requirements site: http://www.phpmyfaq.de/requirements.php
Thanks!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: can't export pdf [solved]
ok, good!
maybe it should be added here also
http://www.phpmyfaq.de/documentation.2.6.en.php#2a
Bye, Marco
maybe it should be added here also
http://www.phpmyfaq.de/documentation.2.6.en.php#2a
Bye, Marco