MyBB Community Forums

Full Version: cant add files..
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey , when im trying (me as a admin or any other user at my forum )
to add file , after i press " add attachment" its just doing refresh and doesnt add the file..
how can i fix that ?
Are you trying to upload a big file?
How big is the file? You may be hitting your PHP's max file upload limit.

If it's 2MB or larger, this is probably the case. If so, you can use the follow as a reference to help you: http://drupal.org/node/97193
ZiNgA BuRgA Wrote:How big is the file? You may be hitting your PHP's max file upload limit.

If it's 2MB or larger, this is probably the case. If so, you can use the follow as a reference to help you: http://drupal.org/node/97193

The file i tried to upload is less than 2MB.
Try going to AdminCP -> Maintenance -> View PHP Info.
On the page, do a search for file_uploads, upload_max_filesize and post_max_size - what are the values of each of them?
Also, what is the size of the attachment you're trying to upload?
upload_max_filesize 10M 10M
file_uploads On On
post_max_size 8M 8M
it doesnt matter what size is the file even when its less than 1MB ,
in addition, it gives me an error which says (im translating from hebrew):"file upload failed, please choose a file, error details: error occur in uploading the file to his destiny "
ok ive changed the chmods of the "upload" directory and the "avatars" directory from 755 to 777, and now its all fixed, is there a problem with what ive done ?
regards,
ImMortaL.
imiviortal Wrote:ok ive changed the chmods of the "upload" directory and the "avatars" directory from 755 to 777, and now its all fixed, is there a problem with what ive done ?
regards,
ImMortaL.
As part of the installation instructions, yes, the /uploads and /uploads/avatars directories should be CHMOD'd to 0777.
thanks