nikdow
Forum Replies Created
-
Brilliant thank you.
I’ve added that to the site’s customisation plugin and will monitor Akismet to check the numbers, there doesn’t seem to be any direct way to know if Akismet was called, but if no comments are being checked I should see a change to the numbers fairly quickly.Forum: Plugins
In reply to: [WP Photo Album Plus] jQuery errorsSince your last update, the error has gone away. Thanks for the fix – whatever it was!
Forum: Plugins
In reply to: [WP Photo Album Plus] jQuery errorsWondering if any obvious cause for these errors?
I looked a bit closer and found:
Order status changed by bulk edit: Order status changed from Processing to Completed.
February 24, 2021 at 3:59 pm by {user name} Delete note
Order status changed from Pending Payment to Processing.
November 1, 2015 at 3:28 pm Delete note
Payment was made and the order went to Processing. These are all downloads, and we did fix it subsequently so orders were marked as complete automatically. The admin user decided to mark them all as Completed, which triggered the emails.
Forum: Plugins
In reply to: [CDN Enabler] cloudfront 301 statusYes it is fixed! Thanks very much. I’m now seeing requests like this again:
Request URL: https://cdn.spelfabet.com.au/wp-content/www.spelfabet.com.au/plugins/woocommerce/assets/js/frontend/add-to-cart.min.js?ver=5.0.0
I’ve commented out the additional apache rewrite config that was working around the issue.
Thanks for the fast fix.Forum: Plugins
In reply to: [CDN Enabler] cloudfront 301 statusThanks, appreciate the free plugin which has been running very well for a long time, and makes the site faster and saves load on our server.
Forum: Plugins
In reply to: [CDN Enabler] cloudfront 301 statusThe old code (pre 2.0.0) had the rewrite thus:
$urls_regex = ‘#[^\”\’\s=>(,]+(‘ . $included_file_extensions_regex . ‘)(?=\/?[?\\\”\’\s)>])#i’;$rewritten_contents = preg_replace_callback( $urls_regex, ‘self::rewrite_url’, $contents );
return $rewritten_contents;
This has been replaced by a simple
if ( stripos( $file_url, ‘/’ . $site_hostname ) !== false ) {
return str_replace( $site_hostname, $cdn_hostname, $file_url );
}Forum: Plugins
In reply to: [CDN Enabler] cloudfront 301 statusThanks for quick answer.
I’ve saved without validation (TBH I had ignored that button, thanks for pointing it out).
This allows me to see the problem. The CDN appears to have changed behaviour and is substituting the Domain Name not only at the start of the link but also within the link. Due to the way our server is set up (our own version of a network WordPress install where everything except /uploads is owned by root), we interpolate the domain name within the URL. Prior to your version 2.0.0 this didn’t cause a problem because the cdn-enabler only substituted the domain name part of the URL. It is now substituting that domain name everywhere in the link.
So where we have a link such as:
https://www.spelfabet.com.au/wp-content/www.spelfabet.com.au/plugins/jetpack/css/jetpack.css?ver=9.4
cdn-enabler is now recoding that as
https://cdn.spelfabet.com.au/wp-content/cdn.spelfabet.com.au/plugins/jetpack/css/jetpack.css?ver=9.4
Cloudfront receives the request and attempts to get the file from
https://www.spelfabet.com.au/wp-content/cdn.spelfabet.com.au/plugins/jetpack/css/jetpack.css?ver=9.4
which breaks on our server.
For now I’ve added another rewrite rule to the apache <virtualhost> for that domain which fixes the problem, but if possible I’d suggest you revert the text substitution of links to only change the domain name part.
Added rule:
RewriteRule ^/wp-content/cdn.spelfabet.com.au/(.*) /wp-content/%{SERVER_NAME}/$1 [L]Forum: Plugins
In reply to: [Subscribe To Comments Reloaded] spurious emailsThanks for the hint. And I see I can search subscribers now!
Forum: Plugins
In reply to: [Subscribe To Comments Reloaded] spurious emailsI should add that I inspected the content of the emails using postcat to verify they were sent by sTCR. Note the QS is missing the permalink.
e.g.
*** ENVELOPE RECORDS deferred/E/EF0F759636 ***
message_size: 967 665 1 0 967 0
message_arrival_time: Thu Aug 20 09:54:45 2020
create_time: Thu Aug 20 09:54:45 2020
named_attribute: log_ident=EF0F759636
named_attribute: rewrite_context=local
sender: XXXX@spelfabet.com.au
named_attribute: log_client_name=localhost
named_attribute: log_client_address=127.0.0.1
named_attribute: log_client_port=38078
named_attribute: log_message_origin=localhost[127.0.0.1]
named_attribute: log_helo_name=www.spelfabet.com.au
named_attribute: log_protocol_name=ESMTP
named_attribute: client_name=localhost
named_attribute: reverse_client_name=localhost
named_attribute: client_address=127.0.0.1
named_attribute: client_port=38078
named_attribute: helo_name=www.spelfabet.com.au
named_attribute: protocol_name=ESMTP
named_attribute: client_address_type=2
named_attribute: dsn_orig_rcpt=rfc822;XXXX@icloud.com
original_recipient: XXXX@icloud.com
recipient: XXXX@icloud.com
pointer_record: 0
*** MESSAGE CONTENTS deferred/E/EF0F759636 ***
regular_text: Received: from http://www.spelfabet.com.au (localhost [127.0.0.1])
regular_text: by aws05.cbdweb.net (Postfix) with ESMTP id EF0F759636
regular_text: for <XXXX@icloud.com>; Thu, 20 Aug 2020 09:54:45 +1000 (AEST)
pointer_record: 1653
regular_text: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=spelfabet.com.au;
regular_text: s=default; t=1597881286;
regular_text: bh=8KmrCKqY+UGP6iN+ff9/YJaB2EP8ZvWfrvWUk/CkRl8=;
regular_text: h=Date:To:From:Reply-To:Subject:From;
regular_text: b=jLt+NeO6C1LHotB5Ae42SuiIRA2px6eznVaWcY+abTWFfKBBXXYnWMBbkC3osMW9m
regular_text: 9Mtf6jZ584A58ANNwoCYXt+npPJSQ1PNpF+NdPtEE5LxExUWAJn9x3AxCWuGBwEnhP
regular_text: HqXG87VL0r7vgiiPSwdiB/lWch5RsKjPj8Cy2k+A=
regular_text: Date: Wed, 19 Aug 2020 23:54:45 +0000
pointer_record: 889
regular_text: To: XXXX@icloud.com
regular_text: From: Spelfabet <XXXX@spelfabet.com.au>
regular_text: Reply-To: XXXX@gmail.com
regular_text: Subject: Manage your subscriptions on Spelfabet
regular_text: Message-ID: <c03e002a5a40939073b17829048349a4@www.spelfabet.com.au>
regular_text: X-Mailer: WPMailSMTP/Mailer/smtp 2.2.1
regular_text: X-Post-Id: 0
padding: 0
regular_text: X-Comment-Id: 0
regular_text: MIME-Version: 1.0
regular_text: Content-Type: text/html; charset=UTF-8
pointer_record: 0
regular_text:
regular_text: <html><head><title>Manage your subscriptions on Spelfabet</title></head><body><p>You have requested to manage your subscriptions to the articles on Spelfabet. Follow this link to access your personal page:<br />
regular_text: https://www.spelfabet.com.au/comment-subscriptions/?srek=&srk=c3a2be8687cfa7cbe61db20f647bce3d&srsrc=e&post_permalink=</p>
regular_text: </body></html>
regular_text:
pointer_record: 0
*** HEADER EXTRACTED deferred/E/EF0F759636 ***
pointer_record: 0
*** MESSAGE FILE END deferred/E/EF0F759636 ***@pdesignz sounds like the step you might be missing is to restart the webserver, while jetpack is deleted. This will remove it from various caches.
@pdesignz
did you try deleting jetpack, then using your cPanel or whatever to restart your server?
Then reinstall jetpack.deleted jetpack.
We use svn to maintain plugins and turn off WordPress updates, as the latter are insecure.
Our webserver does not have permission to update PHP directories.
Created jetpack directory with newsvn cocommand
restarted php7.3-fpm to reset OPCachegot message to update WooCommerce database at this point.
Possibly all this triggered by update to WP 5.5 in the last 24 hours.
Same error here.
PHP Fatal error: Cannot redeclare Automattic\Jetpack\Autoloader\enqueue_packages_59b2271d25a961ec5100b6f811b89e89() (previously declared in /home/lamp/wordpress/plugins/woocommerce/vendor/autoload_packages.php:183) in /home/lamp/wordpress/plugins/woocommerce/vendor/autoload_packages.php on line 183Had to delete jetpack from 3 sites that also run WooCommerce.
WP 5.5
JetPack 8.8.2
WooCommerce 4.4.0Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] 8.7 update caused site crashMy bad, forgot to reload apache after downloading 8.7.0.1, problem solved with that. However it is not the stable tag in readme.txt so my auto update will backtrack to 8.7 in 7 hours.