Solved: TCPDF errors - Empty pdf
Posted: 10 Feb 2014, 01:29
Hi Jan,
I am having problems displaying a pdf and have set error reporting on to get an idea of the problem.
The pop up appears but is blank.
With error reporting I get this:
Strict Standards: Non-static method PhocaPDFRender::renderPDF() should not be called statically, assuming $this from incompatible context in /home/sites/spiderswebpub.co.uk/public_html/libraries/joomla/document/pdf/pdf.php on line 96 Strict Standards: Only variables should be assigned by reference in /home/sites/spiderswebpub.co.uk/public_html/administrator/components/com_phocapdf/helpers/phocapdfrender.php on line 105
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 71 bytes) in /home/sites/spiderswebpub.co.uk/public_html/administrator/components/com_phocapdf/assets/tcpdf/encodings_maps.php on line 637
I have set the memory limit to 40Meg but still get this error. I am going to contact my server host to ensure the setting is at 40Meg - the error seems to suggest it is still at 24Meg.
What is the issue with Strict standards and is this a problem? re: PhocaPDFRender::renderPDF()
Additionally when I view the phocapdf plugin I cannot view the header - I can see the settings for 'site', 'footer' and 'pdf' but nothing shows for header. this is the same for both 'content' and 'restaurant menu'.
regards,
Jimmuk
I am having problems displaying a pdf and have set error reporting on to get an idea of the problem.
The pop up appears but is blank.
With error reporting I get this:
Strict Standards: Non-static method PhocaPDFRender::renderPDF() should not be called statically, assuming $this from incompatible context in /home/sites/spiderswebpub.co.uk/public_html/libraries/joomla/document/pdf/pdf.php on line 96 Strict Standards: Only variables should be assigned by reference in /home/sites/spiderswebpub.co.uk/public_html/administrator/components/com_phocapdf/helpers/phocapdfrender.php on line 105
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 71 bytes) in /home/sites/spiderswebpub.co.uk/public_html/administrator/components/com_phocapdf/assets/tcpdf/encodings_maps.php on line 637
I have set the memory limit to 40Meg but still get this error. I am going to contact my server host to ensure the setting is at 40Meg - the error seems to suggest it is still at 24Meg.
What is the issue with Strict standards and is this a problem? re: PhocaPDFRender::renderPDF()
Additionally when I view the phocapdf plugin I cannot view the header - I can see the settings for 'site', 'footer' and 'pdf' but nothing shows for header. this is the same for both 'content' and 'restaurant menu'.
regards,
Jimmuk