500 error on clicking PDF icon
Posted: 28 Sep 2012, 16:17
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:
Kind regards, Frits
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:
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.View not found [name, type, prefix]: article, pdf, contentView
Kind regards, Frits