adaptiman
Member
Posted 17 years ago #
I'm having trouble getting my uploads to work. I'm using the nightly 2-12 build on RedHat ES. When I try to upload a file (such as a graphic), I get the following error:
Unable to create directory /var/www/vhosts/test.com/httpdocs/wp-content/blogs.dir/1/files/. Is its parent directory writable by the server?
I've searched the forums and tried:
1. permission settings
2. chowning to apache
3. Checking safe mode (it's off)
4. tried itdamagers htaccess settings
All of these suggestions have failed. Any other suggestions?
adaptiman
Member
Posted 17 years ago #
Followup Post:
I removed my blogs.dir directory and tried to upload again. WPMU RE-CREATED the blogs.dir but then gave me the error noted above.
Perhaps it's a permalink isssue or htaccess.
I hate to be rude but do you see the question that it's asking you:
Is its parent directory writable by the server?
Is blogs.dir set to 777? You're probably running PHP in safe mode and it's set to 755 instead. That makes it unwritable by the webserver.
Hope this helps,
-drmike
adaptiman
Member
Posted 17 years ago #
you're forgiven. I've tried the Following solutions:
chmod 777
Chown apache
various htaccess solutions
PHP is not in safe mode
any other ideas?
Does the webserver run as apache or nobody? It shouldn't matter, especially since the directory is 777 but right off it's the only thing that comes to mind.
adaptiman
Member
Posted 17 years ago #
I reran the installation from scratch and the uploads are working now. Still don't know what caused it but this problem is solved.