Topic: repgen-2.2 error in tcpdf.php?

Hi,

When I try to run the 'accounts list' report I get the following error:

Unsupported operand types in ..../frontaccount/reporting/includes/tcpdf.php on line 6193

Does anyone know how to fix this?

Thanks for any help

David

Re: repgen-2.2 error in tcpdf.php?

Interesting. There is no expression which could cause this error in line 6193 tcpdf.php in current  FA 2.2.2 nor unstable CVS code. What FA version you have?

Janusz

Re: repgen-2.2 error in tcpdf.php?

Did you upgrade to the latest repgen for 2.2. There was an upgrade to this short after the release.

/Joe

Re: repgen-2.2 error in tcpdf.php?

Hi,

I was using v2.2.1 and just upgraded to 2.2.2.

Now when I try to run the 'accounts list' report from repgen I get a whole page of:

%PDF-1.3
3 0 obj
<</Type /Page
/Parent 1 0 R
/MediaBox [0 0 595.28 841.89]
/Resources 2 0 R
/Annots [<</Type /Annot /Subtype /Link /Rect [50.00 806.00 155.79 790.00] /Contents (1) /NM (0001-0000) /M (D:20100104234236) /Border [0 0 0] /C [] /A <</S /URI /URI (1)>> /H /I>><</Type /Annot /Subtype /Link /Rect [50.00 787.00 102.91 779.00] /Contents (1) /NM (0001-0001) /M (D:20100104234236) /Border [0 0 0] /C [] /A <</S /URI /URI (1)>> /H /I>><</Type /Annot /Subtype /Link /Rect [120.00 787.00 182.27 779.00] /Contents (1) /NM (0001-0002) /M (D:20100104234236) /Border [0 0 0] /C [] /A <</S /URI /URI (1)>> /H /I>><</Type /Annot /Subtype /Link /Rect [50.00 775.00 92.23 767.00] /Contents (1) /NM (0001-0003) /M (D:20100104234236) /Border [0 0 0] /C [] /A <</S /URI /URI (1)>> /H /I>><</Type /Annot /Subtype /Link /Rect [50.00 763.00 74.46 755.00] /Contents (1) /NM (0001-0004) /M (D:20100104234236) /Border [0 0 0] /C [] /A <</S /URI /URI (1)>> /H /I>><</Type /Annot /Subtype /Link /Rect [400.00 799.88 455.51 790.88] /Contents (1) /NM (0001-0005) /M (D:20100104234236) /Border [0 0 0] /C [] /A <</S /URI /URI (1)

I am using the latest version of repgen for 2.2, any ideas?

Thanks,

David

Re: repgen-2.2 error in tcpdf.php?

Hello again,
Enter the config.php file with an editor and set the $go_debug variable to 0 (when this is 1 FA prints the instructions to the pdf engine instead of the pdf file).

/Joe

Re: repgen-2.2 error in tcpdf.php?

Hi,

Changing the go_debug setting in config.php worked, so repgen is up and running.

Thanks.

Just a thought, when I did the upgrade from 2.2.1 to 2.2.2 if as root on the server I do:

tar xvfz frontaccounts.xxx -C /var/www/html

then that will replace the whole frontaccounts directory including any themes or modules. Is there a drawback to using

cp -a frontaccounts.xxx/* /var/www/html/frontaccount/

which saves you having to backup the modules and themes directories as it only overwrites the files that are in the upgrade tarball?

Cheers,

David

Re: repgen-2.2 error in tcpdf.php?

When you upgrade any minor release you can safely copy files, preserving installed modules/themes. But when new major release (next is 2.3) arrives your old extensions can be not compatible after changes in core code, so no guarantee in this case.

Janusz