pdf invoice plugin issue

  • Posts: 1119
  • Thank you received: 114
7 years 3 months ago #274738

-- HikaShop version -- : 1707131901

Hi,

We just set in plugin to override on the front end to "YES" and get blank page with error "TCPDF ERROR: Some data has already been output, can't send PDF file" when trying to generate invoice in front-end user order panel. Same issue for back-end. Do we miss some setting?

Tried with protostar template.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26150
  • Thank you received: 4026
  • MODERATOR
7 years 3 months ago #274740

Hello,

It indicates that something is generating data before the plugin ; like a third party plugin which would "echo" some content.
Because of that, the lib cannot send the headers so it can't send a PDF file instead of an HTML document.
php.net/manual/en/function.header.php
You should check your template and third party plugins ; you might need to perform a bit of debug in order to know which file did send some data to the client.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum