• Resolved dixonge

    (@dixonge)


    OK, maybe it was my old profile? I can’t seem to post anything here without triggering spam filters and locking the thread. Maybe someone can actually reply to this one…fortunately, I found another login I used to use!
    ———————
    I have my main site and one add-on site up and running on multisite. Today I had a major issue come up with a third site and the host admin ended up pretty much wiping the install directory, so I decided it would be a great time to go ahead and migrate this third site into my multisite install.

    So far, after lots of SQL insanity, I seem to have managed to get the main content back up and running. But when I went to put my old original header image back up, I just hit a brick wall. Here are what I believe are the relevant image path settings as they stand right now:

    Uploads Use Yearmonth Folders = 0
    Upload Path = wp-content/blogs.dir/3/files
    Upload Url Path = site3/wp-content/blogs.dir/3/files
    Fileupload Url = site3/wp-content/blogs.dir/3/files

    When I attempt to upload a new header image, it is broken. WordPress is trying to assign it this URL: site3/files/cropped-Server+Room2.jpg

    htaccess contains the following:

    https://pastebin.com/QwzxLh7R

    Any ideas?

Viewing 15 replies - 16 through 30 (of 51 total)
  • Thread Starter dixonge

    (@dixonge)

    to be honest, I only changed settings because things weren’t working right to begin with! ??

    blogs.dir and children are already all at 777

    I will contact the host.

    Also, how can I reset each sites settings file back to default values?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Next time trust the tool ?? If a setting is well hidden (i.e. not easily found in the dashboard of the site), you can safely assume it’s powerful and dangerous.

    You can’t reset the settings. You CAN make a new subsite, make a note of those settings, and copy ’em over manually.

    Thread Starter dixonge

    (@dixonge)

    Just found an interesting article that I probably should have read before I started this whole multisite thing…

    Don’t Use WordPress MultiSite

    How’s this for a reason not to use MultiSite?

    “I just want to be able to manage my plugins and updates from a central dashboard.”

    I’m thinking pretty seriously about going back to individual installs…

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    That’s my website y’know ??

    The point of it was to make people ask themselves ‘Why do I WANT Multisite?’ A lot of folks see it as a silver bullet, and its not. It IS useful and great for a lot of things, btu not everything.

    Without knowing what you’re doing with your site, though, I can but guess if you should, or shouldn’t, use Multisite.

    Good evening. Since upgrading to WordPress 3.3, my MU has not worked with pretty permalinks and one of my subdomain blogs is not loading images, while the primary domain, parceledgardens and another blog, shop.parceledgardens.com load images wiki.parceledgardens.com does not.

    I read through the posts, checked phpmyadmin, found the relative upload link for the images to be:
    wp-content/blogs.dir/13/files.

    When adding images, they get uploaded to:

    https://wiki.parceledgardens.com/files/2011/11/happybee1.jpg

    Since having this trouble, I have uninstalled and reinstalled the wiki sub-blog, deactivated and reactivated the plugins, changed the theme to default and back again and still no image joy.

    I have checked the .htaccess file, and have this:

    # 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

    This appears to be correct, so I am bewildered why my pretty permalinks and more importantly my image uploads are not working for only one sub-blog. BTW, image directories are 775.

    Any information is very appreciated!

    Thanks!

    Jan

    If it’s only one blog, it’s usually a plugin.

    The image upload folder and the rewrite for it is as it should be.

    Well, I’ve disabled and re-enabled each of the plugins. It doesn’t work w/out any plugins either. Or when changing back to the default theme. Images are there, but when added to a post the image broken icon appears.

    Oddly, the 2011 header and images appear and work fine. Just nothing that I upload.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I am bewildered why my pretty permalinks and more importantly my image uploads are not working for only one sub-blog. BTW, image directories are 775.

    I’d wonder if it has to do with how you set up the subdomain, personally. Wildcard or manual?

    I have wildcard DNS (* A record pointing to dedicated IP) so that building subdomains “on the fly” are supported.

    I don’t understand the relationship between the DNS and image files in the hosting? Would you explain the query, please?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    DNS is one half of the battle.

    How did you set up the vhosts on your SERVER?

    anything.mydomain.com always points to me. But telling my server ‘let WordPress handle anything.mydomain.com’ is a slightly different thing. If THAT isn’t set up right, things go astray.

    Did you create a subdomain in cpanel? Did you set THAT up to be wildcard?

    I’m NOT asking about DNS, so please don’t tell me about CNAMEs and A records ?? They don’t matter right now.

    I don’t use a c-panel, I don’t have this on a server, this is on shared hosting environment. Domain DNS has been set properly, I had no issues prior to the 3.3 upgrade. DNS has remained the same the entire time.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You do too have a server. That’s where WP is installed. It’s a SHARED server, but a server non the less ??

    How do you add subdomains to your hosting account?

    The wordpress upgrade and the install itself cannot affect any subdomain records (wildcard or otherwise) on your server. A shared host is still a server – you and hundreds of theirs. ??

    Have you asked your host if they made any changes?

Viewing 15 replies - 16 through 30 (of 51 total)
  • The topic ‘Image path issues and confusion’ is closed to new replies.