Posted: February 1, 2014 at 11:59 pm
|
I am getting the PHP error below with the ticketing add-on. When selecting “Download PDF Ticket” either from the ticket preview page or from the attendee record dashboard. Help much appreciated! URL: http://apsdex.com/event-registration/ WP 3.8.1 /wp-content/plugins/event-espresso/tpc/dompdf/dompdf_config.inc.php on line 385
|
Hi Mark, Can you find out which version of PHP is installed on this server and let us know? Thanks. |
|
|
Hi Josh, |
That’s not quite a specific version number. It should be something like PHP 5.2.17 or PHP 5.4.4. |
|
|
Server: Localhost via UNIX socket cpsrvd 11.36.2.12 PHP myAdmin |
With that being the case, it may help to change the DOMPDF autoload function that starts around line 334 of /event-espresso/tpc/dompdf/dompdf_config.inc.php to use the code that was posted in this related thread: |
|
|
Thanks Josh, I just contacted HostGator and they said the default PHP Version is 5.2.17. They also mentioned that it could be defined for each of my domains. If the PHP version will make the difference, I can try to figure out how to change it. -Mark |
|
Thanks Josh, but actually your suggestion didn’t work. because the originial dompdf_config.inc.php already implemented that code in it. any other suggestion? |
|
If you can get the php version to greater than or equal to 5.3, then it should run line 371 instead of 375-408, where the exception is being thrown. |
|
Sidney, Thanks for your suggestion. 5.3 does resolved the problem. big thanks. |
The support post ‘Ticketing: PHP Bug #44144’ 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.