Page 1 of 1

Error when integrating with EasyBlog

Posted: 09 Jul 2012, 09:26
by RickSure
I've seen a couple of questions on the forum regarding this, but no resolution.

I am trying to get PhocaPDF working with EasyBlog by StackIdeas. Their extension has an option to enable PhocaPDF which I have done. This adds a PDF link to each post. However when this is clicked, the following two errors are displayed in the pop-up window:

Fatal error: Call to a member function SetMargins() on a non-object in /home/myaccount/public_html/administrator/components/com_phocapdf/helpers/phocapdfrender.php on line 144

Fatal error: Access to undeclared static property: JLoader::$classes in /home/myaccount/public_html/libraries/loader.php on line 195

I am using the latest version of the component and plugin. The site is running Joomla 2.5.6. The server uses PHP5.

Re: Error when integrating with EasyBlog

Posted: 12 Jul 2012, 18:01
by Jan
Hi, unfortunatelly I don't know Easyblog, does the Phoca PDF works with standard articles on your server?

Re: Error when integrating with EasyBlog

Posted: 16 Jul 2012, 07:45
by RickSure
No. I assume that once installed, a PDF icon should appear next to the article heading. It does not. But my template, like a lot of modern templates, uses template overrides for com_content. So I'm guessing that's why the icon doesn't appear. But that shouldn't affect the EasyBlog plugin. Do those errors I posted provide any clue?

Re: Error when integrating with EasyBlog

Posted: 18 Jul 2012, 15:12
by Jan
Hi, no, this should not affect it. :idea: as the change is hard coded into article or into overriding part. :idea:

Jan

Re: Error when integrating with EasyBlog

Posted: 02 Apr 2013, 13:11
by Tryweryn
Did anyone figure this out I have the same problem with joomla 3, latest phoca and latest easyblog?

Re: Error when integrating with EasyBlog

Posted: 06 Apr 2013, 20:06
by Jan
Hi, did you hardcoded the icon into easyblog?
https://www.phoca.cz/documents/47-phoca- ... e-joomla-3
Jan