MyBB Community Forums

Full Version: Doesn't upload file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Quote:The file upload failed. Please choose a valid file and try again. Error details: The attachment could not be found on the server.

Files type allow on site

.bmp image/bmp 1 MB
.gif image/gif 1 MB
.jpeg image/jpeg 1 MB
.jpg image/jpeg 1 MB
.png image/png 1 MB
.rar application/rar 50 MB
.swf application/x-shockwave-flash 10 MB
.zip application/zip

I'm using linux server, thank you very much.
Okay, and what type of file are you trying to upload then?
jpeg, zip, rar, jpg

Thank you!
make sure you upload file is writable and make sure the attachments setting are correct as well.
Yes, all directory is 777 but can't Sad
I found a similar problem when I migrated my forums to a new server. Attachments seem to go into subfolders in the Upload folder and they need the permissions setting too.
Quote:The file upload failed. Please choose a valid file and try again. Error details: The attachment could not be found on the server.

Sad Sad Sad

Problem Sad

I has create new fordel with name tailen => it's ok
So, change to uploads => error
I had exactly this problem at the weekend. The files weren't being found because MyBB didn't have permission to write to the correct folder and as I described above, it isn't just the Uploads folder. Once I fixed it, the attachments worked fine.
Thank SteelD very much

I think it's bug Undecided
Yes, i'm using private linux server, i found how to fix it.

Exam:

chown apache.apache YOUR_FOLDER -R

Next, need CHMOD 777 for this YOUR_FOLDER

chmod 777 YOUR_FOLDER

Note: YOUR_FOLDER is uploads