images won't create in blogs.dir (6 posts)

  1. sonnycool
    Posted 3 years ago #

    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 ??

  2. 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?

  3. sonnycool
    Posted 3 years ago #

    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 ??

  4. 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?

  5. sonnycool
    Posted 3 years ago #

    I think that is theme issue, cause theme calling files from :

    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

  6. 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 - http://codex.wordpress.org/Function_Reference/wp_upload_dir "

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

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

    Toss that in above the WordPress rules.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.