Posted: May 5, 2017 at 5:09 am
|
Hi, Thank you, |
Hi Vince, Your server is likely not configured to allow converting an html page to PDF. There’s a fatal error being thrown and if you check the server’s PHP error log you should be able to find the error which will point to what’s missing on your server. It’s likely there’s a necessary PHP function that’s been disabled by your host, and once you know the error message we’ll know the next step. Can you check your PHP error log? |
|
|
Hi josh, [08-May-2017 05:43:35 UTC] WordPress database error Unknown column ‘wp_esp_datetime.DTT_EVT_start’ in ‘where clause’ for query SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.ID IN (786,72,923,766,419) AND wp_posts.post_type = ‘page’ AND ((wp_posts.post_status = ‘publish’)) AND wp_esp_datetime.DTT_EVT_start >= “2017-05-08 00:00” ORDER BY wp_esp_datetime.DTT_EVT_start ASC made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/wp_aim/template-events-listing.php’), get_footer, locate_template, load_template, require_once(‘/themes/wp_aim/footer.php’), wp_nav_menu, wp_get_nav_menu_items, get_posts, WP_Query->query, WP_Query->get_posts Will you please help me out on this? |
Hi Vince, The errors all originate from your active WordPress theme. If you temporary switch to one of the default WordPress themes does the site then allow you to download a PDF from the Invoice page? If not, do any new errors get logged? |
|
|
Hi josh, Above link is working. See below link that is not working: Please have a look. I personally think https://australianinstituteofmanagement.com.au/ domain does not allow to include php script/file that should be executed once we click on Download Pdf. Please help to sort out this issue. Thanks |
On the live site, can you enabled WP_DEBUG and then post here to let me know you have it enabled. Make sure you’re not just logging the errors but displaying them as we need to see the error that is being thrown when the button is clicked and the errors you posted above don’t appear to be the problem. |
|
The support post ‘Unable to Download PDF from Invoice page?’ 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.