regexaurus
Forum Replies Created
-
Forum: Plugins
In reply to: [Constant Contact Forms] Constact Contact Form PluginThis worked for us, thank you. Any idea what causes the errors/disconnects? Seems like we’ve increasingly experienced them over the past year or two.
Is staging possibly a factor? If so, do you have any suggestions for handling staging? We use the staging feature offered in the DreamPress control panel.We ran into this today, on a DreamPress (managed WordPress) site with PHP 8.4. We have DISABLE_WP_CRON defined and enabled (true).
Thank you, @spatton99, for the temporary fix!
Thank you, @tw2113!
@tw2113 that (2.9.1) appears to be working. It’s at least not obviously breaking our website anymore.
Thank you, Darin! That works well for us.
Forum: Plugins
In reply to: [Easy Updates Manager] Do I need premium to call wp-cron from cron / crontab?Thank you much. Very helpful! 🙂
- This reply was modified 3 years, 6 months ago by regexaurus.
Forum: Plugins
In reply to: [Easy Updates Manager] Do I need premium to call wp-cron from cron / crontab?The production site has a
.gitdirectory in site root. The staging site has a.gitfile in site root which contains a single line:gitdir: /path/to/subdirectory/of/.git/on/production/siteForum: Plugins
In reply to: [Easy Updates Manager] Do I need premium to call wp-cron from cron / crontab?Sorry for my even slower response.
Yes, there is a.gitdirectory in site root. It appears to be created and used by DreamPress one-click staging, which I enabled for the site some time ago.
There are no.git,.svn,.hg, or.bzrdirectories inwp-content,wp-content/plugins, orwp-content/themes.Forum: Plugins
In reply to: [Easy Updates Manager] Do I need premium to call wp-cron from cron / crontab?@anthoniusalfred I did a Force updates as requested, and saw a message, “Force update checks have been initialized”, but as I had before I tried forcing updates, I still have 4 plugins that all indicate, “There is a new version of plugin name available.”
Forum: Plugins
In reply to: [Easy Updates Manager] Do I need premium to call wp-cron from cron / crontab?I installed WP Crontrol to see if it would show anything possibly useful/helpful. All appears normal as best as I can tell, and a web search seems to suggest MPSUM_Disable_Updates->maybe_auto_update() is specific to Easy Updates Manager.
Forum: Plugins
In reply to: [Easy Updates Manager] Do I need premium to call wp-cron from cron / crontab?Yes, I had added this job in crontab:
*/20 * * * * cd /home/username/siteroot; wp cron event run –due-now > /dev/null 2>&1
But automatic updates haven’t been working. I took your suggestion and switched to calling wp-cron.php instead (using curl instead of wget):
*/20 * * * * curl https://www.example.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1
The website is hosted on DreamPress. I was reviewing access.log and happened to notice entries like this:
[02/Feb/2023:07:00:02 -0800] "GET /wp-cron.php?doing_wp_cron HTTP/1.1" 200 242 "-" "DreamPress wp-cron/1.0"
These entries appear every 15 minutes. Looking into this, I found this DreamHost/DreamPress Knowledgebase article: Disabling WP-CRON to Improve Overall Site Performance And from that article:

I’m also seeing access.log entries corresponding to my crontab job for curl / wp-cron.php. But automatic updates are still not working…
- This reply was modified 3 years, 6 months ago by regexaurus.
Forum: Plugins
In reply to: [W3 Total Cache] FSD CDN set up confusionRight, so I had already followed that down to the success message, but the trouble is with removing the A (host) record for website/domain and creating a CNAME record for that domain, that points to the Cloudfront distribution domain. When a website is created on DreamHost shared hosting, the A record is automatically created and it can’t be deleted directly (only by removing hosting for the website/domain). DreamHost prevents creation of a CNAME with the same hostname as an existing A record…and I doubt that would work well or as desired, if I could create a CNAME record with the same hostname as an existing A record. I can create an ALIAS record, but that doesn’t work as desired. Then there is the trouble of creating an alternative hostname (as described in the FAQ) and pointing it at the same IP address as the main/original A record for the website/domain. Since this is for a DreamHost shared hosting environment, where is traffic to that IP going to be routed? I don’t think DreamHost shared hosting uses a dedicated IP per website/domain…? 🤷🏻♂️ If that’s correct, they’re probably using name hints to determine how to route web traffic and the alternative hostname A record simply wouldn’t work…?
Forum: Plugins
In reply to: [W3 Total Cache] Questions regarding W3 Total Cache Image ServiceHi Marko,
I’m a little confused by point 1, where you indicate the CDN needs to be purged after converting images, so that webp images can replace the existing images. After purging the CDN, will the CDN also pull jpg/jpeg/png images as needed, for browsers that don’t support webp?
Thank you!
According to DreamHost support, the problem appears to be with Wordfence. DreamHost support responded with, “…it seems as if our servers cannot reach WordFence’s cloud host as the connection dies at the boarder. A traceroute to noc4.wordfence.com dies at their boarder and a trace back to us dies as well. From what we have determined, the issue seems to be with WordFence and not us…”
Presumably, boarder == router 🙂I cleaned up / fixed a bug in my first script above and posted to Pastebin (more legible there).