Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter 1337mirth

    (@1337mirth)

    Otto:

    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,
    Mike

    Thread Starter 1337mirth

    (@1337mirth)

    Also 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

    Thread Starter 1337mirth

    (@1337mirth)

    Thanks, 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

    Thread Starter 1337mirth

    (@1337mirth)

    Ok, that sounds like a good idea. Is there a way I can identify what sites have most recently been modified in a multisite install?

Viewing 4 replies - 1 through 4 (of 4 total)