Upload problems on WordPress Mulitsite 3.0
-
Hi folks,
I get this error when I try to upload some files to one of my multisite-blogs.
Warning: realpath() [function.realpath]: Unable to access /my/site/dir/wp-admin/wp-content/blogs.dir/2/files in /my/site/dir/wp-includes/functions.php on line 2058 Ablehnen "file.jpg" konnte wegen eines Fehlers nicht hochgeladen werden Das Verzeichnis /my/site/dir/wp-content/blogs.dir/2/files/2010/07 kann nicht angelegt werden. Ist das übergeordnete Verzeichnis durch den Server beschreibbar?
In English:
Could not upload "file.jpg" because an error occurred. Could not create directory /my/site/dir/wp-content/blogs.dir/2/files/2010/07. Check if the directory is writeable.
I changed the blogs.dir to 777, but the same error.
When I tried to create the dirs manually, I got this error:
Warning: realpath() [function.realpath]: Unable to access /my/site/dir/wp-admin/wp-content/blogs.dir/2/files in /my/site/dir/wp-includes/functions.php on line 2058 Warning: realpath() [function.realpath]: Unable to access /my/site/dir/wp-admin/wp-content/blogs.dir/2/files in /my/site/dir/wp-includes/functions.php on line 2058 Warning: realpath() [function.realpath]: Unable to access /my/site/dir/wp-admin/wp-content/blogs.dir/2/files in /my/site/dir/wp-includes/functions.php on line 2058 16
I’m using wp3.0 with domain mapping plugin. My .htaccess file is looks like this:
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^(.*/)?files/(.*) wp-includes/ms-filess.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]
Anyone any idea?
Thx!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Upload problems on WordPress Mulitsite 3.0’ is closed to new replies.