massayoshi
Member
Posted 10 months ago #
I'm running a multisite blog with 3.1.3 and when I updated to 3.1.4 it broke everything so I had to go back to 3.1.3 but even after undoing what I did, somethings aren't working.
I have several blogs running and you can access them thru mysite.com/blogname/ and there's the "files" folder which is "/blogs.dir/XX/"
in theory, I should be able to just go to /blogname/files/file.jpg to see a file under /blogs.dir/XX/file.jpg but instead it's returning me a 404. And I can't find the error for that. already saved the settings again, took a look at the htaccess.
Can anyone help?
Thanks in advance
Can you share the real URLs?
massayoshi
Member
Posted 10 months ago #
http://www.sneakersbr.com.br/schlaepfer/files/2011/07/darwindeez_01.jpg is blank, not a 404, which is a slightly different error.
http://www.sneakersbr.com.br/wp-includes/ms-files.php?file=2011/07/darwindeez_01.jpg (which is what the above URL parses to) is a 404.
First, make sure you HAVE the wp-includes/ms-files.php file.
massayoshi
Member
Posted 10 months ago #
Hmm I see.
But I just checked and the file is there.
Okay, what's in your .htaccess?
massayoshi
Member
Posted 10 months ago #
Just some basic stuff. Somethings from WP Total Cache and the first lines are from wordpress multisite.
http://pastebin.com/raw.php?i=2uQN8Gky
And I've tried with just the wordpress code and it didn't work.
Unrelated... You should have the WP cache stuff BEFORE the WordPress code. WP's default .htaccess should be at the bottom, for efficiency's sake.
Did you try re-applying the 3.1.4 upgrade? Just in case some files didn't copy up cleanly?
do you have an actual domain.com/files/ folder on the server?
massayoshi
Member
Posted 10 months ago #
To be honest I'm a little afraid of upgrading again.
@Andrea_r no. There is no folder.
massayoshi
Member
Posted 10 months ago #
UPDATE!
Just updated to 3.2, purged all the cache and it's still happening.
Check what versions of PHP you're using, and ask your host if they upgraded anything?
There's no reason this should have changed with WP upgrade.
massayoshi
Member
Posted 10 months ago #
I'm using PHP 5.2.17 and it's been like that for sometime.
in theory, I should be able to just go to /blogname/files/file.jpg to see a file under /blogs.dir/XX/file.jpg but instead it's returning me a 404
Actually, I think we're trying to troubleshoot something that's always worked this way.
In theory, yes - if it were a physical folder you'd be able to see the file tree and work your way down, but ... it's not.
Going to any recent version of multisite to subsite.domain.com/files/ will give a 404.
massayoshi
Member
Posted 10 months ago #
Damn! I really don't know what to do.
massayoshi
Member
Posted 10 months ago #
One funny thing is that when I force to view the source on http://www.sneakersbr.com.br/schlaepfer/files/2011/07/darwindeez_01.jpg
It apparently looks like a image file.
http://pastebin.com/EWqaGgMx
massayoshi
Member
Posted 10 months ago #
Still haven't found a solution. Any other thoughts, guys?
thanks
Buckycat7
Member
Posted 10 months ago #
I'm having the same thing happen to me with my WordPress MultiSite Install. But I'm using domain masking so the URL that the Media library is giving me is domain.com/files/2011/07 which does exist on the sever but if you try to view it from the browser it returns a 404 page. I've even tried going to the direct location for the WordPress domain (http://domain.com/wp-content/blogs.dir/12/files/2011/07/favicon.png) and that returns a 404 page and that's the direct route on the server and all of those folders exist.
So I'm really at a lost. Anyone have any ideas?
Buckycat7 - Make a NEW topic for yourself please.