[closed] Upgraded to 3.0 all Images gone from front page (31 posts)

  1. Tigers X
    Posted 6 years ago #

    Hey Folks,

    I just upgraded to 3.0 and now all my images on the front page are red X's. If I open up the story the picture is a red X inside as well.

    I deactivated all plug-ins still no picture

    I switched themes still no pictures.

    It was working fine this am until I upgraded to 3.0.


    Site: http://www.tigersx.com

  2. sandists
    Posted 6 years ago #

    I'm having the same problem - help where did all of my images go, except mine are gone from every page, not just the front page.

  3. spacebrew
    Posted 6 years ago #

    Did you change the name of your directory? Looking at your page source, I noticed your classes look a little odd and the image won't pull up on its own:


  4. Tigers X
    Posted 6 years ago #

    I noticed as well I did not change the directory, and if I look in the FTP all the images are there.

  5. sandists
    Posted 6 years ago #

    I'm following this thread, as I am having the same problem. Put my mouse over one of the images that's missing, and checked my ftp site - image is there as well.

  6. memitch08
    Posted 6 years ago #

    Some other folks are following this in another thread.


    Do you have a multi-site install or single-site?

    All of mine are multi-site, and for some reasons blogs.dir/1/files is not accessible. Everything else in the blogs.dir directory is - but the word "files" makes the url path to the image end in a 404?

  7. Tigers X
    Posted 6 years ago #

    I don't have WPMU mine is a single site install. I got no directions to delete anything or change the .htaccess

  8. memitch08
    Posted 6 years ago #

    @ Ipstenu -


    Here's what I got:

    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]

    It hasn't helped.

  9. Tigers X - Your install is in http://www.tigersx.com/Wordpress/ - Unix Servers are case sensitive.

    This works: http://www.tigersx.com/Wordpress/wp-content/uploads/aubaseball2-150x126.png

    THIS does not: http://www.tigersx.com/WordPress/wp-content/uploads/aubaseball2-150x126.png

    I bet anything the 'fix' they put in correct the capital P in WordPress is screwing you up! Damn! capital_P_dangit()

    Well. A quick fix is this:
    Go into your site settings and change WordPress to WordPress. Then rename the WordPress folder to WordPress.

    That should do it.

    I'm going to open a trac ticket for you.

  10. memitch08 - You should be pointing your images to http://yoursite.com/files/(image) and that will magically redirect.

  11. memitch08
    Posted 6 years ago #

    The magic didn't happen? :(

    If I put the file in the blogs.dir directory without any subdirectories then the file is accessible.

    See here: http://hanover4square.org/wp-content/blogs.dir/4sqlogo.jpg

    It is still fine here: http://hanover4square.org/wp-content/blogs.dir/1/4sqlogo.jpg

    But if I move the same file to the files sub-directory within blogs.dir it is not accessible?

    See here: http://hanover4square.org/wp-content/blogs.dir/1/files/4sqlogo.jpg

    But if I create a sub-directory called file1 the file is accessible?

    See here: http://hanover4square.org/wp-content/blogs.dir/1/file1/4sqlogo.jpg

    To magically redirect it would be:
    http://hanover4square.org/files/4sqlogo.jpg (?)


    http://hanover4square.org/files/2010/06/4sqlogo.jpg (?)

    Neither worked?

  12. Sean Fisher
    Posted 6 years ago #

    In 3.0, a new hook was introduced to make 'WordPress' become 'WordPress'.

    Try out this plugin:


  13. memitch08
    Posted 6 years ago #

    sean212 - is this supposed to fix the image path problem? Because I don't think it does?

  14. Tigers X
    Posted 6 years ago #

    Ipstenu: That is exactly what it was I did not even catch that. I changed the P and everything seems to be working...thanks so much!

  15. memitch08 - DON'T MOVE THE FILES.

    They're SUPPOSED to be in blogs.dir, leave 'em there!

    Your file should be here: http://hanover4square.org/wp-content/blogs.dir/1/files/4sqlogo.jpg

    BUT when you point to it via wordpress, it looks like this: http://hanover4square.org/files/4sqlogo.jpg

    This line in your .htaccess is what does the magic:

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    Now. That it's not working for you is strange :) Check your .htaccess for anything else. Do you have other re-directs in? Do you have other .htaccess files? Other redirection plugins? Also, since your issue is NOT the same as Tigers X, you may want to make a new topic :)

  16. memitch08
    Posted 6 years ago #

    Thanks Ipstenu.

    The problem is with the word/directory "files"

    No other re-writes. Still doesn't work - even after disabling all plugins.

    I did start a thread with the topic - but only to have it hi-jacked by someone with a blank-screen problem. That was the only person who would bite!

  17. Does this happen with ANY folder named files?

    Make a new folder: /wp-content/files/ and see if you can get there. Or even just /files/.

    If THAT'S the issue, I wonder if it's mod_security being a pill...

  18. memitch08
    Posted 6 years ago #

    Yeah -

    It's just as you suspected - see here:




    Both return the 404 page.

  19. Okay. You can change your file location.

    Go to Super Admin -> Sites and click on 'edit' for your sites.

    You'll want to chang Fileupload Url and Upload Url Path

    The problem is that you want to change this too:

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    And I think either we're at the point where it's an .htaccess conflict OR a mod_security issue.

    What do your error logs say?

  20. memitch08
    Posted 6 years ago #

    Nothing in the error logs -

    I changed the word "files" to "uploads" and now everything is accessible. I also changed the Fileupload Url and Upload Url Path as well as the the .htaccess - all instances of "files" to "uploads".

    This seems to make the files accessible.

  21. Considering the rewrite rules use the word "files" then yes, having them in a physical folder called files was probably the issue.

  22. memitch08
    Posted 6 years ago #

    Thanks Everybody!

  23. ButterflyHerder
    Posted 6 years ago #

    My whole front page disappeared! This morning, when we typed in our domain name, it suddenly started pulling up a thank-you page that I created after updating WordPress yesterday. I haven't been able to get the home page to show up at all today.

    Then, when I completely deleted the thank-you page, it started pulling up a blog post from May, 2008 (!?!?)

    Is it possible to revert BACK to the older version of WordPress?? This site gets tons of traffic -- and I can't afford for my client to be inaccessible to his buyers.

    Any advice?

  24. memitch08
    Posted 6 years ago #

    Andrea - so wouldn't changing all of the words "files" to "uploads" like I did give me the same issue?

  25. @butterflyhearder can you start a new topic, since your problem is different?

  26. ButterflyHerder
    Posted 6 years ago #

    oops... sorry... it seemed related. :)

  27. superclydesdale
    Posted 6 years ago #

    What incredible butthead made the change in 3.0 to automatically re-write "WordPress" to "WordPress"?

    To have it make this change automatically without consideration for the implications is absurd. Its selfish and shortsighted to say the least. It means that I will probably never upgrade WordPress again until absolutely forced to. I cannot afford to spend three hours on something as foolish as this.

    Why would this not be in a FAQ or a Readme? Are WordPress developers professional programmers or hacks?

    For everyone else who spent hours and hours finding this out, and want to fix your site after upgrading to 3.0, just download the plugin called "Remove WordPress to WordPress filter" and you'll be back to normal.

  28. Palanthir
    Posted 5 years ago #

    Seems media uploader uploads files correctly to any folder you want, but there is something wrong with some php files . Maybe functions.php ? I don't know why, when you are in subfolder blog admin panel in media tab , all thumbs are broken and the url file looks like http://www.domain.com/mainblog/blogno2/files/image.jpg and should looks like http://www.domain.com/mainblog/wp-content/uploads or eventually http://www.domain.com/mainblog/wp-content/blogs.dir/%BLOG_ID%/files/ or http://www.domain.com/mainblog/wp-content/blogs.dir//$blog_id/files

    I know everywhere write I should install WP MU in root directory. But what if it isn't possible and I just have to install WP MU in subdirectory? Which files should be edited and corrected?

    Maybe in wp-config.php should I paste something like this?
    define( 'UPLOADBLOGSDIR', $blog_id.'/files/' );

  29. Md Mahmudur Rahman
    Posted 5 years ago #

    You can check this link:


    It might help!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.