Posted: November 30, 2015 at 2:22 am
When hitting the pdf-button on the html receipt page, the pdf will not download. In Safari, I get a blank page, in chrome server error 500. Off course I have read all similar posts on this topic but nothing works. |
|
Hi Sya, Can you link us to an event we can run a test registration on please? |
|
That would be: http://test2.design-bakery.nl/congres/nieuwe-wondere-wereld-van-dementie/ I run the latest version of EE4 as of this morning by the way. |
|
Can you temporarily enable WP_DEBUG please? If you check within the servers error logs do you see any fatal errors? You can also enabled error logging within WordPress using: define( 'WP_DEBUG', true ); // Or false if ( WP_DEBUG ) { define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 ); } That will enable error logging but not display errors to the page, they wll be stroed within /wp-content/debug.log |
|
I get this error: Kind regards, Sya
|
|
Your site is running out of memory which is why the PDF fails. Currently its failing at around 134MB which is fairly high but its possible your site uses that amount of memory. Can you increase the memory available to your site by following the instructions here: https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP Basically add:
To your wp-config.php file and retest is it happens again. |
|
Thanks! It worked! |
|
You’re most welcome 🙂 I’ll mark this thread resolved. |
|
The support post ‘PDF download receipt results in server error 500’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.