c3iq
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Site admin URL repeats website domain ending in 404Another day another…
wp-content/mu-plugins/domain_mapping.php
From domain_mapping_siteurl() if I comment out:
} elseif ( $return_url[ $wpdb->blogid ] !== FALSE) { // $setting = $return_url[ $wpdb->blogid ]; }[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
the URLs get created, so that they work, but not domain mapped.
The function looks like its being called far too often.
Forum: Networking WordPress
In reply to: Site admin URL repeats website domain ending in 404Chasing my tail. I think the page is generated and passed through a (template) filter. It might be related to:
wp-content/plugins/wordpress-https/admin/templates/metabox/domain_mapping.php
or
wp-content/mu-plugins/domain_mapping.php
I don’t know how to debug it. I get the same result for https and http views of the blogs page.
Any ideas?
Forum: Networking WordPress
In reply to: Site admin URL repeats website domain ending in 404I get:
You do not have sufficient permissions to access this page.
for that URL.
The domain mapping I’m using would be pulled in with WPMU.
Forum: Networking WordPress
In reply to: Site admin URL repeats website domain ending in 404That would have been pulled in, yes.
wp_loginout() runs properly with the correct URL not domain mapped. I tracing the domain map code at the moment.
Forum: Networking WordPress
In reply to: Site admin URL repeats website domain ending in 404I have around 500 blogs.
It is a domain mapping issue. I was comparing ‘broken blogs’ using domain mapping with ‘working sites’ using renamed blogs.
It might not be because of the Network Update after all.
I’ve tried updating the .htaccess file with the sites recommended code :
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L]but that hasn’t helped.
I just had this. I put :
if ( !function_exists(‘get_editable_roles’) ) {
require_once( ABSPATH . ‘/wp-admin/includes/user.php’ );
}at line 218 of wp-content/plugins/jetpack/modules/stats.php
I found the hint here:
https://github.com/lewismcarey/User-Field-ACF-Add-on/issues/2
Working again.
Forum: Plugins
In reply to: [Social] [Plugin: Social] Fatal error when WP_CACHE definedWe are using Multisite. We’re using PHP caching as part of WP Super Cache. We have a dev server but I’m working on another project at the moment and can’t work on debugging the problem. When this initially happened I had to fix some paths around line 38 of twitter-tools/twitter-tools.php. Because it’s a heavily used service I couldn’t look any further.
Forum: Plugins
In reply to: [Social] [Plugin: Social] Fatal error when WP_CACHE definedI just got this as a nasty surprise too. Twitter-tools has just been updated and depends on the Social plugin. Luckily, because of this post, I could disable WP_CACHE. I would love to see a fix though.
It may be working.
I took the suggested rewrite rules from the ‘Network’ section of
Admin but, also, the user had a mixture of upper and lower case in their domain mapping. I deleted it and added it again all in lowercase. I made it the Primary and it started working.Hope this helps someone.