Did you upgrade from WPMU? There’s a lot out of date there…
There are now different .htaccess’ to use, if you’re using SubFolder or SubDomain installs http://codex.wordpress.org/Create_A_Network#.htaccess_and_Mod_Rewrite
Yes it was from WPMU 2.8 but everything was ok at 3.0.1 but once it went to 3.0.3 they broke. I also had some server issues that corrupted some of my database. I think I have everything in the database repaired but still not sure if it is a database or a .htaccess issue.
I am also using subfolders
http://blogs.wws.k12.in.us
the blogs in the are all effected.
everything was ok at 3.0.1 but once it went to 3.0.3 they broke
This would be the kicker here. The rewrite rules should not have been affected. :-/
I’d be double-checking those db issues to see if anything affecting images was related to it first.
Since the .htaccess is a brainless fix I’d start with this:
# BEGIN WordPress
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).*) $1 [L]
RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
# END WordPress
<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
I mean, I doubt it’ll fix it, but it WILL be somewhat more efficient, and then you can narrow it all down.
Thanks Ipstenu you were right nothing really changed. Are there specific tables or records I should be looking at in the database.
Something also weird is that pdf files that are uploaded to media are showing up and so are powerpoints.
Does anyone know Why Power Points and PDF’s would work but not images?
Interesting. I get a blank page and NOT a 404.
Can you verify that /wp-includes/ms-files.php exists?
I have the same problem with the image-upload since i updated to 3.0.3. An example is: http://bloggat.me/?attachment_id=245 all the images will now be shown as that. Why? And what should i do?
Just looked for it and yes it is in there.
Iwese yeah looks like the exact same issue. too strange.
I just wanted to add that ive tested everything that you said above.
Just wanted to tell that i solved a problem, i diabled all the pugins and it was evDbFiles that made it go weird.