Support

Home Forums Event Espresso Premium Download PDF non-functional

Download PDF non-functional

Posted: October 11, 2016 at 4:58 am


Jonathan Young

October 11, 2016 at 4:58 am

Hi,

We recently launched a registration site which uses Event Espresso for Event management. We’ve noticed that the Download PDF isn’t working upon accessing the invoice/receipt after a registration has been successful, it allows the registrant to download the PDF, but it is completely blank when opened.

It was displaying an error message before: (home/***/public_html/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/dompdf_config.inc.php on line 329)

But this was resolved by installing the MBSTRING extension, have you any ideas as to why the PDF function is generating blank PDFs?

Thanks!


Josh

  • Support Staff

October 11, 2016 at 2:18 pm

Hi Jonathan,

That might be throwing a fatal error so there’s no output. Can you check your PHP error logs right after you try to generate a PDF?


Jonathan Young

October 12, 2016 at 3:58 am

Hi Josh,

Thanks for your reply, upon attempting to do a test registration with debugging enabled these errors are displayed and block access to the registration form page, any ideas?

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559

Warning: Cannot modify header information – headers already sent by (output started at /home/***/public_html/wp-includes/wp-db.php:1559) in /home/***/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Front_Controller.core.php on line 108

Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/***/public_html/wp-includes/wp-db.php:1559) in /home/***/public_html/wp-content/plugins/event-espresso-core/core/EE_Session.core.php on line 403

Warning: Cannot modify header information – headers already sent by (output started at /home/***/public_html/wp-includes/wp-db.php:1559) in /home/***/public_html/wp-includes/pluggable.php on line 1174

Thanks again


Josh

  • Support Staff

October 12, 2016 at 8:06 am

Hi Jonathan,

According to this support thread on the wp.org support forums, you can fix the error you’re seeing by resetting the db password (usually this is done in your host’s control panel), then you update your wp-config.php file to use the new password.


Jonathan Young

October 13, 2016 at 5:46 am

Hi Josh,

Thanks for the response and apologies for the delayed reply, I’ve managed to put a registration through and capture the php errors in the debug log please find it’s output below, can you interpret where it might be going wrong?

[13-Oct-2016 11:36:07 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:36:19 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:36:20 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:36:24 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:36:31 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:36:43 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:36:46 UTC] PHP Notice: Undefined variable: reset_pass_url in /home/***/public_html/wp-content/plugins/welcome-email-editor/sb_welcome_email_editor.php on line 373
[13-Oct-2016 11:36:46 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:36:49 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:36:50 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:36:52 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:36:52 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:36:55 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:37:00 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:37:09 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:37:13 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:37:20 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:37:21 UTC] PHP Notice: Undefined index: custom_icon in /home/***/public_html/wp-content/plugins/ultimate-timeline/includes/functions.php on line 264
[13-Oct-2016 11:37:21 UTC] PHP Notice: Undefined index: fontawsome in /home/***/public_html/wp-content/plugins/ultimate-timeline/includes/functions.php on line 265
[13-Oct-2016 11:37:21 UTC] PHP Notice: Undefined index: icon in /home/***/public_html/wp-content/plugins/ultimate-timeline/includes/functions.php on line 266
[13-Oct-2016 11:37:21 UTC] PHP Notice: Undefined variable: output in /home/***/public_html/wp-content/plugins/ultimate-timeline/includes/shortcodes.php on line 175
[13-Oct-2016 11:37:21 UTC] PHP Notice: Undefined variable: output in /home/***/public_html/wp-content/plugins/ultimate-timeline/includes/shortcodes.php on line 175
[13-Oct-2016 11:37:21 UTC] PHP Notice: Undefined variable: output in /home/***/public_html/wp-content/plugins/ultimate-timeline/includes/shortcodes.php on line 175
[13-Oct-2016 11:37:21 UTC] PHP Notice: Undefined variable: output in /home/***/public_html/wp-content/plugins/ultimate-timeline/includes/shortcodes.php on line 175
[13-Oct-2016 11:37:21 UTC] PHP Notice: Undefined variable: output in /home/***/public_html/wp-content/plugins/ultimate-timeline/includes/shortcodes.php on line 175
[13-Oct-2016 11:37:21 UTC] PHP Notice: Undefined variable: output in /home/***/public_html/wp-content/plugins/ultimate-timeline/includes/shortcodes.php on line 175
[13-Oct-2016 11:37:21 UTC] PHP Notice: Undefined variable: output in /home/***/public_html/wp-content/plugins/ultimate-timeline/includes/shortcodes.php on line 175
[13-Oct-2016 11:37:21 UTC] PHP Notice: Undefined variable: output in /home/***/public_html/wp-content/plugins/ultimate-timeline/includes/shortcodes.php on line 175
[13-Oct-2016 11:37:21 UTC] PHP Notice: Undefined variable: output in /home/***/public_html/wp-content/plugins/ultimate-timeline/includes/shortcodes.php on line 175
[13-Oct-2016 11:37:21 UTC] PHP Notice: Undefined variable: output in /home/***/public_html/wp-content/plugins/ultimate-timeline/includes/shortcodes.php on line 175
[13-Oct-2016 11:37:21 UTC] PHP Notice: Undefined variable: output in /home/***/public_html/wp-content/plugins/ultimate-timeline/includes/shortcodes.php on line 175
[13-Oct-2016 11:37:24 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:37:24 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:37:27 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:37:27 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:37:28 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:37:28 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:37:29 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:37:29 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559
[13-Oct-2016 11:37:39 UTC] PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/***/public_html/wp-includes/wp-db.php on line 1559

Thanks again!


Josh

  • Support Staff

October 13, 2016 at 8:56 am

It doesn’t look like any of those errors have anything to do with Event Espresso, but you still can follow the advice given in my earlier reply to fix those warnings that say “PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future”.

The support post ‘Download PDF non-functional’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 3 years, 1 month ago ago

Topic Tags

Tagged: 

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.