Douglas "BearlyDoug" Hazard
Forum Replies Created
-
Just a quick update… after some frustration with not being able to reach @gabfire Themes, I was successful in alerting them to this issue with their Transcript theme.
Between Gabfire and @clorith, I’m a little more confident that they’ll be able to track down the issue indicated in this thread. Gabfire, please do respond to this thread with what changes you made. This is an issue that’s been hard to track down for WordPress Developers (there’s no real commonality right now… so anything that can be shared will only benefit the community as a whole).
@clorith, thank you for helping me narrow down the culprit. I’ll let my customer know the results of the findings (The theme developer has not released an update, as of yet, so the timing might be good here).
If you’d like, I can also get you a copy of the theme itself. For now, I’ve got a temp fix in place (noted above).
To everyone else, again, swapping files with an older version of WordPress should be your absolute last resort in this situation.
@clorith, your summary is correct. Excellent catch on the theme question. Confirmed that when I switch to the transcript Gabfire Theme, I get the error. I do not get it on the default theme.
I had to temporarily restore the three files I replaced with 4.8.3 files back with the 4.9.1 files to recreate the error.
I can confirm, again, that the theme itself (“transcript” by Gabfire Themess) is the “instigator” here.
FYI, I did a recursive search on “session” and “session_start” on that theme. No instances of that were found.
On our network, the load balancer servers as the “entry point” for incoming http requests and routes it to one of the front end servers. The LBs also run NginX, which serves the static content (and caches it), almost in a CDN style format. It passes all Apache and PHP requests to the web servers themselves. No WAF (we have firewalls situated with all the networking/routing stuff, however, we don’t filter legitimate web requests (in or out).
As far as how the Apache/PHP requests are handled, some of our customers keep their visitors on the same server for X amount of time, while others bounce them around, each page they visit (this is discouraged, due to potential problems, but allows quicker response times in case one of the web servers is offline for any reason).
For this particular customer, we’re keeping the visitor on the same server for 20 minutes, I believe. There’s four webservers in the mix.
I know that we do take advantage of PHP’s OpCaching, but as I noted, I don’t have this issue on a standalone NginX, Apache, PHP server.
I just tested this on another site, running WordPress with a LB/NginX server and two front end servers, and can make the changes without any error message. Similar “server jumps” as the first customer above.
I also installed the Health Checker on this other customer site. Loopback comes through juuuuuust fine. “The loopback request to your site completed successfully.”
I need to clarify one point in my original post… when I was doing the troubleshooting, I enabled the plugins, one by one, in hopes that I could get the error message. I worked through getting all the plugins enabled, and still didn’t get that error message. When I exited out of troubleshooting (with the standard plugin configs enabled), I received that error message.
No, we don’t use mod_security, due to problems we’ve noticed on several configs.
@robotor, let me know if you’ve had the same success that I did. But definitely pay attention to this thread, please. If we’re able to help find a fix, I will come back here and confirm/share.
@sterndata, believe me, it’s not my first choice to replace specific files in order to get a “bug” to go away. When it’s a fairly high profile sports site, though, I had to do what was needed in order to get the customer’s functionality back into place, especially since the team this site covers is competing for a national championship in less than two weeks.
Trust me, Steve, I’d love to help be a part of the permanent solution here. I actually did my part in contributing towards bug resolutions that affected WordPress MultiSite (I actually was one of the first to cross-relate two separate bug reports as being hand in hand). The fix was put in for 4.2.4 and 4.3. This was within my second month of working with WordPress, by the way.
This is why I’m going to do what Marius requested. ??
@clorith, debug info posted below.
I actually work for the hosting provider. We’re not just a WordPress hosting provider, we maintain over 175 WordPress sites, plus actively develop sites for customers.
I would rather not share this customer’s domain/URL publicly (as noted below in the blockquoted text), however, I can absolutely work with you directly to provide that information. Let me know how we can get connected, please.
As far as the hosting platform… we really only use two types of configs. A standalone WordPress system (NginX, Apache, PHP on the server, MySQL on a separate server), or if they’re a large site like this particular customer, Load Balancer runs NginX, four Apache and PHP servers with a separate MySQL DB.
This customer that I’ve worked on today, has the multi-web server front end.
I have a personal site that is also running 4.9.1, but running on the NAP combined single standalone config, and I don’t have any problems with the theme/plugin editor.
In addition to being one of the WP Devs, I’m also one of the server administrators (and DNS/domain guru). We’re not WP Engines, but Richweb’s not a small “fish”, when it comes to WordPress.
### WordPress ###
Version: 4.9.1
Language: en_US
Permalink structure: /%year%/%monthnum%/%day%/%postname%/
Is this site using HTTPS?: Yes
Can anyone register on this site?: No
Default comment status: closed
Is this a multisite?: No
User Count: 10
Communication with www.remarpro.com: www.remarpro.com is reachable
Create loopback requests: The loopback request to your site took too long to complete, this may prevent WP_Cron from working, along with theme and plugin editors.### Active theme ###
Name: transcript
Version: 2.7
Author: Gabfire Themes
Author website: https://www.gabfirethemes.com
Parent theme: Not a child theme
Supported theme features: widgets, automatic-feed-links, menus, custom-background, post-thumbnails### Other themes (3) ###
transcript (transcript): version 2.0.1 by Gabfire Themes
Twenty Fifteen (twentyfifteen): version 1.9 by the WordPress team
Twenty Fourteen (twentyfourteen): version 2.1 by the WordPress team### Active Plugins (15) ###
Advanced Custom Fields: version 4.4.12 by Elliot Condon
Advanced Most Recent Posts Mod: version 1.6.5.2 by Kailey Lampert
Akismet Anti-Spam: version 4.0.2 by Automattic
Change Author: version 1.3 by Martin Teley
Countdown Pro Wpdevart: version 10.0 by wpdevart
Facebook Comments Plugin: version 2.3.6 by talspotim
Gabfire Widget Pack: version 1.4.13 by Gabfire Themes
Google XML Sitemaps: version 4.0.9 by Arne Brachhold
Health Check: version 0.7.0 by The www.remarpro.com community
Jetpack by WordPress.com: version 5.6.1 by Automattic
Mobile Theme Ads for Jetpack: version 1.2.1 by Jeremy Herve
Richweb WP Lockdown: version 2.6 by Jordan Burch, Jacob Dunn & Doug Hazard
Simple Tags: version 2.4.7 by Amaury BALMER
Tapatalk for WordPress: version 1.4.0 by Tapatalk
TinyMCE Advanced: version 4.6.7 by Andrew Ozz### Inactive Plugins (3) ###
Google AdSense: version 1.2.1 by Google
vBulletin lateset threads comments – WordPress Plugin: version 0.1 by Arfan
WP Maintenance Mode: version 2.0.9 by Designmodo### Server ###
Server architecture: Linux 3.16.0-4-686-pae i686
PHP Version: 5.6.30-0+deb8u1
PHP SAPI: apache2handler
PHP max input variables: 1500
PHP time limit: 90
PHP memory limit: 300M
Upload max filesize: 32M
PHP post max size: 32M
cURL Version: 7.38.0 OpenSSL/1.0.1t
SUHOSIN installed: No
Is the Imagick library available: Yes### Database ###
Extension: mysqli
Server version: 5.5.5-10.2.8-MariaDB-log
Client version: 5.5.54
Database prefix: wp_### WordPress constants ###
ABSPATH: /data/www/[CUSTOMER DOMAIN REMOVED]
WP_HOME: Undefined
WP_SITEURL: Undefined
WP_DEBUG: Enabled
WP_MAX_MEMORY_LIMIT: 300M
WP_DEBUG_DISPLAY: Disabled
WP_DEBUG_LOG: Disabled
SCRIPT_DEBUG: Disabled
WP_CACHE: Disabled
CONCATENATE_SCRIPTS: Undefined
COMPRESS_SCRIPTS: Undefined
COMPRESS_CSS: Undefined
WP_LOCAL_DEV: Undefined### Filesystem permissions ###
The main WordPress directory: Not writable
The wp-content directory: Not writable
The uploads directory: Writable
The plugins directory: Not writable
The themes directory: Not writable
The Must Use Plugins directory: Not writableNote on File Permissions: We (Richweb) have a security plugin that “locks” / “unlocks” the site, which allows files/folders to be writeable. Every customer can manage this via their WP Admin interface. Sites are locked when not in active development/updating status.
Jim, is there any way to do this without having to sign up for a GITHUB account? I do have a JSON export available for y’all (in a text file).
Thanks!
Forum: Plugins
In reply to: [Featured Images in RSS for Mailchimp & More] No featured imagesMy only concern about using a plugin for this is that the theme uses WP-Bakery’s Visual Composer, so it defaults to WP’s built in RSS feed system. I know I should probably ask this on the RSS Image Widget thread, but does that completely replace WP’s built in RSS feed, or is there a separate short code needed for that?
In my (not so humble, haha!) opinion, this should actually be a core feature of WordPress (supporting images/thumbnails). I was actually floored to discover that it doesn’t, though they support other formats appropriately.
Forum: Plugins
In reply to: [Featured Images in RSS for Mailchimp & More] No featured imagesI work with Robby on LWOS. The images are not showing up on the feed for https://lastwordonsports.com (Four feeds are at the bottom of the home page).
I did some digging today and noticed that the feeds are being served via wp-includes/widgets.php.
if ( $link == '' ) { echo "<li>$title{$date}{$summary}{$author}</li>"; } elseif ( $show_summary ) { echo "<li><a class='rsswidget' href='$link'>$title</a>{$date}{$summary}{$author}</li>"; } else { echo "<li><a class='rsswidget' href='$link'>$title</a>{$date}{$author}</li>"; }
As you can see, there’s absolutely no image calls there. This is the issue we’re having in getting the feeds to display correctly. How can we get the images (thumbnail) from the feed themselves to display on the LWOS home page properly?
More than likely, this will have to be filed as a bug report (or feature enhancement request) within WP.org to get properly handled.
- This reply was modified 7 years, 3 months ago by Douglas "BearlyDoug" Hazard.
- This reply was modified 7 years, 3 months ago by Douglas "BearlyDoug" Hazard.
Forum: Plugins
In reply to: [Last Modified Timestamp] Last Modified by user (WP admin area)Evan, thank you for taking this under consideration. I’m a behind the scenes tech admin for a site that has anywhere from 250 – 375 active monthly writers… so something like this would be a *great* benefit for the editors and writers. ??
If you do implement it, just update the post. I’m following it for replies.
If I can help you with anything, please let me know.
Have a great day!
- This reply was modified 7 years, 9 months ago by Douglas "BearlyDoug" Hazard.
I need to note that 2.2.7 is now working… I’ve done tests on three sites without issue. @spiskommg, do the update to 2.2.7, please.
Quick update: After “downgrading” to 2.2.2, both clients (one from 2 months ago, the other from today) confirmed that they have zero issues with attaching media to posts/pages.
Forum: Plugins
In reply to: [WP Dashboard Notes] Revoke Write Access for certain User Roles?Jeroen, as an employee for a company that manages over 250 WordPress sites (developers and designer type work), I have to say that I absolutely LOVE your plugin. I’ve personally contributed towards bug fixes and/or enhancements on four plugins in the past year, plus contributed towards identifying two separate bugs within WP as actually being related to each other (fixes were deployed in 4.2.4 and 4.3; centered around MultiSite issues).
@mirrormirrormusic, I don’t mean to hijack your thread, but my request goes hand in hand with your request for enhancement.
Jeroen, I would love to see an enhancement of the notes called “View Access”, based off of someone’s role/access status. I’ll use the default WP settings, for this example:
Administrator Only
Editor (or higher)
Author (or higher)
Contributor (or higher)
Subscriber (or higher)
All UsersThe only issue is that you might have to check to see what other roles are available (User Role Editor, for example, allows you to define custom roles). So I don’t know how well that would work here.
Again, apologies to mirrormirrormusic for posting on this thread.
Dank u voor een fantastische plugin, Jeroen!
My pleasure. Hopefully you’ll be able to build this into all of your Gallery Plugins for a future update. If you’d like, I’ll work with you directly to show you exactly how I handled this manually (different WP database table prefixes and URLs in one of your tables).
Since there’s really no way for direct, private contact on here… if you’re on Twitter, give me a follow (same name as here) and we’ll rock this out.
I love working for a hosting provider that is, essentially, 95% wordpress based. Gives me the opportunity to help WordPress, Plugin and Theme authors the ability to help with bug fixes. You’re actually now the fourth Plugin author that I’ve identified issues on that were able to deploy enhancements or fixes for… plus I was able to contribute to identifying that two separate WP bugs were actually tied into each other (at that time, I only had two months of WP experience, but 13 years of PHP experience).
Hit me up, Cais. I’d love to see this as an enhancement for your gallery. ??
–Doug
Thank you for the link. I’ve contributed my thoughts.
For anyone else that is interested in this… I followed the directions at https://www.flippercode.com/export_import_nextgen_gallery_wordpress/ and adjusted the path statements in the .sql file to match the new gallery upload paths of the new site. Also, be sure to adjust your WordPress database table prefixes, in case they change (like mine did).
I went from one MultiSite install under one URL over to a different MultiSite install under a different URL, with zero issues.
Forum: Reviews
In reply to: [Import and export users and customers] Would've given 4.5 stars?Buenos dias, Javier!
Like I said, if I could’ve given 4.5, I would have. I’m glad that you’re considering implementing the roles being defined. I’m hoping you will also factor in possible WordPress MultiSite scenarios, as well.
As far as the execution time for any script, setting that to unlimited is a very bad idea. For people with their own dedicated servers (or clusters, in this particular situation), it’s not as “dangerous”, however, for a shared environment, customers can (and will) take advantage of that.
I’ve been in the web hosting/design sector for 16+ years, both as an owner, and as an employee. For the last 3 years, I’ve worked for a company specifically build/optimized towards WordPress hosting and development. I’ve personally seen what can happen when no time limits are set.
If I can make a suggestion for that issue, have a look at Big Dump (https://www.ozerov.de/bigdump/). I’ve used that to import a 4 gig MySQL DB, without any issues. A staggered import might actually be the answer to larger CSV imports. Maybe cap the imports to 100, per cycle.
You’ve got a great script, Javier. The work definitely shows. This may be my first comment/rating of your script, but it’s not the first (or second) time I’ve used it. Please don’t read my comment and initial rating as negative. It’s definitely not intended as such. ??