Error when integrating with EasyBlog

Phoca PDF - creating PDF documents in Joomla! CMS
RickSure
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 09 Jul 2012, 09:22

Error when integrating with EasyBlog

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error when integrating with EasyBlog

Post by Jan »

Hi, unfortunatelly I don't know Easyblog, does the Phoca PDF works with standard articles on your server?
If you find Phoca extensions useful, please support the project
RickSure
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 09 Jul 2012, 09:22

Re: Error when integrating with EasyBlog

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error when integrating with EasyBlog

Post by Jan »

Hi, no, this should not affect it. :idea: as the change is hard coded into article or into overriding part. :idea:

Jan
If you find Phoca extensions useful, please support the project
Tryweryn
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 02 Apr 2013, 12:52

Re: Error when integrating with EasyBlog

Post by Tryweryn »

Did anyone figure this out I have the same problem with joomla 3, latest phoca and latest easyblog?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error when integrating with EasyBlog

Post by Jan »

Hi, did you hardcoded the icon into easyblog?
https://www.phoca.cz/documents/47-phoca- ... e-joomla-3
Jan
If you find Phoca extensions useful, please support the project
Post Reply