Forum Replies Created

Viewing 15 replies - 1 through 15 (of 22 total)
  • Thread Starter danielmelnechuk

    (@danielmelnechuk)

    Hi David,

    Apologies for not responding sooner… way too overloaded. The vendor that runs the WordPress site, where i do NOT have any admin privs is not going to put anymore effort into making the margins look correct because it is a 3rd party plugin. They will install 3rd party plugins if maintained and have a large install base, which yours meets.

    The downloaded PDF that has the top and bottom margins display larger than what is in the PDF, displays correct margins in any app on my computer (Preview or Acrobat), and is identical to the uploaded PDF. So the PDF is not the issue, just some aspect of the thumbnail. But alas they will not put any more effort to fix.

    So at this point there is nothing more to do but hope some setting or next rev of WordPress will make things all happy.

    Thanks for all your efforts. So this is closed for now, and while not really resolved, please do mark it resolved for now.

    Peace,
    Dan

    Thread Starter danielmelnechuk

    (@danielmelnechuk)

    Hi David,

    The thumbnail images are now being created. But the issue is now that the new thumbnails are not true to the dimensions of the PDF. On the page in question, the new PDF shows larger top and bottom margins than are in the original PDF and same for when you download the PDF from our site. I have created a test page and if i upload the older PDFs that do not show the larger top and bottom margins, they then show the larger top and bottom margins after uploading. So something in that environment and making thumbnails for PDFs.

    So don’t know why they don’t contact you directly as you offered, but the support person i’m working with said “Our Web Studio team has provided the debug log from forcing new thumbnails and uploading a new image. They have suggested that you pass this to your plugin developer. If there’s anything that he needs from us to test, please let us know.”

    Here is the debug log:

    [02-Jan-2020 18:42:12] 601 MLACore::mla_plugins_loaded_action() MLA 2.81 () mla_debug_level 0x9
    [02-Jan-2020 18:42:20] 601 MLACore::mla_plugins_loaded_action() MLA 2.81 () mla_debug_level 0x9
    [02-Jan-2020 18:42:42] 601 MLACore::mla_plugins_loaded_action() MLA 2.81 () mla_debug_level 0x9
    [02-Jan-2020 18:42:44] 392 MLA_Thumbnail::mla_list_table_custom_bulk_action image_downsize( 4063 ) thumbnail = array (
      0 => 'https://walthamlandtrust.org/wp-content/uploads/2020/01/2016-11-12-GOS-Storer-Conservation-Trails-Rotated-TESTING-pdf-106x150.jpg',
      1 => 106,
      2 => 150,
      3 => true,
    )
    [02-Jan-2020 18:42:44] 411 MLA_Thumbnail::mla_list_table_custom_bulk_action get_post_thumbnail_id( 4063 ) thumbnail = ''
    [02-Jan-2020 18:42:44] 339 MLAImageProcessor::mla_handle_thumbnail_sideload( /var/www/vhosts/walthamlandtrust.org/httpdocs/wp-content/uploads/2020/01/2016-11-12-GOS-Storer-Conservation-Trails-Rotated-TESTING.pdf ) args = array (
      'best_fit' => true,
      'type' => 'WordPress',
      'existing_thumbnails' => 'delete',
      'suffix' => '-Thumbnail',
      'clear_filters' => false,
    )
    [02-Jan-2020 18:42:44] 452 MLAImageProcessor::mla_handle_thumbnail_sideload( /var/www/vhosts/walthamlandtrust.org/httpdocs/wp-content/uploads/2020/01/2016-11-12-GOS-Storer-Conservation-Trails-Rotated-TESTING.pdf ) results = array (
      'name' => '2016-11-12-GOS-Storer-Conservation-Trails-Rotated-TESTING.pdf',
      'type' => 'image/jpeg',
      'tmp_name' => '/tmp/2016-11-12-GOS-Storer-Conservation-Trails-Rotated-TESTING-Vfw9xK.tmp',
      'error' => 0,
      'size' => 329623,
      'width' => 1058,
      'height' => 1497,
    )
    [02-Jan-2020 18:42:44] 268 MLA_Thumbnail::_generate_wordpress_thumbnail( 4063, /var/www/vhosts/walthamlandtrust.org/httpdocs/wp-content/uploads/2020/01/2016-11-12-GOS-Storer-Conservation-Trails-Rotated-TESTING.pdf ) item_data = array (
      'sizes' => 
      array (
        'thumbnail' => 
        array (
          'file' => '2016-11-12-GOS-Storer-Conservation-Trails-Rotated-TESTING-pdf-106x150.jpg',
          'width' => 106,
          'height' => 150,
          'mime-type' => 'image/jpeg',
        ),
        'medium' => 
        array (
          'file' => '2016-11-12-GOS-Storer-Conservation-Trails-Rotated-TESTING-pdf-212x300.jpg',
          'width' => 212,
          'height' => 300,
          'mime-type' => 'image/jpeg',
        ),
        'large' => 
        array (
          'file' => '2016-11-12-GOS-Storer-Conservation-Trails-Rotated-TESTING-pdf-724x1024.jpg',
          'width' => 724,
          'height' => 1024,
          'mime-type' => 'image/jpeg',
        ),
        'full' => 
        array (
          'file' => '2016-11-12-GOS-Storer-Conservation-Trails-Rotated-TESTING-pdf.jpg',
          'width' => 1058,
          'height' => 1497,
          'mime-type' => 'image/jpeg',
        ),
      ),
    )
    [02-Jan-2020 18:42:44] 339 MLA_Thumbnail::_generate_wordpress_thumbnail( 4063, /var/www/vhosts/walthamlandtrust.org/httpdocs/wp-content/uploads/2020/01/2016-11-12-GOS-Storer-Conservation-Trails-Rotated-TESTING.pdf ) sideload results = array (
      'file' => '/var/www/vhosts/walthamlandtrust.org/httpdocs/wp-content/uploads/2020/01/2016-11-12-GOS-Storer-Conservation-Trails-Rotated-TESTING-pdf.jpg',
      'url' => 'https://walthamlandtrust.org/wp-content/uploads/2020/01/2016-11-12-GOS-Storer-Conservation-Trails-Rotated-TESTING-pdf.jpg',
      'type' => 'image/jpeg',
    )
    [02-Jan-2020 18:42:44] 361 MLA_Thumbnail::_generate_wordpress_thumbnail item_data = array (
      'sizes' => 
      array (
        'thumbnail' => 
        array (
          'file' => '2016-11-12-GOS-Storer-Conservation-Trails-Rotated-TESTING-pdf-106x150.jpg',
          'width' => 106,
          'height' => 150,
          'mime-type' => 'image/jpeg',
        ),
        'medium' => 
        array (
          'file' => '2016-11-12-GOS-Storer-Conservation-Trails-Rotated-TESTING-pdf-212x300.jpg',
          'width' => 212,
          'height' => 300,
          'mime-type' => 'image/jpeg',
        ),
        'large' => 
        array (
          'file' => '2016-11-12-GOS-Storer-Conservation-Trails-Rotated-TESTING-pdf-724x1024.jpg',
          'width' => 724,
          'height' => 1024,
          'mime-type' => 'image/jpeg',
        ),
        'full' => 
        array (
          'file' => '2016-11-12-GOS-Storer-Conservation-Trails-Rotated-TESTING-pdf.jpg',
          'width' => 1058,
          'height' => 1497,
          'mime-type' => 'image/jpeg',
        ),
      ),
    )
    [02-Jan-2020 18:42:44] 392 MLA_Thumbnail::mla_list_table_custom_bulk_action image_downsize( 4052 ) thumbnail = array (
      0 => 'https://walthamlandtrust.org/wp-content/uploads/2019/12/2019-12-24-GOS-Prospect-Hill-pdf-106x150.jpg',
      1 => 106,
      2 => 150,
      3 => true,
    )
    [02-Jan-2020 18:42:44] 411 MLA_Thumbnail::mla_list_table_custom_bulk_action get_post_thumbnail_id( 4052 ) thumbnail = ''
    [02-Jan-2020 18:42:44] 339 MLAImageProcessor::mla_handle_thumbnail_sideload( /var/www/vhosts/walthamlandtrust.org/httpdocs/wp-content/uploads/2019/12/2019-12-24-GOS-Prospect-Hill.pdf ) args = array (
      'best_fit' => true,
      'type' => 'WordPress',
      'existing_thumbnails' => 'delete',
      'suffix' => '-Thumbnail',
      'clear_filters' => false,
      'item_subdir' => '/2020/01',
    )
    [02-Jan-2020 18:42:45] 452 MLAImageProcessor::mla_handle_thumbnail_sideload( /var/www/vhosts/walthamlandtrust.org/httpdocs/wp-content/uploads/2019/12/2019-12-24-GOS-Prospect-Hill.pdf ) results = array (
      'name' => '2019-12-24-GOS-Prospect-Hill.pdf',
      'type' => 'image/jpeg',
      'tmp_name' => '/tmp/2019-12-24-GOS-Prospect-Hill-f2k8JR.tmp',
      'error' => 0,
      'size' => 410133,
      'width' => 1058,
      'height' => 1497,
    )
    [02-Jan-2020 18:42:45] 268 MLA_Thumbnail::_generate_wordpress_thumbnail( 4052, /var/www/vhosts/walthamlandtrust.org/httpdocs/wp-content/uploads/2019/12/2019-12-24-GOS-Prospect-Hill.pdf ) item_data = array (
      'sizes' => 
      array (
        'thumbnail' => 
        array (
          'file' => '2019-12-24-GOS-Prospect-Hill-pdf-106x150.jpg',
          'width' => 106,
          'height' => 150,
          'mime-type' => 'image/jpeg',
        ),
        'medium' => 
        array (
          'file' => '2019-12-24-GOS-Prospect-Hill-pdf-212x300.jpg',
          'width' => 212,
          'height' => 300,
          'mime-type' => 'image/jpeg',
        ),
        'large' => 
        array (
          'file' => '2019-12-24-GOS-Prospect-Hill-pdf-724x1024.jpg',
          'width' => 724,
          'height' => 1024,
          'mime-type' => 'image/jpeg',
        ),
        'full' => 
        array (
          'file' => '2019-12-24-GOS-Prospect-Hill-pdf.jpg',
          'width' => 1058,
          'height' => 1497,
          'mime-type' => 'image/jpeg',
        ),
      ),
    )
    [02-Jan-2020 18:42:45] 339 MLA_Thumbnail::_generate_wordpress_thumbnail( 4052, /var/www/vhosts/walthamlandtrust.org/httpdocs/wp-content/uploads/2019/12/2019-12-24-GOS-Prospect-Hill.pdf ) sideload results = array (
      'file' => '/var/www/vhosts/walthamlandtrust.org/httpdocs/wp-content/uploads/2019/12/2019-12-24-GOS-Prospect-Hill-pdf.jpg',
      'url' => 'https://walthamlandtrust.org/wp-content/uploads/2019/12/2019-12-24-GOS-Prospect-Hill-pdf.jpg',
      'type' => 'image/jpeg',
    )
    [02-Jan-2020 18:42:45] 361 MLA_Thumbnail::_generate_wordpress_thumbnail item_data = array (
      'sizes' => 
      array (
        'thumbnail' => 
        array (
          'file' => '2019-12-24-GOS-Prospect-Hill-pdf-106x150.jpg',
          'width' => 106,
          'height' => 150,
          'mime-type' => 'image/jpeg',
        ),
        'medium' => 
        array (
          'file' => '2019-12-24-GOS-Prospect-Hill-pdf-212x300.jpg',
          'width' => 212,
          'height' => 300,
          'mime-type' => 'image/jpeg',
        ),
        'large' => 
        array (
          'file' => '2019-12-24-GOS-Prospect-Hill-pdf-724x1024.jpg',
          'width' => 724,
          'height' => 1024,
          'mime-type' => 'image/jpeg',
        ),
        'full' => 
        array (
          'file' => '2019-12-24-GOS-Prospect-Hill-pdf.jpg',
          'width' => 1058,
          'height' => 1497,
          'mime-type' => 'image/jpeg',
        ),
      ),
    )
    [02-Jan-2020 18:42:54] 601 MLACore::mla_plugins_loaded_action() MLA 2.81 () mla_debug_level 0x9
    [02-Jan-2020 18:43:00] 601 MLACore::mla_plugins_loaded_action() MLA 2.81 () mla_debug_level 0x9
    [02-Jan-2020 18:43:26] 601 MLACore::mla_plugins_loaded_action() MLA 2.81 () mla_debug_level 0x9
    [02-Jan-2020 18:43:36] 601 MLACore::mla_plugins_loaded_action() MLA 2.81 () mla_debug_level 0x9
    [02-Jan-2020 18:44:12] 601 MLACore::mla_plugins_loaded_action() MLA 2.81 () mla_debug_level 0x9
    [02-Jan-2020 18:44:42] 601 MLACore::mla_plugins_loaded_action() MLA 2.81 () mla_debug_level 0x9
    [02-Jan-2020 18:44:44] 515 MLAEdit::mla_update_attachment_metadata_postfilter( 4067 ) post = WP_Post::__set_state(array(
       'ID' => 4067,
       'post_author' => '1',
       'post_date' => '2020-01-02 18:44:44',
       'post_date_gmt' => '2020-01-02 18:44:44',
       'post_content' => '',
       'post_title' => 'test-map',
       'post_excerpt' => '',
       'post_status' => 'inherit',
       'comment_status' => 'closed',
       'ping_status' => 'closed',
       'post_password' => '',
       'post_name' => 'test-map',
       'to_ping' => '',
       'pinged' => '',
       'post_modified' => '2020-01-02 18:44:44',
       'post_modified_gmt' => '2020-01-02 18:44:44',
       'post_content_filtered' => '',
       'post_parent' => 0,
       'guid' => 'https://walthamlandtrust.org/wp-content/uploads/2020/01/test-map.pdf',
       'menu_order' => 0,
       'post_type' => 'attachment',
       'post_mime_type' => 'application/pdf',
       'comment_count' => '0',
       'filter' => 'raw',
    ))
    [02-Jan-2020 18:44:44] 516 MLAEdit::mla_update_attachment_metadata_postfilter( 4067 ) data = array (
    )
    [02-Jan-2020 18:44:45] 601 MLACore::mla_plugins_loaded_action() MLA 2.81 () mla_debug_level 0x9
    [02-Jan-2020 18:44:55] 601 MLACore::mla_plugins_loaded_action() MLA 2.81 () mla_debug_level 0x9
    [02-Jan-2020 18:45:01] 601 MLACore::mla_plugins_loaded_action() MLA 2.81 () mla_debug_level 0x9

    Peace,
    Dan

    Thread Starter danielmelnechuk

    (@danielmelnechuk)

    Hi David,

    Thanks for you quick response. Sorry i didn’t search well enough to find those links you provided.

    I am in a captive WP environment where i do not have admin ability. I will ask to get access to MLA plugin if they want me to do the debugging.

    But what i see from reading the links is a thread to all of them regarding WP thumbnail generation which can be an issue. I see in my media library that the PDFs uploaded since September do not have thumbnails generated as they don’t have one in the media library UI. This is most likely a clue to the issue. I think they may have moved from WP 4.last-version to 5.2.x that we are on now, though i could be wrong on the timing so maybe something else in their environment.

    I am forwarding the link of this thread to the support i have for our environment.

    FYI, i use MLA in a few WP sites that i do have total control over and have created from scratch, well with lots of help from BeaverBuilder. This site also has BeaverBuilder as well.

    When i find anything out, i will report back. Until then, hope you have a wonderful new year!

    Peace,
    Dan

    Thread Starter danielmelnechuk

    (@danielmelnechuk)

    Doh! Thanks James. Basic debugging that i didn’t do. Just did. No luck. The icon in the admin menu has a question mark in it “?”.

    Ok, so functions.php registers a post type of ‘work’. Mystery solved.

    Thanks James!

    Hi Takayuki,

    I setup a form today and it all worked fine. Then i added reCAPTCHA v3 keys for the domain, after registering domain at google with new account at google, into integration settings. Now all i get is “There was an error trying to send your message. Please try again later.” with an orange box, indicating “SPAM” as per you FAQ link at https://contactform7.com/faq/after-submitting-the-form-i-get-an-error-message/

    Tried in Firefox, safari, and chrome. Changed email addresses, changed file upload from docx to pdf. No luck.

    Running WP 4.9.10, PHP 5.4 — yeah, will be updating soon… but can’t at the moment.

    Also not https yet… could that be it?

    Any thoughts?

    Peace,
    Dan

    Thread Starter danielmelnechuk

    (@danielmelnechuk)

    Hi Mikko,

    I found another search plugin that just works, Ivory Search, before i heard back from you. Will eventually get to testing Relevanssi when i have a moment but those are sparse and the site is active now and working.

    Peace,
    Dan

    Thread Starter danielmelnechuk

    (@danielmelnechuk)

    I am using Relevanssi – A Better Search. That’s why i posted here. Sorry for using the wrong part of the name of the plugin. Perhaps you should rename it just Relevanssi.

    I switched in live preview to 2019 theme, added a search widget to the footer and noting is found.

    Then i added the code from the second in the list to the functions.php in 2019 theme:

    add_filter( 'relevanssi_query_filter', 'rlv_check_mysql' );
    function rlv_check_mysql( $query ) {
        var_dump( $query );
        exit();
    }

    And then ran a search and nothing is dumped to the window.

    Thanks for the tests. I can do more if you can think of something.

    Peace,
    Dan

    Thread Starter danielmelnechuk

    (@danielmelnechuk)

    Ok, so i used WP Control to kill off the combat check item. Then it started to work. So i seem to be all set.

    Thread Starter danielmelnechuk

    (@danielmelnechuk)

    Hi!

    Thanks for the fast reply! Yeah, running lint on code branches not used does that. Hope you get whitelisted.

    Peace,
    Dan

    Thread Starter danielmelnechuk

    (@danielmelnechuk)

    Hey, solved it. First i set the medium and large Media sizes to what i wanted in Settings->Media; not sure i needed to do this.

    Then i deleted all the PDFs as they had NO previews; then i uploaded all the PDFs again and then they had image previews in Media Library. I had uploaded the PDFs before imagick had been turned on in PHP.

    Now the “size=large” setting in the shortcode works! And i can change to “medium” and the preview image gets smaller on the page.

    Case closed.

    Peace,
    Dan

    Thread Starter danielmelnechuk

    (@danielmelnechuk)

    @prathameshp

    Thanks for the help. But the domain name didn’t change, just changed to a new hosting account. The domain was correct in those wp_options you mentioned.

    The real issue is that the subscriber isn’t even getting into the list of subscribers as was reported in another support thread for this plugin that i didn’t see until after i posted mine. See:

    https://www.ads-software.com/support/topic/subscribing-a-new-user-in-3-4-12-does-not-work/

    Hi @alecardosof,

    Good day! Are you using WP-Rollback with WP 4.9.5? The WP-Rollback plugin page says tested up to 4.8.6.

    Hi @slothwx,

    Thanks so much for the info! I would install that immediately except that it is not tested with 4.9.5 — says only tested up to 4.8.6 on plugin page. I usually wait for the developer to say tested with the version i’m using… quirky i know. Once it is tested with 4.9.5 i’m in.

    Peace,
    Dan

    Hi,

    I don’t get any messages in javascript console, error or otherwise. Tried in Safari and Chrome on macOS.

    I don’t have a copy of previous version so i am stuck with 3.4.12. I looked around online to download 3.4.9 but no luck. Any chance developer can give us a link to download a working version of 3.4.9?

    Peace,
    Dan

    Hi,

    This is exactly what is happening to me. I just posted another thread “Subscribers don’t get welcome email” with more details about my situation. Somehow i missed this thread.

    Peace,
    Dan

Viewing 15 replies - 1 through 15 (of 22 total)