• new install of wpms 3.5.1, everything work well other than images issue.

    I can upload image to /public_html/wp-content/uploads/sites/2/agents/small
    but there is nothing in my blogs.dir (empty).

    .htaccess is correct.

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [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]

    folder permission 777.

    anyone can help ??

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

    (@ipstenu)

    ?????? Advisor and Activist

    Deleted bump. Just because it’s urgent for you doesn’t mean bumping and otherwise nudging the volunteers here is okay. We understand that every post is important to people, but this is free support. Be patient please ?? If it’s really that mission critical, consider hiring someone.

    I can upload image to /public_html/wp-content/uploads/sites/2/agents/small
    but there is nothing in my blogs.dir (empty).

    There isn’t supposed to be anything in blogs.dir if this is a NEW install from WP 3.5 or later. We moved the images for all new installs. It’s confusing, but it’s okay.

    Are the images broken in your posts?

    Thread Starter sonnycool

    (@sonnycool)

    yah is new install ….
    means i don’t have to create blogs.dir folder ? yes some of the photo missing …..

    so that means my theme issue ??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    If this is a NEW install from 3.5 (that is you did not have WP 3.4 as a multisite and upgrade to 3.5), you don’t use blogs.dir anymore. Everything’s in /uploads/

    (As much as I love that, I also hate it for the hassle of explaining)

    So are the images BROKEN in your posts? (I know you said ‘yes some of the photo missing’, but I’m asking specifically are the images on the front of your site broken with an error)

    Can you share your URLs?

    Thread Starter sonnycool

    (@sonnycool)

    I think that is theme issue, cause theme calling files from :
    https://ypkoh.propertyagent.my/wp-content/blogs.dir/30/files/agents/small/disc.png

    but i saw files is nicely save in uploads folder, but that so call premium gorilla theme creator blame that issue on my server permission …. without bother to look further

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Ugh.

    No, tell the theme dev “Your code isn’t working on WordPress 3.5 because it thinks I’m using blogs.dir when I’m actually using uploads. This CHANGED as of 3.5 for all new installs. How does your code detect my uploads folder, since it’s clearly not working. It should use the wp_upload_dir() constant – https://codex.www.ads-software.com/Function_Reference/wp_upload_dir

    And in the meanwhile, you can use a .htaccess rule to redirect:

    RewriteRule ^/wp-content/blogs.dir/30/files/(.*)$ https://ypkoh.propertyagent.my/wp-content/uploads/sites/30/$1 [L,R=301]

    Toss that in above the WordPress rules.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘images won't create in blogs.dir’ is closed to new replies.