Page 1 of 1

500 error on clicking PDF icon

Posted: 28 Sep 2012, 16:17
by oorzaak
Hi,

I've just figured out how I'd want to set up Phoca pdf on this site: www .acw.be . I used a copy of this site for development purposes; it runs on test.acw.be (it is not made public because it is a development stage only). I had to create a template override because my template at first did not show the PDF icon. On the Phoca site I've found the instructions to do this.

Also, I've made a little hack to the phocapdfcontenttcpdf.php file because I want to show some info in the footer which are not available normally. I didn't see a way to do this with a template override so I just kept a copy of the original file and put the hacked file in its place. Now everything runs smoothly on the development stage.

Then I installed PhocaPDF on the live site and copied all settings. Also, I copied the hacked file. Unfortunately, all I'll get on the live site is a 500 error. Details of this error are:
View not found [name, type, prefix]: article, pdf, contentView
I cannot find any difference between live site and test stage which might cause this error. I hope someone can help me out on this issue.


Kind regards, Frits

Re: 500 error on clicking PDF icon

Posted: 08 Oct 2012, 14:26
by oorzaak
Hi,
I've just checked every file and setting on this issue once more and still cannot find a solution by myself. Hope someone will be able to help me.

Kind regards, Frits

Re: 500 error on clicking PDF icon

Posted: 11 Oct 2012, 22:42
by Jan
Hi, try to recheck, if the template is the same (try to see errorLog on your server, maybe there will be some error), check if all files were correctly moved to server, :idea:

Re: 500 error on clicking PDF icon

Posted: 17 Jan 2014, 22:07
by HFU
Hi everyone!
I'm stuck with the same error. Phoca pdf work perfectly fine with with all sections of our client's site except for one.
Unfortunately this is one of the more important ones...
The url of said section is [url removed]
if you click on an of profiles and try to have it generated into pdf format, you will receive the mentioned error.

Does anybody have an idea on how to fix this?
best regards, flo

Re: 500 error on clicking PDF icon

Posted: 18 Jan 2014, 21:22
by Jan
Hi, do you have some specific plugin view? What component is active on the site? Is this com_content or any other component?

Re: 500 error on clicking PDF icon

Posted: 20 Jan 2014, 17:44
by HFU
HI Jan,

We're using an extension called 'Profiler' (haroldprins.nl/index.php/com-profiler) which creates the view in order to display its output.
It's not the standard J! com_content but the component specific view created by the profiler.

now, is it even possible to create pdf files from third party components?

Regards,
flo

Re: 500 error on clicking PDF icon

Posted: 20 Jan 2014, 20:45
by Jan
Hi, for each extension a specific plugin needs to be written.

Jan

Re: 500 error on clicking PDF icon

Posted: 22 Jan 2014, 18:36
by HFU
Thank you for your answer!