Recently I installed the WordPress “Yet Another Photoblog” (YAPB) plugin to use on my up-and-coming photoblog. I had heard a lot about it all over the web, and I figured that if it was so popular, I might as well give it a try.
The Problem
Everything went well with YAPB until I decided to upload my first photo to my blog. I created a new post, added a title, image, and description, and pressed submit. Then I waited. And waited. And waited. After quite a while, the web page decided to load for me and it spewed a rather cryptic error that went along the lines of “Warning: unlink() [function.unlink]: No such file or directory”. Below that it simply said “Error: file does not exist!” My super-geeky brain didn’t seem to be working well that day, so I couldn’t seem to decipher the error until I turned to my extra-super-geeky friend Google and asked him what I should do.
A quick search showed that many other people seemed to be having the same problem, and when I searched a bit deeper, I managed to trace the solution.
The Solution
It’s quite simple, really:
- Login to your WordPress admin area.
- Navigate to Settings > Miscellaneous.
- In the Store uploads in this folder text box, enter “wp-content/uploads”.
- Click the Save Changes button.
That’s it! For some reason, when WordPress says that the default upload folder is wp-content/uploads, it’s really lying. Either that, or YAPB is holding a knife to its back and making it lie. Either way, the above steps should solve your problem once and for all. You can now upload photos to your photoblog happily ever after.
Let me know in the comments if this solution works for you!




June 14, 2010 in 









Thanks a lot for this suggestion, you solved my problem and made my day
BTW: I’m running WP 3.0 + Yapb 1.9.24 + Grain 0.3
Cheers
Fabio
Glad to help! I figured this out on WordPress 2.9, but I’m glad to know it works on 3.0.
I was having this problem and it was driving me mad trying to figure out what was wrong, thanks so much for the help!
No problem Mike! It happens to me all the time – I spend a couple whole hours trying to fix a tiny bug, and when I eventually figure it out, I want to smack myself upside the head for not finding the answer it earlier.
Thanks mate, I was looking for this for the last 2 hours…
Thanks a lot.. I spent two days trying to fix this “problem” and your fix did it in 5 minutes!
-joe
Wonderfull! Had this problem a lot, always worked arround it but this is a really simple solution
photoblogs are cool and i maintain at least two of them’:`
Hi,
I have the same problem, but it does not seems to get working for me,
Ive updated my upload folder as described above and now the files seems to be uploaded to the server fine.
But still the image frame just shows with a big orange screen saying the photo is not available.
Any suggestions?
actually, the best type of blog is the photoblog because pictures speak a thousand words :
Hi there,
I just installed wordpress and yapb and got the same problem. When I try to correct it like above however it does not helt. Instead of the error file does not exist error my page just gets published without the picture and when i enter the post again it looks like i never uploaded a picture. Any clue on how to fix this?
Thanks, it solved my problem!
thanks a million
I just installed WordPress 3.1 + YAPB + Reflections + Watermark plugin thing and this fixed my problem! Many, many thanks!
Does anybody know how to upload pics with the yapd plugin?