1337mirth
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Unable to display media in media library in 5.0.3Otto:
Thanks for sticking with me.
Making some progress. It looks like my .htaccess file was missing the blogs.dir rule. I added this to .htaccess
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]And all the media started showing up and displaying … PROBLEM SOLVED!
However, I ran the Health check plugin and I still get the error connecting to the REST API. However, I’m using the Gutenberg editor and all the tags, blocks, etc are showing up and everything is completely functional. Also, I’m able to publish posts without any problems. (I’ve read that the Gutenberg editor requires the use of the REST API.)
Also, no errors associated with wp-json in any of the server/php log files.
Is it possible I’m still having issues with the REST API?
Thanks,
MikeForum: Fixing WordPress
In reply to: Unable to display media in media library in 5.0.3Also ran the same query without the parens. Same thing, no results.
Could it be a PHP problem? If so, any suggestions on what to look for in the ini files that might prevent connections to the API?
Mike
Forum: Fixing WordPress
In reply to: Unable to display media in media library in 5.0.3Thanks, Otto.
I ran the following command:
find . -type d \( -name blogs\.dir -o -name \.snapshot \) -prune -o -print | grep ‘session_start()’(in essence, this just prints the name of all the files in the /var/www/html directory except for the files in ‘blogs.dir’ and ‘.snapshot, and then checks if the string ‘session_start()’ is in that file). It looks as if no code on my site calls ‘session_start()’. Is that good or bad?
Thanks again.
Mike
Forum: Networking WordPress
In reply to: Identifying connections and sitesOk, that sounds like a good idea. Is there a way I can identify what sites have most recently been modified in a multisite install?