Hello, a while back I developed a website for a client who has at least 300 product pages. Each product has 10-20 photos in the article. I used Phoca PDF to create a condensed pdf of the article for the user to print.
Recently I developd a website for one of their subsidiaries, it had the same basic layout and functionality. All I did was make a copy of the website and made changes to the style sheet. It doesn't even have 1/3rd of the content. So now when I try and open the pdf I get this error:
Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 130720 bytes) in /home/steadfas/public_html/administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 6004
Now this may be an issue with the allocated php space but, it's kind of hard to believe given that the older site is much bigger and works fine and this one has drastically less content.
Here is the site that works:
http://www.minardsleisureworld.com/recr ... ff-29-skbs
Here is the site with the issue:
http://mysteadfasthomes.com/twenty-foot ... line-20307
Thanks.
PHP error
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PHP error
Hi, you should check the memory settings and check if the server is able to manage the content (check if the content is not difficult to get managed by pdf and server)
Jan
Jan
If you find Phoca extensions useful, please support the project