mybb forum upload problem

Quick blog entry regarding a technical problem I encountered with the mybb forum software. I’ve written it to help others who run into the same problem. So unless you’ve found this post via a search engine as your suffering the same problem, then please don’t bother to read this entry and skip to one of the other blog posts here instead.

Error messages when trying to upload a file using the mybb forum sotware:

“There was a problem moving the uploaded file to its destination.”

“The file upload failed. Please choose a valid file and try again. Error details: The attachment could not be found on the server.”

Solutions:

First of all make sure you’ve made the ‘uploads’ directory writable. If not do that and try again. Hopefully that solves your problem.

I already had a writable upload directory, but this is what worked for me.

1) Backup all the contents from the ‘uploads’ directory.

2) Delete the ‘uploads’ directory.

3) Create a new ‘uploads’ directory and chmod writable. Try either 777, 757 or 775. Two of these didn’t work for me and created the same error message later and I had to start from step 1 again.

4) Try an upload and if it works reupload the files you had in the original ‘uploads’ directory.

Hopefully this solutions works for you.