xoops forums

black_beard

Just popping in
Posted on: 2012/10/5 5:22
black_beard
black_beard (Show more)
Just popping in
Posts: 59
Since: 2012/6/24
#1

New version for tcpdf_for_xoops is available

Hi,

TCPDF_for_xoops version 1.06 is available for download here.

Minimum required : PHP 5.3 & Xoops 2.5

tcpdf_for_xoops Frameworks for XOOPS is to generate PDF files from the pages of your site. This version is based on version 5.9.193 of project tcpdf.org.
The Frameworks comes without makepdf.php files, you can consult the dedicated section to find the file you need makepdf.php.

Changelog
Quote:

=======================
Version 1.06 2012-10-04
=======================
- PHP TCPDF class has been updated (5.9.180 => 5.9.193)
* composer.json file was added
* Subset feature was extended to include the first 256 characters.
* bug fix related to cached images and a new composer file.
* bug fix related to font names
* bug fix related "Infinite loop in Write() method"
* bug fix related to EAN barcodes
* bug fix related datamatrix barcode
* bug fix related "ini_get safe_mode error"
* buf fix related to Image() method.
* includes support for named destinations on HTML links.


Installation : Simply copy the directory "tcpdf" in "./Frameworks"

Update : Just overwrite the files and directories with the new versions.

Additional fonts are available here (TChinese, schinese, Japanese, Arabic, etc ...)

You can find the documentaion on this page

black_beard

Just popping in
Posted on: 2012/10/5 5:29
black_beard
black_beard (Show more)
Just popping in
Posts: 59
Since: 2012/6/24
#2

Re: New version for tcpdf_for_xoops is available

In the next version (1.07), the system autoload to (composer) will be fully active. I still have some adjustments to do

Mamba

Moderator
Posted on: 2012/10/5 6:54
Mamba
Mamba (Show more)
Moderator
Posts: 10818
Since: 2004/4/23
#3

Re: New version for tcpdf_for_xoops is available

Great news! Thanks Cedric!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

irmtfan

Module Developer
Posted on: 2012/10/6 5:04
irmtfan
irmtfan (Show more)
Module Developer
Posts: 3419
Since: 2003/12/7
#4

Re: New version for tcpdf_for_xoops is available

thank you.
Quote:

Minimum required : PHP 5.3

many of us still use 5.2 in our servers. Also IMO some stable xoops modules in php 5.2 may have issues with 5.3.
I will wait when my server change the php version.

Mamba

Moderator
Posted on: 2012/10/6 5:26
Mamba
Mamba (Show more)
Moderator
Posts: 10818
Since: 2004/4/23
#5

Re: New version for tcpdf_for_xoops is available

Quote:
many of us still use 5.2 in our servers. Also IMO some stable xoops modules in php 5.2 may have issues with 5.3.

I totally missed that.
Yes, PHP 5.2 is still the officially supported version by XOOPS, so it would be beneficial to have TCPDF working on PHP 5.2.

Cedric, any chance to do it?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

black_beard

Just popping in
Posted on: 2012/10/6 8:03
black_beard
black_beard (Show more)
Just popping in
Posts: 59
Since: 2012/6/24
#6

Re: New version for tcpdf_for_xoops is available

I simply followed the changes TCPDF project.
If, I can make changes to the script to accommodate PHP 5.2 (I know where the command line specific to 5.3)
but in the future, we could make a more "copy / paste", see her

irmtfan

Module Developer
Posted on: 2012/10/7 5:05
irmtfan
irmtfan (Show more)
Module Developer
Posts: 3419
Since: 2003/12/7
#7

Re: New version for tcpdf_for_xoops is available

no need to compatible this new version with the old PHP.
IMO all servers will upgrade php 5.2 at most at the end of 2013.
Also xoops 2.5.5 is compatible with 5.2 and we should wait for xoops 2.6 stable version too.
until that time we can use tcpdf_for_xoops 1.05 in our production websites.

irmtfan

Module Developer
Posted on: 2012/10/24 8:08
irmtfan
irmtfan (Show more)
Module Developer
Posts: 3419
Since: 2003/12/7
#8

Re: New version for tcpdf_for_xoops is available

my server upgrade php to 5.3 so there is no problem for me.

But i have the old issue. my server report me makepdf.php exceed the defined limits for resource usage (CPU and Memory).
so i should disable it.
my limitations are below:
Quote:

Average Server Resource Limits
Memory usage may not exceed 10% per domain/file/application
CPU usage may not exceed 20% per domain/file/application
Apache connections may not exceed 30 connections
15 MySQL maximum user connections allowed
350 emails per hour, per domain


Now it used over 100% CPU for newbb/makepdf.php
I had this issue with news and article so i disabled them 4 years ago.

the site traffic is rather high and monthly bandwidth is about 200Gig