Page 1 of 2

Error 500

Posted: 26 Apr 2010, 12:46
by willi_the_poo
By trying to generate a PDF with Phoca PDF I receive an error 500 after clicking the PDF-icon. The adress then displayed in the adress-line of the browser looks somehow strange, e.g.: index.php?view=article&catid=2%3Aifnm&id=6%3Aifnm&format=phocapdf&option=com_content&Itemid=10
"ifnm" is the domain-name. What does this string do in the adress of the pdf???
Please help!
Willi

Re: Error 500

Posted: 26 Apr 2010, 16:32
by Gruz
In most cases with PhocaPDF the error is caused by the server timeout. This can mean you either have something incorrect in your phocaPDF content plugin settings (which brokes the PDF generating process), or have something wrong with your server configuration, or server timeout limit is not enought for your PDF (e.i. it's too big).

The problems can also be caused by too big images in the article.

The link part seems not to be a phocaPDF infuence, but it seems to be the alias of the article, which makes more sense when you use SEF links in joomla. Check the alias.

Re: Error 500

Posted: 26 Apr 2010, 17:10
by willi_the_poo
Can the problem possibly be caused because phoca pdf is not able to write the pdf?? How must the rights be set that phoca can write the data?

Re: Error 500

Posted: 26 Apr 2010, 17:23
by Gruz
As far as I know, phocaPDF doesn't write the PDF anywhere except the stream.

So it cannot be caused by permissions.

But check this folder: administrator/components/com_phocapdf/assets/tcpdf/cache

Re: Error 500

Posted: 26 Apr 2010, 21:45
by willi_the_poo
The folder exists and has 755. Is that OK??

Re: Error 500

Posted: 26 Apr 2010, 22:08
by Gruz
I don't know. Experiment. But as I told before, it seems not to be a permission problem at all.

Try to install a fresh Joomla + PhocaPDF and check how it works to find out if it's your joomla configuration problem.

Re: Error 500

Posted: 27 Apr 2010, 09:05
by willi_the_poo
Hm, I cannot reinstall Joomla each time when a component doesn't work properly. This can only be the "ultima ratio".

Re: Error 500

Posted: 27 Apr 2010, 09:34
by Gruz
ok

Re: Error 500

Posted: 30 Apr 2010, 11:16
by willi_the_poo
Oh oh oh... I solved the "problem" myself. After uploading the component I ignored the "install"-Button and continued without clicking it. Shame on me!!!

Re: Error 500

Posted: 30 Apr 2010, 14:08
by Benno
Well done! :twisted:
Kind regards,
Benno