WordPress.org

Support

Support » Multisite » Ye Olde Image Uploader problemo

Ye Olde Image Uploader problemo

  • So I enabled multi-site to an existing site and am suffering with the image uploader redirect. I have done all sorts or chickenbones on this (.htaccess changes, permissions on files and permissions, etc.), and nothing seems to be working. Here is my story:

    The uploader is effectively placing the images into the blogs.dir/2/images folder.

    The image resizing functions also work within that directory

    HOWEVER – after uploading, the image placed on the page is no worky. The thumbnail is not visible in the upload panel or Gallery or Media Library panels.

    The button for “edit this image” is there and functional. When I click on that I see a thumbnail preview, but when I click back to the other panels there is still no thumbnail.

    Bottom line – something is funky with the redirect going from blogs.dir/2/images and mysite.domain.com/images.

    I have perused just about all the image uploader threads here in the multisite section and haven’t been able to find a definite answer. Please let me know if I am missing something.

    Here is the site url:

    http://bella.ctihospitality.com

Viewing 15 replies - 1 through 15 (of 20 total)
  • 1) Subdomains or Subfolders?

    2) What’s your .htaccess?

    It is subdomain.

    Here is my current htaccess:

    # BEGIN WordPress
    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    
    # END WordPress

    The uploader is effectively placing the images into the blogs.dir/2/images folder.

    Did you change something on your site? The default location is wp-content/blogs.dir/2/files/ not Images.

    I can see your images here: http://bella.ctihospitality.com/wp-content/blogs.dir/2/files/101_0584.jpg which is not quite right. They SHOULD be in folders like this:

    wp-content/blogs.dir/2/files/2010/12/101_0584.jpg

    Go chekc under Super Admin -> Sites -> Edit that the upload folders for the 2nd site are correct. By default, they shoudl be. If you edited it… well…. 😀

    I miswrote that. It should have read “blogs.dir/2/files”.

    Anyhoo – I had all sorts of other issues with the uploader and some of those issues got fixed through searching the archives here.

    One of the things I ended up doing was to manually create the files directory and indicate the image upload path in my superadmin as: wp-content/blogs.dir/2/files/

    The image Fileupload URL shown in that panel is: http://bella.ctihospitality.com/files

    I’m going to delete the files and folders inside the blogs.dir directory and see what happens.

    So I deleted the files folder from the blogs.dir/2/

    Then I changed the upload path in superadmin to:
    wp-content/blogs.dir/2/

    When I uploaded and image, wordpress created a new files/ directory and uploaded the image. Unfortunately, nothing has changed.

    Here is the location of the image I uploaded:
    blogs.dir/2/files/SHSFairfax008.jpg

    Upload path should be wp-content/blogs.dir/2/files

    Fileupload Url shoulf be http://bella.ctihospitality.com/files

    Why is it not making the Year/Month folders, though … That makes no sense?

    yeah, I dunno? Plugins? A define in wp-config?

    Here is what the define in my config looks like:

    */
    define ('WPLANG', '');
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'www.ctihospitality.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
    /* That's all, stop editing! Happy blogging. */

    regarding the define:

    I stripped the “www” from the current site line. It made no difference.

    Also there are/were no active plugins on the site.

    So.. basically a virgin install?

    Basically – the main site had been going for a while, but was a standard wordpress 3 install.

    Then I switched to multisite in order to add this one.

    However I do remember having upload problems with that one, and needing to change some permissions or something. It’s become something of a blur.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Ye Olde Image Uploader problemo’ is closed to new replies.