ho i forget to say my wp-content/blogs.dir/ is 775
i cannot set 777 because i have a 500 error
Well you gave lots of detail, but not the ones we need. π
What error does the user receive?
Can you give us a link to her blog?
Can you clarify if you’re using 3.0 or if you upgraded from wordpressmu?
My version is a fresh new installation from
http://mu.wordpress.org/download/
2.9.2
and this is what i see when i upload images or any file.
(NSFW) http://www.silverstar-industry.com/error.jpg
thank you very much
You can upgrade WPMU 2.9.2 to WordPress 3.0 with Multisite (IIRC you can just upgrade via the built in upgrade feature).
Can you right click on the broken image icon and grab the path of the image? Verify if it’s there.
Also, verify if the file is created in blogs.dir.
here is a exemple of my file uploaded folder
(right click on image, proprity)
(NSFW) http://xbloggerx.com/files/2010/07/xporn-150×150.jpg
(used the main account)
i have the 3.0 sorry… π
NSFW links, great. π
As noted in another thread, your .htaccess file needs to be correct.
i dont find the other thread… too many tread on this forum lol
my .htaccess of my root folder (xbloggerx.com)
RewriteEngine On
RewriteBase /
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
Thank you for the NSFW warning, Andrea. I work for a corporation who frowns on that stuff π
Are you using Subdomains or Subfolders?
You get a slightly different .htaccess depending on which one
Could someone put the NSFW warning by the links please? Further down the page doesn’t do a whole lot of good. Librarians like their rulers.
thanks
was just getting to it. π
Hi, i use subdomain
sorry for the content posted
if you’re on 3.0, you skipped the step to correct your .htaccess.
# BEGIN WordPress
<IfModule mod_rewrite.c>
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]
</IfModule>
# END WordPress
Ipstenu, if your host suddenly disables mod_rewrite, your WordPress install is going to fail. The IfModule part should be kept separate from the rest. Either way, xbloggerx’s htaccess is fine, with the exception of not having done the following:
1) delete wp-content/blogs.php
2) Change this line in your .htaccess
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
To this:
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
The above changes apply to WordPress 3.0 only.