Forum Replies Created

Viewing 15 replies - 31 through 45 (of 50 total)
  • Thread Starter WPinThai

    (@wpinthai)

    Many thanks for your reply and clear instructions!

    I am very pleased to confirm it worked for me, as below …

    • The folder on my webserver was called just wish-list-for-woocommerce (not- pro)
    • I copied the wish-list.php there
    • I created a new folder called wish-list-for-woocommerce in the “root” of my child theme directory
    • I pasted in the default wish-list.php there
    • In the pasted “new” wish-list.php file I changed the line 444 from …
    <td data-title="<?php _e( 'Thumbnail', 'wish-list-for-woocommerce' ); ?>" class="product-thumbnail">
    • to …
    <td data-title="<?php _e( 'Image', 'wish-list-for-woocommerce' ); ?>" class="product-thumbnail">

    Should I repeat the change above after every update of your plugin, to ensure my custom file has the latest content from the default plugin file?

    Thread Starter WPinThai

    (@wpinthai)

    Great. Thank you very much for the answers!

    Thread Starter WPinThai

    (@wpinthai)

    Yes, no problem. I am going to be doing your recommendation above after I have done my next full website backup.

    Many thanks for your advice!

    • This reply was modified 1 year, 3 months ago by WPinThai. Reason: adding thanks
    Thread Starter WPinThai

    (@wpinthai)

    I have an update for you since yesterday, Takayuki …

    My website and staging sites are today looking and functioning the same as a few days ago! (The appearance, validation error & refresh page issues have gone away, some some reason). I have not done anything to the website to fix it!

    I have continued to test the WEBP issue. I can now confirm that I believe it is a conflict with the FluentSMTP plugin, because the issue does not happen when FluentSMTP plugin is disabled and Cloudflare Turnstile and all my other plugins are enabled.

    I have tried two different SMTP providers (Sendingblue/Brevo & Gmail) with the FluentSMTP plugin and the WEBP issue happens with both.

    I will open a support ticket with FluentSMTP, but in the meantime …

    • can you reproduce the issue on your test machine?
    • can you recommend a solution?
    • do you know why my contact form had those appearance, validation error & refresh page issues?
    Thread Starter WPinThai

    (@wpinthai)

    I created a staging site version of my site.

    I deactivated all plugins excluding Contact Form 7 and Wordfence Security
    BUT kept my theme, did not clear all cache & kept my WordPress hardening code in the .htaccess file

    … and the form submitted with a WEBP attachment successfully

    I added back the plugins, one by one until the form failed

    When added back the Fluent SMTP plugin, the form failed
    The only plugin left to re-enable was … Simple Cloudflare Turnstile plugin …

    On my LIVE site, deactivated the Fluent SMTP plugin & the Simple Cloudflare Turnstile plugin …
    When I tested the form the page just hung with the progress symbol constantly revolving
    Above issue kept happening, even when no files were attached before submitting the form.

    So now even simple form submissions do not work
    I have tried disabling & re-activating all plugins, including CF7

    I have also noticed …

    • the form has changed appearance … (the acceptance/privacy policy text is no longer indented)
    • when I try to submit the form with no fields completed, “missing field” validation errors appear twice for each field & in different places than before (once at the top of the page + once at the end of each empty field)
    • each time I refresh the page, a browser message appears saying …

    Confirm Form Resubmission
    The page that you’re looking for used information that you entered. Returning to that page might cause any action you took to be repeated. Do you want to continue?

    Please can you tell me how I can try to fix this (at least get back to how it was before, with just the WEBP issue)?

    Thread Starter WPinThai

    (@wpinthai)

    Thank you very much for your reply!

    I might have tried a migration back in 2023 but I don’t remember. Certainly not recently.

    I have compared my folders & files to the info on your webpage at …
    https://duplicator.com/knowledge-base/which-files-need-to-be-removed-after-an-install/#option-3-manually-delete-files-via-ftp-or-file-manager

    In my domain root directory I have …

    • dup-installer (directory) (last modified date = 6 APRIL 2025)
    • installer.php (last modified date = 23 MARCH 2023)
    • installer-bootlog_[HASH].txt (last modified date = 6 APRIL 2025)
    • [HASH]_archive.zip/daf (last modified date = 23 MARCH 2023)
    • I do NOT have installer-backup.php

    Also in my domain root directory there is …

    • dup-installer_tmp_Ved9gP (directory) (last modified date = 1 April 2025)

    In my dup-installer (directory) I have various subfolders & files, some dated 25 May 2023 & the ones below dated this month …

    • assets (directory) (last modified date = 5 APRIL 2025), contains various subdolders & files, all dated 25 MAY 2023)
    • dup-installer-cerf__.txt (last modified date = 6 APRIL 2025)
    • dup-installer-notices__.json (last modified date = 1 APRIL 2025)
    • dup-params__.json (last modified date = 1 APRIL 2025)
    • php_error___.log (last modified date = 1 APRIL 2025)

    NOTE: My website & (Hostgator) web server suffered a malware attack on 6 April

    Thread Starter WPinThai

    (@wpinthai)

    My theme GeneratePress and my site is based on their “Prime” template

    Here is a list of my active plugins …

    • Contact Form 7 (contact-form-7) – Version 6.0.6
    • Contact Form Entries (contact-form-entries) – Version 1.4.0
    • Flexible Checkout Fields (flexible-checkout-fields) – Version 4.1.15
    • Flexible Checkout Fields PRO (flexible-checkout-fields-pro) – Version 4.0.12
    • FluentSMTP (fluent-smtp) – Version 2.2.90
    • GenerateBlocks (generateblocks) – Version 2.0.2
    • GP Premium (gp-premium) – Version 2.5.2
    • Imagify (imagify) – Version 2.2.5
    • Preview E-mails for WooCommerce (woo-preview-emails) – Version 2.2.13
    • Real Media Library (Free) (real-media-library-lite) – Version 4.22.38
    • Simple Cloudflare Turnstile (simple-cloudflare-turnstile) – Version 1.30.0
    • Stripe Payment Plugin for WooCommerce (payment-gateway-stripe-and-woocommerce-integration) – Version 4.0.4
    • UpdraftPlus – Backup/Restore (updraftplus) – Version 1.25.5
    • Widgets for Google Reviews (wp-reviews-plugin-for-google) – Version 12.7.2
    • Wishlist for WooCommerce (wish-list-for-woocommerce) – Version 3.2.1
    • WooCommerce (woocommerce) – Version 9.8.1
    • WooCommerce AJAX Products Filter (woocommerce-ajax-filters) – Version 3.1.8.2
    • WooCommerce PayPal Payments (woocommerce-paypal-payments) – Version 3.0.3
    • Wordfence Security (wordfence) – Version 8.0.5
    • WPCode Lite (insert-headers-and-footers) – Version 2.2.7
    • WPS Hide Login (wps-hide-login) – Version 1.9.17.2

    I have also hardened WordPress by adding code manually into the .htaccess file in the root of my domain

    # Protect wp-config.php
    # This rule restricts visitors from accessing your wp-config.php file, which
    # contains sensitive database information, including name, host, username
    # and password. It also defines advanced settings, security keys and developer
    # options.
    <Files wp-config\.php>
    order allow,deny
    deny from all
    </Files>

    # Prevent directory browsing
    # This rule prevents attackers from viewing the folder contents of your
    # website, restricting the information they have to exploit your website.
    Options All -Indexes

    # Protect .htaccess
    # This rule prevents attackers from accessing any files that start with
    # “hta” – this ensures that .htaccess files are protected in all of
    # the directories of your server.
    <Files ~ "^.*\.([Hh][Tt][Aa])">
    order allow,deny
    deny from all
    satisfy all
    </Files>

    # Disable script injections
    # Disallow script injections to prevent hackers from injecting
    # malicious code into existing PHP documents.
    Options +FollowSymLinks
    RewriteEngine On
    RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
    RewriteRule ^(.*)$ index.php [F,L]

    The there is fairly standard other code added by WordPress in the same .htaccess file …

    # BEGIN WordPress
    # The directives (lines) between "BEGIN WordPress" and "END WordPress" are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access plus 24 hours"
    ExpiresByType image/jpeg "access plus 24 hours"
    ExpiresByType image/gif "access plus 24 hours"
    ExpiresByType image/png "access plus 24 hours"
    ExpiresByType text/css "access plus 24 hours"
    ExpiresByType application/pdf "access plus 1 week"
    ExpiresByType text/javascript "access plus 24 hours"
    ExpiresByType text/html "access plus 2 hours"
    ExpiresByType image/x-icon "access plus 1 year"
    ExpiresDefault "access plus 24 hours"
    </IfModule>
    Options -Indexes
    <IfModule mod_headers.c>
    Header set X-Endurance-Cache-Level "2"
    Header set X-nginx-cache "WordPress"
    </IfModule>
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^/wp-content/endurance-page-cache/ - [L]
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP_COOKIE} !(wordpress_test_cookie|comment_author|wp\-postpass|wordpress_logged_in|wptouch_switch_toggle|wp_woocommerce_session_) [NC]
    RewriteCond %{DOCUMENT_ROOT}/wp-content/endurance-page-cache/$1/_index.html -f
    RewriteRule ^(.*)$ /wp-content/endurance-page-cache/$1/_index.html [L]
    </IfModule>
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Appreciating your help …

    • This reply was modified 1 year, 3 months ago by WPinThai. Reason: adding my theme name
    Thread Starter WPinThai

    (@wpinthai)

    Hi

    Thanks for reply. Screenshots below …

    Thread Starter WPinThai

    (@wpinthai)

    Many thanks for your reply, Peter.

    I will check with the Duplicator Support team

    Thread Starter WPinThai

    (@wpinthai)

    Hello Takayuki-san

    Thank you for your reply. My contact form is here …. https://isanflowers2.com/contact-us/

    Simon

    Thread Starter WPinThai

    (@wpinthai)

    Many thanks for your informative reply, Mircea

    Best Wishes

    Simon

    Thread Starter WPinThai

    (@wpinthai)

    Understood Mircea, and thanks again for your help and a great plugin

    Best Wishes

    Simon

    Thread Starter WPinThai

    (@wpinthai)

    Hi Mircea

    Thank you so much for your fast reply, especially on a Saturday!

    GREAT NEWS ! (& a question & suggestion)

    I put my active Snippets list in date order (latest at the top)

    I starting going down the list, looking at the code in each snippet for closing PHP tags …

    ?>

    … and closing PHP comment tags …

    // This is a single-line comment This is also a single-line comment

    /* This is a
    multi-line comment */

    In the first few tags (including a couple added straight from the Snippet library), I noticed they had an opening tag (<?php) at the top, greyed out (not editable) BUT no closing tag. I added the closing tag, saved the snippet.

    • ALL my snippets were still not working.
    • Strange thing was … when I looked again at the above snippets I had “changed”, the closing tag had disappeared (been removed)

    The next one in the list of snippets (a snippet I had pasted from the internet myeslf) already contained a closing tag. So (based on what I discovered above) I thought I would remove that closing tag

    • BINGO! GREAT NEWS ! ALL my snippets started working again!

    Does that sound like expected behaviour? Did I do the right thing?

    If yes, I would like to offer a couple of suggestions …

    • add info like the above to the FAQs & public documentation
    • ask the Dev team to consider adding a “closing tag not needed” type error notification to the otherwise excellent automatic error checking functionality within the plugin
    • add a comment to snippets in the library saying a closing tag does not need to be added (manually)

    Best Regards

    Simon

    Thread Starter WPinThai

    (@wpinthai)

    Thank you very much for confirming.

    I would like to suggest someone in Support gets an update made (based on the info in this ticket) to the explanation text in your KB article at https://melapress.com/support/kb/wp-activity-log-support-reverse-proxies-web-application-firewalls/?utm_source=plugin&utm_medium=link&utm_campaign=wsal

    I think it will deflect some calls and help other people for you ;O)

    Simon

    Thread Starter WPinThai

    (@wpinthai)

    Hi Lucian

    Thank you very much for you reply.

    Am I right in thinking that when you say “remote Web Application Firewalls (WAFs)” you mean “Cloud-based” firewalls and/or Host-Provider-based Firewalls?

    So, because my host provider plan does not provide a Host-Provider-based Firewall I should set the Reverse proxy / firewall option in your plugin to … No ?

Viewing 15 replies - 31 through 45 (of 50 total)