Page 1 of 1

Conflict TCPDF vs phocapdfrender.php

Posted: 28 Sep 2016, 23:09
by dpur293
I have installed the latest version of the plugin (followed the instructions) on Joomla 3.6. I am able to get it to make the header and footer of the pdf but it is blank.

I saw the message about conflicts on the component site but the conflict is within the component. I checked the log files and see the following:

Warning: Cannot modify header information - headers already sent by (output started at /home2/khoopes/public_html/administrator/components/com_phocapdf/helpers/phocapdfrender.php:89) in /home2/khoopes/public_html/administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 9076
TCPDF ERROR: Some data has already been output to browser, can't send PDF file

also see this ( know it's not totally relevant):

Strict Standards: Only variables should be assigned by reference in /home2/khoopes/public_html/administrator/components/com_phocapdf/helpers/phocapdfrender.php on line 89

Strict Standards: Only variables should be assigned by reference in /home2/khoopes/public_html/plugins/phocapdf/content/content.php on line 129

Is there something I am missing?

Also would love to just pay you guys to install it correctly, if that is an option.

Thanks,

Re: Conflict TCPDF vs phocapdfrender.php

Posted: 02 Oct 2016, 18:18
by Jan
Hi, try to install Phoca PDF component version 3.0.3 and plugin version 3.0.3.

You shouldn't get such errors there:
https://www.phoca.cz/news/903-phoca-pdf-3-0-3-released
Jan

Re: Conflict TCPDF vs phocapdfrender.php

Posted: 07 Oct 2016, 03:44
by dpur293
I updated the component & content plugin but the system plugin is still showing as 3.0.2

I still get a blank page with header & footer working OK.

Any ideas as to why?

Re: Conflict TCPDF vs phocapdfrender.php

Posted: 07 Oct 2016, 18:26
by Jan
Hi, system plugin is only needed for displaying the icon, so it does not have any influence on rendering the PDF (you can see the latest version here:

https://www.phoca.cz/download/category/8 ... tem-plugin - it is version 3.0.2)

Does it mean, the PDF is rendered on your site? If yes, try to add only some simple text to the article to know, it is not somehow caused by content :idea:

Jan

Re: Conflict TCPDF vs phocapdfrender.php

Posted: 07 Oct 2016, 21:57
by dpur293
I just tried it. The header and footer are beautiful, just the content doesn't load

I used all of the standard Joomla templates and my custom one (tried 5)

Re: Conflict TCPDF vs phocapdfrender.php

Posted: 09 Oct 2016, 20:09
by Jan
And if you paste only simple text to the article?

Jan