The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Upload of file failed.
THIS IS POSTED AT vBulletin.com, and I have a support ticket opened, but the problem is illusive.. Any help or guidance is GREATLY appreciated!, thank you, jessej.
------------------------------------------------------------------------------------------------------------------ Many of my moderators (and now me too) have been getting this error, "Upload of file failed" when trying to upload files. These people were able to upload files before. Some are large files and some are small. Over the last few months this problem went from one mod to 2, now to all. All of the user group options are correct. I use the file system, and place the files in a file on my server. This has worked fine for a while also in the past. I have recently switched to a dedicated server, but this problem started on the shared server several weeks ago. I went to the forums and searched and found this thread; http://www.vbulletin.com/forum/showt...load+file+fail ed I am hoping I can get the same analysis from you all on my system. I did enable phpinfo, and ran the upload diagnostics, and all showed ok. I changed the "upload max file size" from 2mb to 8mb on the server. I have made certain that attachment (file system file for attachments) is set to chmod777. The comments from moderators when trying to upload files are; "Well I tried again this morning...no go. Now instead of "upload failed" or "invalid file" it says what I posted yesterday..."not a post valid link, notify the administrator". vBulletin Message Invalid Post specified. If you followed a valid link, please notify the administrator Upload of file failed. " --------------------------- I have a support ticket opened on this. Any help is really appreciated. I'm wondering if it can be something to do with using a file to store the attachments. Maybe I should change it to the database. Is this recommended to try, would it hurt anything to try it? It moves the files to the database and thats it, right? also another thought, could it be any of the hacks i installed. i suppose i could disable them one by one and check that too. hacks installed are; ibproarcade for vBulletin - version 2.6.5 members who have visited - vers 4.4.3 members who are using flashchat - version 4.4.6 flashchat integration - version 3.55 active link security hack - vers 5.2 marquee system - vers 1.0.5 Thanks again for any light you can shed on this problem.. |
#2
|
||||
|
||||
Did you make sure that all the folders within the attachment's folder are also chmodded to 777?
|
#3
|
|||
|
|||
The sub folders of the main attachment folder does not need to be 777, only the attachment main directory needs the 777 permissions.
I would suggest that you have your server admin investigate this matter and check the apache logs. |
#4
|
|||
|
|||
Sub folders also need to be writable to the webserver (this will mostly mean world-writable, ie. 777).
|
#5
|
|||
|
|||
sub folders will automatically be given the correct permissions once vbulletin/apache adds a sub folder to the main attachment dir.
there is no need to modify the permissions of the sub folders as long as they are already there, that would indicate that the main folder already has 777 access if it wrote a sub folder. |
#6
|
|||
|
|||
1- did you check if you overpass your hosting limit of storage?
2- is your php upload limit is higher than the files uploaded? 3- did you check if your host did not change the PHP permissions in specific situations? (some hosts disable chmod) |
#7
|
|||
|
|||
chmod777 on all folders. and not being sure i went in and did the chmod777 on all sub folders too. although you make a good point that the subs wouldnt write if the main wasnt 777.. but this was checked. i did change the upload max file size to 8mb .. it was at 2mb. what else? this one has us all perplexed. will check back in a bit, and thanks alof ro the replies. maybe we can crack this think wide open lol. thanks.
|
#8
|
||||
|
||||
Quote:
|
#9
|
|||
|
|||
Quote:
|
#10
|
|||
|
|||
I have the same problem. vBulltein 4.0.2 PL1, fresh copy, not upgrade.
Here are my PHP settings from the Diagnostic tool : file_uploads: On open_basedir: None safe_mode: Off upload_tmp_dir: None upload_max_filesize: 40.00 MB Response : "No errors occurred while opening the uploaded file for reading." But i still get the stupid red icon when i try to upload files from my computer. If i upload files by URL it works just fine. I do not understand. --------------- Added [DATE]1267207298[/DATE] at [TIME]1267207298[/TIME] --------------- Found a solution for my problem. I have disabled all Ajax features and now at least my Attachments manager works. Admin Panel -> Settings -> Options -> General Settings -> Disable AJAX Features Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|