fkrauthan on "[Plugin: wp-mpdf] Generating PDF on mobile devices"

ساخت وبلاگ

Hello,

As the title says, I have tried generating PDF files for Woo products on mobile devices, and it seems that none of the mobile software recognize extension.

I have tried opening generated/live 'file' with Mozilla firefox, PDF file viewer and OfficeSuite, each of them thrown an error that says something similar to "it is not a valid PDF document".

Anything can be done regarding this?

https://wordpress.org/plugins/wp-mpdf/

That sounds like that there is a plugin throwing an error. Can you check your PHP error log if it says anything?

Wouldn't it not work on both desktops and mobiles in case if some plugin would be throwing an error?

Should I check server PHP error log or?

So desktop is working and mobile is not working? Do I understand that correctly?

Yes, that is what I meant, none of the programs on mobile 'recognize the format'

Have you ever tried downloading the PDF on your desktop. Sending that PDF via email and opening it on your phone? I am wondering if it is really a file issue itself or if I just need to modify which headers are getting send so mobile devices recognize it correctly as PDF.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 228 تاريخ : يکشنبه 13 تير 1395 ساعت: 5:03