asterisk2billing.org http://forum.asterisk2billing.org/ |
|
how to generate PDF invoices with A2B1.4.1 http://forum.asterisk2billing.org/viewtopic.php?f=23&t=5996 |
Page 2 of 2 |
Author: | cerien [ Tue Dec 15, 2009 4:32 am ] |
Post subject: | Re: how to generate PDF invoices with A2B1.4.1 |
Robin: Quote: php-common = 5.1.6-23.2.el5_3 is needed by package php-xml-5.1.6-23.2.el5_3.i386 try installing php-common, then php-xml ! also, when you get a blank page, you can check the var/log/httpd/error_log for more details J. |
Author: | RobinA [ Tue Dec 15, 2009 4:54 am ] |
Post subject: | Re: how to generate PDF invoices with A2B1.4.1 |
J, Thanks for your quick response. When I try to install php-common, here is what I get: Code: Setting up Install Process Package matching php-common-5.1.6-23.2.el5_3.i386 already installed. Checking for update. Nothing to do And here is the httpd error log. Code: [Mon Dec 14 23:37:56 2009] [error] [client XX.145.209.197] PHP Strict Standards: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /var/www/html/A2billing/customer/A2B_invoice_view.php on line 46, referer: http://XX.196.184.46:9080/A2billingXX/customer/A2B_invoice_view.php?id=6 [Mon Dec 14 23:37:56 2009] [error] [client XX.145.209.197] PHP Warning: require_once(/var/www/html/dompdf/include/domdocument.cls.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /var/www/html/dompdf/dompdf_config.inc.php on line 194, referer: http://XX.196.184.46:9080/A2billing/customer/A2B_invoice_view.php?id=6 [Mon Dec 14 23:37:56 2009] [error] [client XX.145.209.197] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/var/www/html/dompdf/include/domdocument.cls.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/dompdf/dompdf_config.inc.php on line 194, referer: http://XX.196.184.46:9080/A2billing/customer/A2B_invoice_view.php?id=6 I just don't know where to go from here. Thanks |
Author: | jroper [ Tue Dec 15, 2009 9:17 am ] |
Post subject: | Re: how to generate PDF invoices with A2B1.4.1 |
Hi You should really be using PHP 5.2 Joe |
Author: | cerien [ Tue Dec 15, 2009 12:46 pm ] |
Post subject: | Re: how to generate PDF invoices with A2B1.4.1 |
Robin I have a centos 5.3 box, with PHP 5.2 taken from jason: http://www.jasonlitka.com/yum-repository/ Here is a list of upgraded modules: php.x86_64 5.2.11-jason.1 installed php-cli.x86_64 5.2.11-jason.1 installed php-common.x86_64 5.2.11-jason.1 installed php-gd.x86_64 5.2.11-jason.1 installed php-imap.x86_64 5.2.11-jason.1 installed php-mbstring.x86_64 5.2.11-jason.1 installed php-mysql.x86_64 5.2.11-jason.1 installed php-pdo.x86_64 5.2.11-jason.1 installed php-xml.x86_64 5.2.11-jason.1 installed Also, the first error in your log is because you need to set date.timezone = to your timezone in php.ini - not critical, but good to fix j. |
Author: | RobinA [ Tue Dec 15, 2009 1:33 pm ] |
Post subject: | Re: how to generate PDF invoices with A2B1.4.1 |
Joe, I'm running PHP 5.2.9. Code: PHP Logo PHP Version 5.2.9 J, I'll try installing the jason packages and see what happens. Thanks again, Robin. |
Author: | lethal-gr [ Wed May 12, 2010 8:30 am ] |
Post subject: | Re: how to generate PDF invoices with A2B1.4.1 |
Anyone has an updated invoice PDF version for A2B 1.7? Regards |
Page 2 of 2 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |