500 error on clicking PDF icon

Phoca PDF - creating PDF documents in Joomla! CMS
oorzaak
Phoca Member
Phoca Member
Posts: 47
Joined: 11 Dec 2008, 00:37

500 error on clicking PDF icon

Post 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
oorzaak
Phoca Member
Phoca Member
Posts: 47
Joined: 11 Dec 2008, 00:37

Re: 500 error on clicking PDF icon

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

Re: 500 error on clicking PDF icon

Post 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:
If you find Phoca extensions useful, please support the project
HFU
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 17 Jan 2014, 21:48

Re: 500 error on clicking PDF icon

Post 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
Last edited by HFU on 22 Jan 2014, 18:37, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 500 error on clicking PDF icon

Post 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?
If you find Phoca extensions useful, please support the project
HFU
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 17 Jan 2014, 21:48

Re: 500 error on clicking PDF icon

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

Re: 500 error on clicking PDF icon

Post by Jan »

Hi, for each extension a specific plugin needs to be written.

Jan
If you find Phoca extensions useful, please support the project
HFU
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 17 Jan 2014, 21:48

Re: 500 error on clicking PDF icon

Post by HFU »

Thank you for your answer!
Post Reply