MyBB Community Forums

Full Version: attachments
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I have been unable to upload attatchments scince Installing PR2.

I originally got the following message below the header in mybb.

Quote:Error Attaching File
The file upload failed. Please choose a valid file and try again.

I decided to update MyBB to PR2 rev 686 and replaced all my files with the exception of inc/settings.php and inc/config.php

Now when trying to post an attatchment I still get the above message with the following code appearing at the top of the page.
Warning: move_uploaded_file(/post_1_1126108446.attach): failed to open stream: Permission denied in /files/home3/atc1606/forum/inc/functions_upload.php on line 228

Warning: move_uploaded_file(): Unable to move '/tmp/php8h9lW1' to '/post_1_1126108446.attach' in /files/home3/atc1606/forum/inc/functions_upload.php on line 228


I have checked the CHMOD settings for the uploads and uploads/avatars folders and they are set to 666 I have also tried 777

[edit] when installing PR2 all existing attachments were transfered to the uploads folder OK.
folders must be set at 777
Thanks all fixed now.

squall_leonhart69r Wrote:folders must be set at 777

The install instructions state 666