|
2007-02-25, 06:25 PM | #1 |
Wheither you think you can or you think you can't, Your right.
|
Wordpress - Can't upload images
Thought I was getting the hang of wordpress but ran into a snag. I found out I can't upload images. I get the following error:
Unable to create directory /path/to/blog/wp-content/uploads/2007/02. Is its parent directory writable by the server? I noticed there is no uploads directory. I am guessing wordpress was suppose to create that directory when I installed wordpress? Of course I can create the uploads directory by hand, but then I have to chmod to 777 for image upload to work. Sure don't want to run that way. I talked to a friend and their content dir is 755, my MT blogs are the same way. 755 won't work, keep getting the error. Even the wordpress site says to have permissions set to 777 for the content directory. Not real safe to me. Any thoughts or reasons? I am stuck on this one. Thanks in advance. |
2007-02-25, 06:50 PM | #2 |
Oh no, I'm sweating like Roger Ebert
|
Since I originally grew up with an antiquated system, bBlog, I got used to hand coding everything before hand and FTPing my images to my server. When I moved to WP, that was the one thing I pretty much kept.
So I am of absolutely no help!!!! I suppose you could FTP your images to the proper folder and then access them from WP when you post. |
2007-02-25, 07:32 PM | #3 |
Wheither you think you can or you think you can't, Your right.
|
Wow, I am shocked! lol
Ya that is an option, but guess for me defeats the purpose, blogging software making it easier and quicker, almost point and click. I'm thinking it would add more time to the process. I will keep searching, might even hit up the host, seems like it "might" be something on the hosting end. Ownership and all that. |
2007-02-25, 07:56 PM | #4 |
You can now put whatever you want in this space :)
|
Hey Ronnie I've had the same problem in the past and ended up making the directory and CHMODing it to 777
__________________
How To Keep An Asshole In Suspense
I'll Tell You Later |
2007-02-25, 08:11 PM | #5 | |
Wheither you think you can or you think you can't, Your right.
|
Quote:
Thanks for the input, and VERY good to see you back and posting.. I just want to get posting on the new blogs!! lol Last edited by ronnie; 2007-02-25 at 08:14 PM.. |
|
2007-02-25, 08:25 PM | #6 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
Wordpress is rather solidly written and does have a few security issues from time to time, but, you're pretty safe chmodding the uploads directory to allow web uploads.
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
2007-02-25, 11:13 PM | #7 |
A woman is like beer. They look good, they smell good, and you'd step over your own mother just to get one!
Join Date: Jul 2004
Location: Atlanta, Ga.
Posts: 55
|
Wordpress does NOT create that directory for you, mainly because everyone uses different directories for their upload bin (you can set what you want in the admin)
easiest thing to do is just create directory yourself and chmod to 777
__________________
That Blog Guy |
2007-02-26, 05:30 PM | #8 |
Wheither you think you can or you think you can't, Your right.
|
|
2007-02-26, 05:34 PM | #9 | |
Wheither you think you can or you think you can't, Your right.
|
Quote:
Thank you every one for the input and replies, greatly appreciated! |
|
2007-02-26, 07:58 PM | #10 |
old enough to be Grandma Scrotum
|
Um, I'm like Walrus, I upload my images to a separate file with ftp and just point the image code at them. Mainly because I didn't know wordpress could do stuff with pics. Because I didn't really read the instructions that carefully.
So... uh... can someone point me towards the info for this easy uploady way to include images?
__________________
Promote Bright Desire |
2007-02-27, 06:12 PM | #11 |
Wheither you think you can or you think you can't, Your right.
|
I have always used the blog to upload and insert my pictures, though I use movable type in the past. But with Wordpress, just create a direcory called "uploads" in the content directory and chmod it 777(something I just learned). Under the post area, there is an area to upload pictures and insert the image into your post. I believe it will make thumbs, but I just use smaller images anyways.
I just find the picture I want, save it to my hard drive, go into wordpress insert image and write post. Think it's less time that doing it by hand. Course thats just my opinion. |
2007-02-27, 09:17 PM | #12 |
old enough to be Grandma Scrotum
|
Is this area to upload images in the wysiwyg post format? I can't see anything but then I use the simplified post format. Maybe I should switch back and see. They might have improved the wysiwyg thing since I last tried it.
__________________
Promote Bright Desire |
2007-02-27, 09:32 PM | #13 |
Wheither you think you can or you think you can't, Your right.
|
Ya as far as I know it's in the WYSIWYG area, right below the post box. I am still learning WP so I never used simplified post format, least that I know of. I like the WYSIWYG myself, faster, least seems like it.
|
2007-03-01, 08:55 PM | #14 |
Rock stars ... is there anything they don't know?
|
hey ronnie,
could you explain how to do this new directory and do the cmod? i'm having a similar problem. thanks! |
2007-03-01, 10:34 PM | #15 |
Wheither you think you can or you think you can't, Your right.
|
All you need is an ftp program. I can't give you exact steps, as I don't know if you use the same ftp program. Log-in to your site with your ftp program. Go to your wp-content folder, then create a new directory/folder called "uploads" within that folder. I use cute ftp and I just need to right click, create new folder/directory. After the uploads folder is created, I just right click on that folder and go to permissions, set the folder to 777. And thats it. Does that help?
|
2007-03-03, 01:51 AM | #16 |
Rock stars ... is there anything they don't know?
|
Thanks ronnie, that helps greatly! Your last post filled in some of the missing steps, and I got it done without a problem! I appreciate your help, it works great now
|
2007-03-04, 03:32 PM | #17 |
Just because I don't care doesn't mean I don't understand!
Join Date: Feb 2007
Posts: 98
|
Might be a bit safer if you pick your own upload category and not the default one, you can change the directory in your admin under Options> Misc
In theory you should be safe with 777 because there are no 'vulnerable' files/script in those directories... Also Wordpress says the whole wp-content directory ought to be 777
__________________
Contact me for Hardlink trades [ICQ: 368919539] |
2007-03-04, 05:33 PM | #18 | |
Wheither you think you can or you think you can't, Your right.
|
Quote:
|
|
2007-03-07, 03:23 PM | #19 |
Aw, Dad, you've done a lot of great things, but you're a very old man, and old people are useless
|
Btw, what's the downside of chmod777?
I have a weak knowledge of server-stuff, and I cannot think of all the things/exploits/hacks that I could experience in case of setting the dir to 777.. |
2007-03-08, 01:14 PM | #20 |
Just because I don't care doesn't mean I don't understand!
Join Date: Feb 2007
Posts: 98
|
The downside is that the public got the same acces as the administrator so they can do whatever they want with your files without having to log in with admin, provided they have a exploitable script on your server, downside is that the script only has to have public access...
__________________
Contact me for Hardlink trades [ICQ: 368919539] |
2007-03-09, 12:35 PM | #21 |
Wheither you think you can or you think you can't, Your right.
|
But the uploads directory should only have images, so not really anything to "run" or abuse. That is the only directory I made 777. If my thinking is correct. Maybe cd34 can verify.
|
2007-03-09, 04:01 PM | #22 |
Just because I don't care doesn't mean I don't understand!
Join Date: Feb 2007
Posts: 98
|
It probably shouldn't be able to harm you no, thats why Wordpress admin's confirmed that the upload directory ought to be 777, but 777 is always a bit more dangerous, you can't go around that...
__________________
Contact me for Hardlink trades [ICQ: 368919539] |
|
|