Loadposition Plugin crashes PDF creation
Posted: 18 May 2016, 00:19
Hi Phoca Team,
while working on a website for a customer, I came across a something, that might be a bug in PhocaPDF.
While PhocaPDF works fine with articles which do not use the loadposition plugin, it fails to create any form of PDF when the joomla core plugin for {loadposition} or {loadmodule} is used in the article. There isn't any error message at all, it just shows you, that the pdf could not be rendered correctly.
I am aware, that the component and plugin for PhocaPDF have the option to disable plugin code. But strangely enough, this option does nothing when it comes to this explicit plugin (plugins/content/loadmodule). No matter if you turn it off or on. Furthermore, I use the Inline Browser (Popup) as the PDF Destination. Changing this options also result in a unsuccesful rendering of the pdf.
I have testet this behaviour with a second Joomla! and different plugins. Youtube or gallery plugins work fine and PhocaPDF successfully disables the code and renders the pdf. I also testet it with Phoca Download and the Phoca Download Plugin, in the case the problem would be single bracket plugin code. But the Phoca Download Plugin works fine, no crash. At this point, I only found that the loadpositon / loadmodule plugin creates this bug. It does not matter, if modules are actually loaded. The plugin code alone is enough.
I am sorry if this is a known issue, but I could not find anything on the topic in this forum or google. A solution to that problem would be very much appreciated.
Addional infos:
Joomla version: 3.5.1
PHP Version: 5.6.19 & 5.4.4.
PhocaPDF version: 3.0.2
Phoca PDF Content Plugin installed
Phoca PDF System Plugin installed on one system, the other used the overwrite method. same bug.
Used content language: german (umlauts are used)
No caching enabled
while working on a website for a customer, I came across a something, that might be a bug in PhocaPDF.
While PhocaPDF works fine with articles which do not use the loadposition plugin, it fails to create any form of PDF when the joomla core plugin for {loadposition} or {loadmodule} is used in the article. There isn't any error message at all, it just shows you, that the pdf could not be rendered correctly.
I am aware, that the component and plugin for PhocaPDF have the option to disable plugin code. But strangely enough, this option does nothing when it comes to this explicit plugin (plugins/content/loadmodule). No matter if you turn it off or on. Furthermore, I use the Inline Browser (Popup) as the PDF Destination. Changing this options also result in a unsuccesful rendering of the pdf.
I have testet this behaviour with a second Joomla! and different plugins. Youtube or gallery plugins work fine and PhocaPDF successfully disables the code and renders the pdf. I also testet it with Phoca Download and the Phoca Download Plugin, in the case the problem would be single bracket plugin code. But the Phoca Download Plugin works fine, no crash. At this point, I only found that the loadpositon / loadmodule plugin creates this bug. It does not matter, if modules are actually loaded. The plugin code alone is enough.
I am sorry if this is a known issue, but I could not find anything on the topic in this forum or google. A solution to that problem would be very much appreciated.
Addional infos:
Joomla version: 3.5.1
PHP Version: 5.6.19 & 5.4.4.
PhocaPDF version: 3.0.2
Phoca PDF Content Plugin installed
Phoca PDF System Plugin installed on one system, the other used the overwrite method. same bug.
Used content language: german (umlauts are used)
No caching enabled