Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter patriceis

    (@patriceis)

    Yep, exactly. PNG and JPG options works, WP option doesn’t.

    Thread Starter patriceis

    (@patriceis)

    Unfortunately, the solutions didn’t work.

    We just tried to change the type of the WP image generation to JPG and PNG and it worked perfectly with both of them. It seems like the WP image generation type isn’t working for us.

    Thread Starter patriceis

    (@patriceis)

    Sorry, Ghostscript is also installed (Version 8.70). In the PHP-Info the imagick module lists PDF as a supported file type.

    The same WordPress configuration/installation is also installed on another server (demo system) where the image generation is working fine.

    I activated the MLA debug now and it gives me the following:

    [15-Jul-2019 06:15:47 UTC] 600 MLACore::mla_plugins_loaded_action() MLA 2.79 () mla_debug_level 0xF
    [15-Jul-2019 06:15:58 UTC] 600 MLACore::mla_plugins_loaded_action() MLA 2.79 () mla_debug_level 0xF
    [15-Jul-2019 06:16:02 UTC] 299 MLA_WPML::mla_list_table_bulk_action_initial_request( mla-generate-featured-image ) request = array (
      's' => '',
      'mla_search_fields' =>
      array (
        0 => 'title',
        1 => 'excerpt',
        2 => 'content',
        3 => 'file',
      ),
      'mla_search_connector' => 'AND',
      'page' => 'mla-menu',
      'lang' => 'de',
      '_wpnonce' => 'b8dffe8449',
      '_wp_http_referer' => '/wp-admin/upload.php?page=mla-menu',
      'action' => 'mla-generate-featured-image',
      'm' => '0',
      'mla_filter_term' => '0',
      'paged' => '1',
      'mla_thumbnail_options' =>
      array (
        'width' => '',
        'height' => '',
        'page' => '',
        'resolution' => '',
        'quality' => '',
        'type' => 'WordPress',
        'existing_thumbnails' => 'delete',
        'suffix' => '-Thumbnail',
      ),
      'mla-generate-thumbnail' => 'Generate Thumbnails',
      'screen' => 'media_page_mla-menu',
      'cb_attachment' =>
      array (
        0 => '1922',
      ),
      'action2' => '-1',
      'woof_parse_query' => 1,
      'tax_input' =>
      array (
      ),
      'mla_bulk_action_do_cleanup' => true,
    )
    [15-Jul-2019 06:16:02 UTC] 1275 MLA::mla_process_bulk_action request = array (
      's' => '',
      'mla_search_fields' =>
      array (
        0 => 'title',
        1 => 'excerpt',
        2 => 'content',
        3 => 'file',
      ),
      'mla_search_connector' => 'AND',
      'page' => 'mla-menu',
      'lang' => 'de',
      '_wpnonce' => 'b8dffe8449',
      '_wp_http_referer' => '/wp-admin/upload.php?page=mla-menu',
      'action' => 'mla-generate-featured-image',
      'm' => '0',
      'mla_filter_term' => '0',
      'paged' => '1',
      'mla_thumbnail_options' =>
      array (
        'width' => '',
        'height' => '',
        'page' => '',
        'resolution' => '',
        'quality' => '',
        'type' => 'WordPress',
        'existing_thumbnails' => 'delete',
        'suffix' => '-Thumbnail',
      ),
      'mla-generate-thumbnail' => 'Generate Thumbnails',
      'screen' => 'media_page_mla-menu',
      'cb_attachment' =>
      array (
        0 => '1922',
      ),
      'action2' => '-1',
      'woof_parse_query' => 1,
      'tax_input' =>
      array (
      ),
      'mla_bulk_action_do_cleanup' => true,
    )
    [15-Jul-2019 06:16:02 UTC] 358 MLA_WPML::mla_list_table_bulk_action_item_request( 1922 ) request = array (
      's' => '',
      'mla_search_fields' =>
      array (
        0 => 'title',
        1 => 'excerpt',
        2 => 'content',
        3 => 'file',
      ),
      'mla_search_connector' => 'AND',
      'page' => 'mla-menu',
      'lang' => 'de',
      '_wpnonce' => 'b8dffe8449',
      '_wp_http_referer' => '/wp-admin/upload.php?page=mla-menu',
      'action' => 'mla-generate-featured-image',
      'm' => '0',
      'mla_filter_term' => '0',
      'paged' => '1',
      'mla_thumbnail_options' =>
      array (
        'width' => '',
        'height' => '',
        'page' => '',
        'resolution' => '',
        'quality' => '',
        'type' => 'WordPress',
        'existing_thumbnails' => 'delete',
        'suffix' => '-Thumbnail',
      ),
      'mla-generate-thumbnail' => 'Generate Thumbnails',
      'screen' => 'media_page_mla-menu',
      'cb_attachment' =>
      array (
        0 => '1922',
      ),
      'action2' => '-1',
      'woof_parse_query' => 1,
      'tax_input' =>
      array (
      ),
      'mla_bulk_action_do_cleanup' => true,
    )
    [15-Jul-2019 06:16:02 UTC] 376 MLA_WPML::bulk_action_item_request( mla-generate-featured-image, 1922 ) $request['tax_input'] = array (
    )
    [15-Jul-2019 06:16:02 UTC] 384 MLA_WPML::bulk_action_item_request( mla-generate-featured-image, 1922 ) $request['tax_action'] NOT SET
    [15-Jul-2019 06:16:02 UTC] 1454 MLA::mla_process_bulk_action returning page_content = array (
      'message' => 'ERROR: Item 1922, thumbnail generation failed - Image load exception: Failed to read the file<br>',
      'body' => '',
      'unchanged' => 0,
      'success' => 0,
      'failure' => 1,
      'item_results' =>
      array (
        1922 =>
        array (
          'result' => 'failure',
          'message' => 'ERROR: Item 1922, thumbnail generation failed - Image load exception: Failed to read the file',
        ),
      ),
    )
    [15-Jul-2019 06:16:07 UTC] 600 MLACore::mla_plugins_loaded_action() MLA 2.79 () mla_debug_level 0xF
    [15-Jul-2019 06:16:10 UTC] 299 MLA_WPML::mla_list_table_bulk_action_initial_request( mla-generate-featured-image ) request = array (
      's' => '',
      'mla_search_fields' =>
      array (
        0 => 'title',
        1 => 'excerpt',
        2 => 'content',
        3 => 'file',
      ),
      'mla_search_connector' => 'AND',
      'page' => 'mla-menu',
      'lang' => 'de',
      '_wpnonce' => 'b8dffe8449',
      '_wp_http_referer' => '/wp-admin/upload.php?page=mla-menu',
      'action' => 'mla-generate-featured-image',
      'm' => '0',
      'mla_filter_term' => '0',
      'paged' => '1',
      'mla_thumbnail_options' =>
      array (
        'width' => '',
        'height' => '',
        'page' => '',
        'resolution' => '',
        'quality' => '',
        'type' => 'WordPress',
        'existing_thumbnails' => 'delete',
        'suffix' => '-Thumbnail',
      ),
      'mla-generate-thumbnail' => 'Generate Thumbnails',
      'screen' => 'media_page_mla-menu',
      'cb_attachment' =>
      array (
        0 => '1922',
      ),
      'action2' => '-1',
      'woof_parse_query' => 1,
      'tax_input' =>
      array (
      ),
      'mla_bulk_action_do_cleanup' => true,
    )
    [15-Jul-2019 06:16:10 UTC] 1275 MLA::mla_process_bulk_action request = array (
      's' => '',
      'mla_search_fields' =>
      array (
        0 => 'title',
        1 => 'excerpt',
        2 => 'content',
        3 => 'file',
      ),
      'mla_search_connector' => 'AND',
      'page' => 'mla-menu',
      'lang' => 'de',
      '_wpnonce' => 'b8dffe8449',
      '_wp_http_referer' => '/wp-admin/upload.php?page=mla-menu',
      'action' => 'mla-generate-featured-image',
      'm' => '0',
      'mla_filter_term' => '0',
      'paged' => '1',
      'mla_thumbnail_options' =>
      array (
        'width' => '',
        'height' => '',
        'page' => '',
        'resolution' => '',
        'quality' => '',
        'type' => 'WordPress',
        'existing_thumbnails' => 'delete',
        'suffix' => '-Thumbnail',
      ),
      'mla-generate-thumbnail' => 'Generate Thumbnails',
      'screen' => 'media_page_mla-menu',
      'cb_attachment' =>
      array (
        0 => '1922',
      ),
      'action2' => '-1',
      'woof_parse_query' => 1,
      'tax_input' =>
      array (
      ),
      'mla_bulk_action_do_cleanup' => true,
    )
    [15-Jul-2019 06:16:10 UTC] 358 MLA_WPML::mla_list_table_bulk_action_item_request( 1922 ) request = array (
      's' => '',
      'mla_search_fields' =>
      array (
        0 => 'title',
        1 => 'excerpt',
        2 => 'content',
        3 => 'file',
      ),
      'mla_search_connector' => 'AND',
      'page' => 'mla-menu',
      'lang' => 'de',
      '_wpnonce' => 'b8dffe8449',
      '_wp_http_referer' => '/wp-admin/upload.php?page=mla-menu',
      'action' => 'mla-generate-featured-image',
      'm' => '0',
      'mla_filter_term' => '0',
      'paged' => '1',
      'mla_thumbnail_options' =>
      array (
        'width' => '',
        'height' => '',
        'page' => '',
        'resolution' => '',
        'quality' => '',
        'type' => 'WordPress',
        'existing_thumbnails' => 'delete',
        'suffix' => '-Thumbnail',
      ),
      'mla-generate-thumbnail' => 'Generate Thumbnails',
      'screen' => 'media_page_mla-menu',
      'cb_attachment' =>
      array (
        0 => '1922',
      ),
      'action2' => '-1',
      'woof_parse_query' => 1,
      'tax_input' =>
      array (
      ),
      'mla_bulk_action_do_cleanup' => true,
    )
    [15-Jul-2019 06:16:10 UTC] 376 MLA_WPML::bulk_action_item_request( mla-generate-featured-image, 1922 ) $request['tax_input'] = array (
    )
    [15-Jul-2019 06:16:10 UTC] 384 MLA_WPML::bulk_action_item_request( mla-generate-featured-image, 1922 ) $request['tax_action'] NOT SET
    [15-Jul-2019 06:16:10 UTC] 1454 MLA::mla_process_bulk_action returning page_content = array (
      'message' => 'ERROR: Item 1922, thumbnail generation failed - Image load exception: Failed to read the file<br>',
      'body' => '',
      'unchanged' => 0,
      'success' => 0,
      'failure' => 1,
      'item_results' =>
      array (
        1922 =>
        array (
          'result' => 'failure',
          'message' => 'ERROR: Item 1922, thumbnail generation failed - Image load exception: Failed to read the file',
        ),
      ),
    )
    [15-Jul-2019 06:16:16 UTC] 600 MLACore::mla_plugins_loaded_action() MLA 2.79 () mla_debug_level 0xF
    [15-Jul-2019 06:21:42 UTC] 600 MLACore::mla_plugins_loaded_action() MLA 2.79 () mla_debug_level 0xF
    [15-Jul-2019 06:22:36 UTC] 600 MLACore::mla_plugins_loaded_action() MLA 2.79 () mla_debug_level 0xF
    • This reply was modified 5 years, 7 months ago by patriceis.
    Thread Starter patriceis

    (@patriceis)

    Alright, so we used PHP FPM before which doesn’t seem to work with imagick.

    We now use PHP CGI 7.2 but unfortunately, the site just gives an error 500 if I want to regenerate the thumbnails.

    When I select more than one file to regenerate the thumbnail it won’t give an error 500 and the plugin will tell me that it was successful but unfortunately the thumbnails are still not generated.

    Thread Starter patriceis

    (@patriceis)

    Alright, I tried to regenerate the PDFs of those two files without thumbnail. I just checked the PHP Info and it seems like the imagick module doesn’t support PDF filetype. I just contacted the server provider to see if they can help me.

    ERROR: Item 1598, thumbnail generation failed - Image load exception: NoDecodeDelegateForThisImageFormatPDF’ @ error/constitute.c/ReadImage/501
    ERROR: Item 1596, thumbnail generation failed – Image load exception: NoDecodeDelegateForThisImageFormat PDF' @ error/constitute.c/ReadImage/501

    Thanks for your help so far. ??

Viewing 5 replies - 1 through 5 (of 5 total)