TCPDF ERROR: Could not include font definition file: arial

  • Posts: 359
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
4 years 2 days ago #326222

-- url of the page with the problem -- : mugge-p.dk/
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.22
-- PHP version -- : 7.4
-- Browser(s) name and version -- : FireFox

Hi

I'm playing with PDFSerial but I get this error, when I'm confirming the order?

TCPDF ERROR: Could not include font definition file: arial

Kind regards
Thomas

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
4 years 1 day ago #326228

Hello,

Arial should be a system font provided by your server.
It means that font is missing.
You can use non-system fonts, you can see the list in the folder : media/com_hikaserial/fonts/tcpdf/
I would recommend "helvetica" or "courier"

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.

  • Posts: 359
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
4 years 1 day ago #326244

Hi

Thank you, no errors now and I get the email.

But the PDF attached has no info printed on it and a new blank page has also been added?

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
4 years 10 hours ago #326252

Hello,

We would need more details about your "pdf serial" settings to understand the source of the issue.
What is your web-hosting configuration/environement ?

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.

  • Posts: 359
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
4 years 5 hours ago #326264

Hi Jerome

What would you like to know and I'll get that info for you :-)

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
3 years 11 months ago #326324

Hello,

We would need more details about your "pdf serial" settings to understand the source of the issue.

To rephrase : Your "PDF serials" configuration :)

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.

  • Posts: 359
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 11 months ago #326327

Oh, sorry, I was referring to "What is your web-hosting configuration/environement ?"

Please see attached ...

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
3 years 11 months ago #326331

Hello,

You can try without a PDF as template, it will create an empty PDF document.
The template implicates other kind of PHP library and maybe the PDF do have some special features enabled which make it more difficult for the library to use as a template document. PDF document can have embedded fonts, etc.

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.

  • Posts: 359
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 11 months ago #326346

Hi

Yes, just tried that.
Result: I get a PDF in the mail with 2 blank pages.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
3 years 11 months ago #326379

Hello,

Please try to use coordinates and values which are "small" ones.
I'm afraid that you're displaying something outside the limits of the page ; even if it's wrote "px" (as pixels), the PDF lib might interpret them as coordinates in inches.
You should first try with a X 0 and Y 0.

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.

  • Posts: 359
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 11 months ago #326408

Hi

Yes! That was the issue :-)
I'll test some more ...

Thank you so much!

Attachments:

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

  • Posts: 359
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 11 months ago #326409

Hmmm ...
I'm gettting this in the mails sometimes?

--b1_42636e4e50356f0c6cd222e121f9ffa8
Content-Type: multipart/alternative;
boundary="b2_42636e4e50356f0c6cd222e121f9ffa8"

--b2_42636e4e50356f0c6cd222e121f9ffa8
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: base64

SGVqIA0KDQpTdGF0dXMgcMOlIG9yZHJlbnVtbWVyIDAwMDc5IGVyIGJsZXZldCDDpm5kcmV0IHRp
bCBiZWtyw6ZmdGV0Lg0KDQpFbmRudSBlbmdhbmcgdGFrIGZvciBkaW4gb3JkcmUgaHR0cHM6Ly9t
dWdnZS1wLmRrLy4gVmkgaMOlYmVyIGF0IHNlIGRpZyBzbmFydCBpZ2VuLg0KDQoNCg0KTWVkIHZl
bmxpZyBoaWxzZW4sDQpNdWdnZSBQIC0gR2FsbGVyaWUNCg==


--b2_42636e4e50356f0c6cd222e121f9ffa8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: base64

PGh0bWw+PGhlYWQ+PG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0
L2h0bWw7IGNoYXJzZXQ9VVRGLTgiPjx0aXRsZT5EaXQgb3JkcmVudW1tZXIgMDAwNzkgZXIgbnUg
YmVrcsOmZnRldDwvdGl0bGU+PG1ldGEgbmFtZT0idmlld3BvcnQiIGNvbnRlbnQ9IndpZHRoPWRl
dmljZS13aWR0aCwgaW5pdGlhbC1zY2FsZT0xLjAiPjwvaGVhZD48Ym9keSBjbGFzcz0iaGlrYXNo
b3BfbWFpbCI+PHN0eWxlIHR5cGU9InRleHQvY3NzIj5ib2R5Lmhpa2FzaG9wX21haWwgeyBiYWNr
Z3JvdW5kLWNvbG9yOiNmZmZmZmY7IGNvbG9yOiM1NzU3NTc7IH0NCi5SZWFkTXNnQm9keXt3aWR0
aDoxMDAlO30NCi5FeHRlcm5hbENsYXNze3dpZHRoOjEwMCU7fQ0KZGl2LCBwLCBhLCBsaSwgdGQg
ey13ZWJraXQtdGV4dC1zaXplLWFkanVzdDpub25lO30NCkBtZWRpYSAobWluLXdpZHRoOjYwMHB4
KXsNCgkjaGlrYXNob3BfbWFpbCB7d2lkdGg6NjAwcHggIWltcG9ydGFudDttYXJnaW46YXV0byAh
aW1wb3J0YW50O30NCgkucGljdCBpbWcge21heC13aWR0aDo1MDBweCAhaW1wb3J0YW50O2hlaWdo
dDphdXRvICFpbXBvcnRhbnQ7fQ0KfQ0KDQpoMXtjb2xvcjojMDAwMDAwO2ZvbnQtc2l6ZToxNnB4
O2ZvbnQtd2VpZ2h0OmJvbGQ7Ym9yZGVyLWJvdHRvbToxcHggc29saWQgI2RkZDsgcGFkZGluZy1i
b3R0b206MTBweDt9DQpoMntjb2xvcjojMDAwMDAwO2ZvbnQtc2l6ZToxNHB4O2ZvbnQtd2VpZ2h0
OmJvbGQ7bWFyZ2luLXRvcDoxMHB4O21hcmdpbi1ib3R0b206NXB4O2JvcmRlci1ib3R0b206MXB4
IHNvbGlkICNkNmQ2ZDY7cGFkZGluZy1ib3R0b206NHB4O30NCmE6dmlzaXRlZHtjdXJzb3I6cG9p
bnRlcjtjb2xvcjojMmQ5Y2JiO3RleHQtZGVjb3JhdGlvbjpub25lO2JvcmRlcjpub25lO30NCjwv
c3R5bGU+DQo8ZGl2IGlkPSJoaWthc2hvcF9tYWlsIiBzdHlsZT0iZm9udC1mYW1pbHk6QXJpYWws
IEhlbHZldGljYSxzYW5zLXNlcmlmO2ZvbnQtc2l6ZToxMnB4O2xpbmUtaGVpZ2h0OjE4cHg7d2lk

Last edit: 3 years 11 months ago by Thrane.

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

  • Posts: 359
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
3 years 11 months ago #326412

Not sure why I got those mails with weird text, but I have tested and the last 12 e-mails was ok!

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

Moderators: Obsidev
Time to create page: 0.077 seconds
Powered by Kunena Forum