• Resolved napathello

    (@napathello)


    Hi

    try export PDF have error on stock central

    The HTML code size is larger than pcre.backtrack_limit 1000000. You should use WriteHTML() with smaller string lengths.

    error on PO page

    Cannot find TTF TrueType font file "Garuda-Bold.ttf" in configured font directories.

    thank you

    • This topic was modified 5 years, 11 months ago by napathello.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Salva Machi

    (@salvamb)

    Hi @napathello,

    The first error is happening due to the limit you have set by default on your PHP. If you are trying to export a large amount of products, you can try to export them by parts or to change your php.ini to increase the pcre.backtrack_limit in your php.ini, for example to 5000000

    More info about this PHP limit:
    https://php.net/manual/en/pcre.configuration.php

    The second error is due to a font that is used by the mPDF library for your specific language that is missing. We’ll add the missing font to the next update.

    Best Regards,
    Salva.

    • This reply was modified 5 years, 11 months ago by Salva Machi.

    Hi,

    I have this problem when exporting inventory using ATUM, please help

    Cannot find TTF TrueType font file “../../../../assets/fonts/atum-icon-font.ttf” in configured font directories.

    • This reply was modified 5 years, 5 months ago by Mike Tan.
    Plugin Author Salva Machi

    (@salvamb)

    Hi Mike,

    Please confirm that you have the atum-icon-font.ttf in this path:

    /wp-content/plugins/atum-stock-manager-for-woocommerce/assets/fonts/

    And that has the right file permissions.
    You have more info about file permissions in WordPress here:

    Changing File Permissions

    Best Regards,
    Salva.

    Hi Salva,

    I have it in my directory with 0644 permission. What should I change it to?

    Plugin Author Salva Machi

    (@salvamb)

    0644 is not the right permission for a directory. Please read the article I linked before:

    • All directories should be 755 or 750.
    • All files should be 644 or 640. Exception: wp-config.php should be 440 or 400 to prevent other users on the server from reading it.
    • No directories should ever be given 777, even upload directories. Since the php process is running as the owner of the files, it gets the owners permissions and can write to even a 755 directory.

    Thank you,
    Salva.

    Yes, I have all the correct settings but I’m still getting the error message.

    Regards,
    Mike

    Plugin Author Salva Machi

    (@salvamb)

    Hi Mike,

    As this is the first time a user notifies us about such error, I suspect is something related to your hosting or web server configuration. Please ask your hosting provider about this issue or try a different host.

    Best Regards,
    Salva.

    • This reply was modified 5 years, 5 months ago by Salva Machi.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Export PDF error’ is closed to new replies.