• I have recently installed WordPress MU and it seems to work perfectly except for one issue. Whenever I try to upload a picture (might also be a problem for other types of uploads, but I’ve only tried pictures) it seems to upload normally and it even gets the size of the image, but the image itself won’t show and when I try opening the image in a new tab I only get an error page as if nothing is there.

    This problem is not only for posts, but also for the custom header and avatar for the buddypress plug-in.

    I have tried re-installing with no luck. However the normal version of wordpress works just fine.

    Any solutions?

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

    (@ipstenu)

    ?????? Advisor and Activist

    WordPress is supposed to translate the call to domain.com/files/ to your site.

    This URL doesn’t work either.
    https://www.pbon.pl/wp/wp-content/blogs.dir/7/files/2010/11/wwwsolutions_2.jpg

    Your htaccess should be this, which is a very small change and shouldn’t matter, but let’s at least be sure.

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /wp/
    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]
    # END WordPress

    paluchgda

    (@paluchgda)

    thanks, but not working. I will install wpmu on the same server, on the same domain but other folder.

    Tim Moore

    (@tmoorewp)

    There was at one time an issue with having two WPMU install on the same server. WPMU looks one directory up for a wp-config.php file. Since you have an install in the root and one in a subfolder, the subfolder one is looking at the root install’s wp-config.php file, which is causing issues.

    Not sure if this is fixed in 3.0.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    WPMU looks one directory up for a wp-config.php file.

    WordPress (non MU) does that too, actually (so you can put your config file OUT of the public_html folder. Security ?? But yeah, I wonder if that could do it…

    Not sure if this is fixed in 3.0.

    Yeah it is.

Viewing 5 replies - 46 through 50 (of 50 total)
  • The topic ‘Image upload issue’ is closed to new replies.