Posted: June 9, 2015 at 10:20 am
|
Hi At the end of a successful registration, when I click “View Full Order Confirmation Receipt” I get a blank page. This only started happening when I moved to a production server. It worked fine on my localhost dev server. Any ideas? Many Thanks |
Hi Aidan, A blank page usually means there is a fatal error. Can you enable WP_DEBUG on the site and reload that white page please. Do you see any errors? Currently, I’d guess the sites memory has been exhausted. The error message will tell us more and we can advise how to fix. |
|
|
Hi Tony Thanks for the response. I have the following code in wp-config.php if (WP_DEBUG) { I then ran the steps that lead to the blank page. This may be a basic question but where would I see the debug output. I created a debug.log file in wp-content but it appears empty after recreating the problem. |
You should see output on the page itself. This link define(‘WP_DEBUG_DISPLAY’, true); Basically sets display errors to yes. define(‘WP_DEBUG_LOG’, true); Sets the errors to also be saved in /wp-content/debug.log try creating the deile yourself and assigning permissions of 666. Also go to Event Espresso -> Generl Settings -> Critial Pages. Check all of the pages show Page status Ok and Shortcode Ok. Then go through your general settings and check if the settings are as they were in dev, or are they all reset? |
|
|
Hi Tony I have enabled debugging but don’t seem to be generating any error messages from the blank page (if I force a dummy test error the dummy error message appears). However what I have now realised is that it is not the pdf generation that is the problem but the receipt confirmation html page itself. So behaviour is as follows. From Thank-you page: So it does seem to be narrowed down to the receipt html generation. Thanks |
Can you go to http://take.ms/FaDK0 Then find the Receipt message template – http://take.ms/a8x2b When you edit the template does it show something like this – http://take.ms/QEF9X Or are the fields blank? |
|
|
They appear to be blank |
Ok go to Event Espresso -> Messages -> Settings. Click the HTML tab and find Receipt in the list – http://take.ms/SDczS Drag it over to ‘Inactive Message Types’ box on the right, wait a few seconds then drag it back. Now recheck if the template shows content. If not on the right click the ‘Reset Templates’ button. This will reset the Receipt Template back to default. |
|
|
I hit the reset templates and now its all working – many thanks! Resolved |
Your most welcome, thanks for letting me know it fixed it. |
|
The support post ‘Order Confirmation – PDF Generation’ 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.