• Resolved Shane

    (@mohonrim)


    Server: IIS
    WP: 3.0.1 as Network
    2 sites: http://byline.ageditors.com/, http://www.ageditors.com

    Hello, this should be a simple solution but as is often true, they are often the more difficult to fix.

    I transferred my site from development to production, and most everything has worked. The only issue I’m having now is that the images on site #2 (http://byline.ageditors.com/) are not appearing. They are physically in the correct folder under blogs.dir, and they are in the database/admin correctly.

    I am able to upload files on both sites.

    Is this a blogs.dir rights issue? Or a domain issue?

    Thank you for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Shane

    (@mohonrim)

    Here are the essentials:

    wp-config

    define(‘WP_DEBUG’, false); define( ‘MULTISITE’, true );
    define( ‘SUBDOMAIN_INSTALL’, false );
    $base = ‘/’; define( ‘DOMAIN_CURRENT_SITE’, ‘ageditors.com’ );
    define( ‘PATH_CURRENT_SITE’, ‘/’ );
    define( ‘SITE_ID_CURRENT_SITE’, 1 );
    define( ‘BLOG_ID_CURRENT_SITE’, 1 );

    htaccess

    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).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L]

    Thread Starter Shane

    (@mohonrim)

    Update:
    This is a Windows server. My hosting provider said there was an issue with the “.” in blogs.dir so I changed the site to use “blogs” as the upload folder. I modified each of the paths in the site config. Now all of the images are displaying correctly.

    However, I am still unable to upload media or upgrade plugins. I recieve this error when adding media:

    “IMG_0003.JPG” has failed to upload due to an error
    Unable to create directory C:\Inetpub\wwwroot\humanspan\sites\6101_WP2/wp-content/blogs.dir/3/files/2010/10. Is its parent directory writable by the server?

    Why would this still have “blogs.dir” when I’ve modified the config file to use “blogs” for the upload folder? I’ve searched the database and cannot find any field that is storing this “blogs.dir” value. Is this written dynamically in another file?

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Images not appearing after MU transfer’ is closed to new replies.