• Resolved robertherzig

    (@robertherzig)


    Hi Guys, after porting our rentalnshop website from one hoster to another something broke. Any ideas on how to resolve the issue? We cant generate any PDFs nor HTML because a file is missing. Our Tax guy is going nuts because he needs the invoices.
    Any help is greatly appreciated

    
    Error Message	fopen(/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/temp/053c51294d12f8061849617a423ac7ea.ttf.tmp.66004b4b67d7b): Failed to open stream: No such file or directory
    Error Number	2
    Error File	/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php
    Error Line	69
    Error Context	null
    Error Detail	function:CatchShutdownHandler
    class:RednaoWooCommercePDFInvoiceAjax
    object:[object Object]
    type:->
    args:2,fopen(/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/temp/053c51294d12f8061849617a423ac7ea.ttf.tmp.66004b4b67d7b): Failed to open stream: No such file or directory,/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php,69
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php
    line:69
    function:fopen
    args:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/temp/053c51294d12f8061849617a423ac7ea.ttf.tmp.66004b4b67d7b,wb
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/lib/Cpdf.php
    line:2842
    function:open
    class:FontLib\BinaryStream
    object:[object Object]
    type:->
    args:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/temp/053c51294d12f8061849617a423ac7ea.ttf.tmp.66004b4b67d7b,wb
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/src/Adapter/CPDF.php
    line:986
    function:selectFont
    class:Cpdf
    object:[object Object]
    type:->
    args:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/lib/fonts/053c51294d12f8061849617a423ac7ea
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/src/FontMetrics.php
    line:309
    function:get_font_height
    class:Dompdf\Adapter\CPDF
    object:[object Object]
    type:->
    args:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/lib/fonts/053c51294d12f8061849617a423ac7ea,10.5
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/src/FrameReflower/Text.php
    line:197
    function:getFontHeight
    class:Dompdf\FontMetrics
    object:[object Object]
    type:->
    args:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/lib/fonts/053c51294d12f8061849617a423ac7ea,10.5
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/src/FrameReflower/Text.php
    line:372
    function:_layout_line
    class:Dompdf\FrameReflower\Text
    object:[object Object]
    type:->
    args:
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php
    line:924
    function:reflow
    class:Dompdf\FrameReflower\Text
    object:[object Object]
    type:->
    args:[object Object]
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/src/FrameReflower/Block.php
    line:847
    function:reflow
    class:Dompdf\FrameDecorator\AbstractFrameDecorator
    object:[object Object]
    type:->
    args:[object Object]
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php
    line:924
    function:reflow
    class:Dompdf\FrameReflower\Block
    object:[object Object]
    type:->
    args:
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/src/FrameReflower/Page.php
    line:142
    function:reflow
    class:Dompdf\FrameDecorator\AbstractFrameDecorator
    object:[object Object]
    type:->
    args:
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php
    line:924
    function:reflow
    class:Dompdf\FrameReflower\Page
    object:[object Object]
    type:->
    args:
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/vendor/dompdf/dompdf/src/Dompdf.php
    line:836
    function:reflow
    class:Dompdf\FrameDecorator\AbstractFrameDecorator
    object:[object Object]
    type:->
    args:
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/PDFGenerator.php
    line:447
    function:render
    class:Dompdf\Dompdf
    object:[object Object]
    type:->
    args:
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/PDFGenerator.php
    line:414
    function:render
    class:RednaoPDFGenerator
    object:[object Object]
    type:->
    args:
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/PDFGenerator.php
    line:294
    function:Generate
    class:RednaoPDFGenerator
    object:[object Object]
    type:->
    args:false
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-content/plugins/PDFInvoiceBuilder/woocommerce-pdf-invoice-ajax.php
    line:602
    function:GeneratePreview
    class:RednaoPDFGenerator
    object:[object Object]
    type:->
    args:
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-includes/class-wp-hook.php
    line:324
    function:DiagnoseError
    class:RednaoWooCommercePDFInvoiceAjax
    object:[object Object]
    type:->
    args:
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-includes/class-wp-hook.php
    line:348
    function:apply_filters
    class:WP_Hook
    object:[object Object]
    type:->
    args:,
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-includes/plugin.php
    line:517
    function:do_action
    class:WP_Hook
    object:[object Object]
    type:->
    args:
    
    
    
    file:/usr/www/users/framema/rent.frame-base.de/wp-admin/admin-ajax.php
    line:188
    function:do_action
    args:wp_ajax_rednao_wcpdfinv_diagnose_error
    
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author EDGARROJAS

    (@edgarrojas)

    Oh looks like some of the files are missing or not accessible for some reason, reinstalling the plugin should add all the needed files and fix the issue.

    Regards!

    Thread Starter robertherzig

    (@robertherzig)

    Hi thanks for the answer,
    ive thought about that too but i′d need to export the presets for the Documents which is possible BUT i see no way to import or export the “raw files” of the invoices, packing slips etc as there are a few files where i havent downloaded the final pdf files. how can i avoid loosing that data when reinstalling the plugin?
    Thanks in advance ??

    Plugin Author EDGARROJAS

    (@edgarrojas)

    If you just reinstall the plugin, the template that you have are not deleted just the internal plugin files overwritten which i think will fix the issue.

    Regards!

    Thread Starter robertherzig

    (@robertherzig)

    Ok thanks. I′ll try that. But i still have all the same settings and most
    importantly the Invoices after reinstall right? I cant risk loosing these
    documents.

    Plugin Author EDGARROJAS

    (@edgarrojas)

    The plugin doesn’t have a code that deletes the invoices when reinstalled and I have never seen a site that deletes the plugin invoices on a reinstall. BUT, I can’t guarantee that anything is going to happen on your site as every site has its own ecosystem, for example, you might have another plugin that deletes the plugin tables when it detects that the plugin is reinstalled or something. So if you want to be extra careful it would be good to create a backup before doing anything.

    Regards!

    Thread Starter robertherzig

    (@robertherzig)

    Just reinstalled and everything is still there and works properly.
    Thanks for the quick help!
    Greetings from Germany ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Missing file – no PDF nor HTML’ is closed to new replies.