I have a big problem, I don't understand nothing !
I have my document done and everything works perfect in my local server, I get it my PDF file without problems but... in the remote server...
Error nº 7
The content of a TD tag does not fit on only one page
????
What do you think? I'm desperated !
Spipu Le 05/10/2010 à 14:53 it is coming from a difference into your local server config and your remote server config.
you have to compare them.
which version of HTML2PDF are you using ?
My html2pdf.class is
/**
* Logiciel : HTML2PDF
*
* Convertisseur HTML => PDF, utilise TCPDF
* Distribué sous la licence LGPL.
*
* @author Laurent MINGUET <webmaster@html2pdf.fr>
* @version 4.01
*/
The problem is that I don't have any pribilege in remote server, I can't change anything there, uffff .... any soution? anyone? please !
I ask to my server and they told me: everything is ok , seems ok , what I have to look after in my server?
Means, what could be the problem?
I took it all the html2pdf examples and obviously in my local server everything ok, but in my server no ok!
I understand that the problems comes from there but they don't know what could be !
I need something to say, for example, you have to put your safe_mode ON , or something like that...
My server aswer:
'disable_functions = proc_open, proc_close, pclose, proc_get_status, proc_nice, disk_free_space, diskfreespace, set_time_limit, leak, tmpfile, system, system_exec, shell_exec, shell, passthru, phpinfo, pcntl_exec, dl, proc_terminate'
Someones know the problem?
Try this :
add this row in the html2pdf.class.php :
HTML2PDF::$SUBOBJ->pdf->getPage();
just before this :
$sub_html = clone HTML2PDF::$SUBOBJ;
It works for me.
Why ?
You are my prefer super heroe from now till the end of my days !
Thanks a lot Charles !!!!!!
Thanks to Spipu too, you are not my prefer super hero , just one of my heroes jeje !!! thanks !!
EN : I solved the problem by updating my PHP from 5.1.6 to 5.3.3 this morning.
FR : J'ai réglé le problème en passant mon PHP de la version 5.1.6 à la version 5.3.3 ce matin.
Spipu Le 29/04/2011 à 10:16 have you tried the examples ? if the examples do not work, the pb is coming from your php version.
Spipu Le 29/04/2011 à 13:14 have you put your table in another table ?