You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
(1) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
From: Heather V. <to...@gm...> - 2009-10-12 05:58:50
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000066"> I'm receiving the following error message:<br> <b>Catchable fatal error</b>: Object of class DOMPDF could not be converted to string in...on line 163<br> <br> Line 163 is marked at the bottom. Thank you for your help!<br> <br> Here's my code:<br> <?php require_once('..'); ?><br> <?php require_once('../dompdf/dompdf_config.inc.php');<br> <br> if (!function_exists("GetSQLValueString")) {<br> function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") <br> {<br> $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;<br> <br> $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);<br> <br> switch ($theType) {<br> case "text":<br> $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";<br> break; <br> case "long":<br> case "int":<br> $theValue = ($theValue != "") ? intval($theValue) : "NULL";<br> break;<br> case "double":<br> $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";<br> break;<br> case "date":<br> $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";<br> break;<br> case "defined":<br> $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;<br> break;<br> }<br> return $theValue;<br> }<br> }<br> <br> mysql_select_db($database_user, $user);<br> $query_getMem = "SELECT members_info.fname, members_info.lname, members_info.address, members_info.apt_suite, members_info.city, members_info.`state`, members_info.zip, members_info.phone, members_info.email FROM members_info ORDER BY lname";<br> $getMem = mysql_query($query_getMem, $user) or die(mysql_error());<br> $row_getMem = mysql_fetch_assoc($getMem);<br> $totalRows_getMem = mysql_num_rows($getMem);<br> <br> function urls2linksComplex($text, $schemes = null, $tlds = 'normal'){<br> //"urls2links - Complex" function by Martin Pain / m-bread ( <a class="moz-txt-link-freetext" href="http://m-bread.com/resources/php/functions/urls2linksComplex">http://m-bread.com/resources/php/functions/urls2linksComplex</a> )<br> //This function can be distributed under the Creative Commons Attribution-Share Alike 2.0 UK: England & Wales License<br> //( <a class="moz-txt-link-freetext" href="http://creativecommons.org/licenses/by-sa/2.0/uk/">http://creativecommons.org/licenses/by-sa/2.0/uk/</a> )<br> //Please leave these comments intact.<br> if($schemes == 'normal'){<br> $scheme = '(?:[Hh][Tt]|[Ff])[Tt][Pp][Ss]?';<br> }elseif( is_array($schemes) ){<br> $scheme = '(?:' . implode('|', $schemes) . ')';<br> }elseif( is_string($schemes) ){<br> $scheme = $schemes;<br> }else{<br> $scheme = '[a-zA-Z][a-zA-Z0-9\-+.]*';<br> };//EoIF<br> if($tlds == 'normal'){<br> $tldExclude = array('doc', 'xls', 'txt', 'rtf', 'jpeg', 'jpg', 'gif', 'png', 'exe', 'html', 'htm', 'zip', 'gz', 'scr', 'rar', 'php', 'php3', 'inc', 'ico', 'bmp', 'asp', 'jsp', 'dat', 'lnk', 'cab', 'csv', 'xml', 'xsl', 'xsd', 'svg', 'psp', 'psd', 'pdf', 'bak', 'wav', 'mp3', 'm4v', 'midi', 'wmv', 'wma', 'js', 'css', 'ppt', 'pps', 'mdb');<br> }elseif( is_array($tlds) ){<br> $tldExclude = $tlds;<br> }elseif( is_string($tlds) ){<br> $tldExclude = array($tlds);<br> }else{<br> $tldExclude = array();<br> };//EoIF<br> $userinfo = '(?:(?:[a-zA-Z0-9\-._~!$&\'()*+,;=:]|%[0-9A-Fa-f]{2})*@)?';<br> $decOctet = '(?:[0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])';<br> $ipv4 = '(?:'.$decOctet.'\.){3}'.$decOctet;<br> $regname = '(?:(?:[0-9A-Za-z][0-9A-Za-z\-]*[0-9A-Za-z]|[0-9A-Za-z])\.)+[a-zA-Z]{2,6}';<br> $host = '('.$ipv4.'|'.$regname.')';<br> $port = '(?::[0-9]*)?';<br> $authority = '((?://)?'.$userinfo.$host.$port.')';<br> $path = '(?:/(?:[a-zA-Z0-9\-._~!$&\'()*+,;=:]|%[0-9A-Fa-f]{2})*?)*';<br> $query = '(?:\?(?:[a-zA-Z0-9\-._~!$&\'()*+,;=:/?]|%[0-9A-Fa-f]{2})*?)?';<br> $fragment = '(?:#(?:[a-zA-Z0-9\-._~!$&\'()*+,;=:/?]|%[0-9A-Fa-f]{2})*?)?';<br> $pattern = '\b(('.$scheme.'\:)?'.$authority.$path.$query.$fragment.')($|[^\w/][<\s]|[<\s]|[^\w/]$)';<br> $replacement = '( !in_array( substr(\'$4\', strrpos(\'$4\', \'.\')+1), $tldExclude) )?\'<a href="\'.((\'$2\' == \'\')?((strpos(\'$3\', \'@\'))?\'<a class="moz-txt-link-freetext" href="mailto:$1\':\'http://$1\">mailto:$1\':\'http://$1\</a>'):\'$1\').\'">$1</a>$5\':\'$0\'';<br> return preg_replace('/'.str_replace('/', '\x2F', $pattern).'/e', $replacement, $text);<br> };//EoFn urls2links<br> <br> '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <a class="moz-txt-link-rfc2396E" href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"</a>>'.<br> $html =<br> '<html xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/1999/xhtml">"http://www.w3.org/1999/xhtml"</a>>'.<br> '<head>'.<br> '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'.<br> '<title></title>'.<br> '<style type="text/css"><br> <!--<br> body {<br> margin: 1em;<br> }<br> <br> .tablecen {<br> margin: 0px auto;<br> }<br> <br> td {<br> text-align: left;<br> }<br> <br> .caps {<br> text-transform: capitalize;<br> }<br> h1 {<br> font: bold 18px Georgia, "Times New Roman", Times, serif;<br> text-align: center;<br> }<br> --><br> </style>'.<br> '</head>'.<br> <br> '<body>'.<br> '<h1> '.<br> '<?php '.<br> '// define the starting year'.<br> '$startYear = 2009;'.<br> '// calculate the current year'.<br> '$thisYear = date("Y");'.<br> <br> 'if ($startYear==$thisYear) {'.<br> '// if both are the same, just show the starting year'.<br> 'echo $startYear;'.<br> '}'.<br> 'else {'.<br> '// if they"re different, show both'.<br> 'echo "$startYear-$thisYear";'.<br> '}'.<br> '?></h1>'.<br> '<table class="tablecen" width="800" >'.<br> '<tr>'.<br> '<?php'.<br> '$getMem_endRow = 0;'.<br> '$getMem_columns = 3; // number of columns'.<br> '$getMem_hloopRow1 = 0; // first row flag'.<br> 'do {'.<br> 'if($getMem_endRow == 0 && $getMem_hloopRow1++ != 0) echo "<tr>";'.<br> '?>'.<br> '<td><p><span class="caps"><?php echo $row_getMem["fname"]; ?> <?php echo $row_getMem["lname"]; ?>'.<br> '<br />'.<br> '<?php echo $row_getMem["address"]; ?> <?php echo $row_getMem["apt_suite"]; ?><br />'.<br> '<?php echo $row_getMem["city"]; ?>,</span> <span style="text-transform: uppercase;"><?php echo $row_getMem["state"]; ?></span> <?php echo $row_getMem["zip"]; ?><br />'.<br> '<?php if (!empty($row_getMem["phone"])) { echo $row_getMem["phone"] . "<br />"; }?>'.<br> '<?php echo urls2linksComplex($row_getMem["email"]); ?></p></td>'.<br> '<?php $getMem_endRow++;'.<br> 'if($getMem_endRow >= $getMem_columns) {'.<br> '?>'.<br> '</tr>'.<br> '<?php'.<br> '$getMem_endRow = 0;'.<br> '}'.<br> '} while ($row_getMem = mysql_fetch_assoc($getMem));'.<br> 'if($getMem_endRow != 0) {'.<br> 'while ($getMem_endRow < $getMem_columns) {'.<br> ' echo("<td>&nbsp;</td>");'.<br> ' $getMem_endRow++;'.<br> '}'.<br> 'echo("</tr>");'.<br> '}?>'.<br> '</table>'.<br> '</body>'.<br> '</html>';<br> '<?php'.<br> 'mysql_free_result($getMem);'.<br> '?>'.<br> <br> $dompdf = new DOMPDF(); ***THIS IS LINE 163***<br> $dompdf->load_html($html);<br> $dompdf->render();<br> $dompdf->stream("roster.pdf");<br> ?><br> </body> </html> |
From: sanjay r. <san...@gm...> - 2009-06-14 19:59:10
|
sanjay rajmane wants you to join Yaari! Is sanjay your friend? <a href="http://yaari.com/?controller=user&action=mailregister&friend=1&sign=YaariYAN663UOS964NQF208JBS988&reminder=1">Yes, sanjay is my friend!</a> <a href="http://yaari.com/?controller=user&action=mailregister&friend=0&sign=YaariYAN663UOS964NQF208JBS988&reminder=1">No, sanjay isn't my friend.</a> Please respond or sanjay may think you said no :( Thanks, The Yaari Team <font color="#505050">-----------------------------------------------------------</font> <font color="#808080">Yaari Inc., 358 Angier Ave NE Atlanta, GA 30312</font> <a href="http://yaari.com/?controller=privacy">Privacy Policy</a> | <a href="http://yaari.com/?controller=absn&action=addoptout&email=dom...@li...">Unsubscribe</a> | <a href="http://yaari.com/?controller=termsofservice&action=index">Terms of Service</a> YaariYAN663UOS964NQF208JBS988 |
From: sanjay r. <san...@gm...> - 2009-06-11 19:58:26
|
sanjay rajmane wants you to join Yaari! Is sanjay your friend? <a href="http://yaari.com/?controller=user&action=mailregister&friend=1&sign=YaariYAN663UOS964NQF208JBS988">Yes, sanjay is my friend!</a> <a href="http://yaari.com/?controller=user&action=mailregister&friend=0&sign=YaariYAN663UOS964NQF208JBS988">No, sanjay isn't my friend.</a> Please respond or sanjay may think you said no :( Thanks, The Yaari Team <font color="#505050">-----------------------------------------------------------</font> <font color="#808080">Yaari Inc., 358 Angier Ave NE Atlanta, GA 30312</font> <a href="http://yaari.com/?controller=privacy">Privacy Policy</a> | <a href="http://yaari.com/?controller=absn&action=addoptout&email=dom...@li...">Unsubscribe</a> | <a href="http://yaari.com/?controller=termsofservice&action=index">Terms of Service</a> YaariYAN663UOS964NQF208JBS988 |
From: sanjay r. <san...@gm...> - 2009-04-14 13:15:57
|
Hi, Firstly, thanks for great work. I am using Dompdf for generating reports. I have just created html report first... While generating I have set <? ob_start(); ?> and at the end <? $text = ob_get_contents(); ob_get_clean(); ?> and sending '$text' variable to dompdf for generating PDF. It works fine for me when there is less data (around 100 rows in html table). But fails when there is more data in html report. The server stops working and displays error 'The page can not be displayed'. I am using wampserver with defaunt settings. I have tried by increasing 'Memory_Limit' and 'Execution time' in php.ini file But that did not helped me. So, can you please tell me if there is any other solution for this problem. Also can you please tell me the important settings to done while using Dompdf. Thanks, sanjay rajmane |
From: <ba...@ti...> - 2009-03-26 13:03:03
|
Hi, is the excellent dompdf library still under active development? regards, Sebastian Nerz |
From: Tanvir A. <pro...@gm...> - 2008-10-10 16:15:57
|
Hello, I am having a problem with dompdf. It renders perfect pdf from html code as long as its under a certain length. As soon as the html code exceeds a certain length, it breaks and i get an error message "the file is damaged and could not be repaired." Could you help please. Thanks. Tanvir |
From: anais o. <ana...@gm...> - 2007-10-31 15:23:24
|
Hello, I need generate 3 page from one consulting fron data bas, my proble is when try to generate the pdf docuemnt, plis explain to me who generate 3 pages or pages dinamic, bye , Thanks |
From: nate teradigm.u. <na...@te...> - 2007-08-07 23:35:02
|
I am running php 5.2.2. I have installed the latest version of dompdf. =20 When I run it I get the following error: =20 [Tue Aug 7 18:00:46 2007] [error] PHP Parse error: syntax error, unexpected $end in /home/achtung/public_html/invoices/dompdf/include/abstract_renderer.cls. php on line 533 =20 I followed the installation instructions exactly and am trying to simply run the demo sample to make sure things work. =20 What now? |