• Resolved michaelquinn

    (@michaelquinn)


    After not being able to get much success with fixing a WordPress Multisite we had copied over from one server to the new one, I decided to start from scratch and try again. Same problem.

    I’ve set up a brand new WordPress install at http://scar-wp.com.au – this site works fine, images load no problems.

    I enabled Network, and even with a basic additional site on scar-wp.com.au/imagetest – I can’t load Images or Media.

    When I try to add Media to the /imagetest site, I get the dreaded Blue Question Mark.

    Note, so far I haven’t even tried to take it further and add the Domain Mapping, this is just a raw basic MultiSite – no extra plugins or themes etc.

    My .htaccess file is:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    Any help appreciated.

    twitter.com/michaelq

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Well the CSS and all loads on http://scar-wp.com.au/imagetest/ so that’s actually good 🙂

    Are you getting the blue question mark when you upload, or when you try to look at the uploaded images?

    Can you check to see if AllowOverride is set to All in httpd.conf?

    Thread Starter michaelquinn

    (@michaelquinn)

    The problem comes when I try to upload images / media.

    I have asked the server guys to double check / triple check the AllowOverride settings.

    Cheers.

    Thread Starter michaelquinn

    (@michaelquinn)

    Quick followup, server dudes have confirmed that AllowOverride is set to All in httpd.conf in the web server configuration.

    Any other ideas?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    The problem comes when I try to upload images / media.

    You’re going to have to be a little more specific (we can’t see your install, so we need to know exactly where this is).

    1) Does the image upload appear to be successful? That is does WP report any issues or does it go through the motions?
    2) If it claims it’s uploaded, are you seeing this issue in the media manager?
    3) Are the images actually uploaded in the /blogs.dir/ folder?

    Thread Starter michaelquinn

    (@michaelquinn)

    Sorry, some more detail.

    1. Image upload is “successful” in so far no errors are reported.
    2. No, Media Manager just shows a Blue Question Mark instead of a Thumbnail.
    3. Yes the files are actually in blogs.dir

    As a further update, it looks like we might have solved the problem.

    Looks like the server host had read_file() disabled as a security issue. Here is a post from someone with similar problem:

    http://mu.wordpress.org/forums/topic/8611

    I’ll update post again if anything else changes, but so far looks like this has done the trick. It has also fixed the “old” WP MU Network site I was trying to fix before.

    Cheers and thanks for the help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Brand new WP Multisite, Images not loading.’ is closed to new replies.