The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Issue attaching files from local PC
Hi people,
Hoping for a bit of friendly guidance of where to look for the problem. Basically our server had an outage recently and after coming back no-one can attach files via the normal method from their local PC. Attaching a file from an external link works fine. I ran the DIAGS for Upload and got the following:- Pertinent PHP Settings file_uploads: On open_basedir: None safe_mode: Off upload_tmp_dir: None upload_max_filesize: 200.00 MB Results No file uploaded and no local file found. The test cannot continue. Anyone got any ideas on what could have changed? Thanks in advance guys. Hades |
#2
|
||||
|
||||
I'm guessing it has something to do with the upload_tmp_dir. Do you have access to your server to set up a /tmp directory?
|
#3
|
|||
|
|||
Attachments are all stored in the database....
I wasn't aware there was a tmp directory for file uploads? Any ideas where this is, as I do have full server access? Hades Ok I found the TMP directory for the webserver.... Was this what you meant? We do have one and it's got a few really big files in there....... |
#4
|
||||
|
||||
FYI, unless you have a really small board you shouldn't store attachments in the db.
|
#5
|
||||
|
||||
In PHP, you can specify a different directory to temporarily store files in the process of being uploaded. This is controlled by upload_tmp_dir. If the value is empty, then PHP will default to the normal temp directory.
|
#6
|
|||
|
|||
Thanks for the responses people.
After alot more research it is apparent the only type of file attachment people can't upload is JPG attachments. Everything else seems to work fine. txt, gif, doc etc etc etc all upload fine. JPG is definately allowed in the attachment manager. Anything else I should check? Hades |
#7
|
|||
|
|||
It could be that these need resizing and for this purpose a temporary file is needed.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|