MyBB Community Forums

Full Version: File Upload Failed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My Forums: https://www.thepcboard.com

Currently I'm unable to upload any file to MyBB forums, this includes attachments and avatars. I've exhausted pretty much every thread in reference to my problem and haven't found a solution. The error I'm receiving.

My CHMOD settings have been manually reset with filezilla to make sure they directories are writable (they were writable before doing this but I decided to try anyway). You can view MyBB CHMOD settings here.

This thread here https://community.mybb.com/thread-141898...pid1019713 suggested I do the upload test file they provided which surprisingly worked, I put it in my root directory (uploadtest.php) ran it and the file successfully uploaded to my root directory. You can view an image of the successful upload here. I don't understand how that uploadtest file can successfully upload a file but MyBB Forums cannot.

Threads I've read and followed instructions for:
https://community.mybb.com/thread-177047.html
https://community.mybb.com/thread-141898.html
https://community.mybb.com/thread-58001-page-2.html
And a few others that weren't providing helpful information.

Additional Details:
I've deactivated all my plugins and attempted uploads, same results, I'm running XAMPP on localhost, my php.ini file details under File Uploads:

file_uploads=On
upload_tmp_dir="C:\xampp\tmp"
upload_max_filesize=2M
max_file_uploads=20

MyBB, PHP Versions and SQL Info: here.
the error states that it is not a valid file. In ACP you can choose to allow different filetypes, etc. Is that filetype that you are trying to upload authorized?
The file is completely valid. It is a 7kb png file. Under attachment options, png files are confirmed to be enabled. The file is below the 25kb file size limit and 100x100 pixel image size limit for avatars as well.

UPDATE: It turns out the file my friend was trying to upload as a profile picture doesn't work at all on my forums, neither does it work at all on these as well, I cannot even attatch it as a attachment here for whatever reason