vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Issue attaching files from local PC (https://vborg.vbsupport.ru/showthread.php?t=189285)

Hades_uk 08-27-2008 05:29 PM

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

Lynne 08-27-2008 06:00 PM

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?

Hades_uk 08-27-2008 06:05 PM

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.......

Videx 08-28-2008 12:26 AM

FYI, unless you have a really small board you shouldn't store attachments in the db.

Dismounted 08-28-2008 07:33 AM

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.

Hades_uk 08-29-2008 12:05 PM

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

Marco van Herwaarden 08-30-2008 06:02 AM

It could be that these need resizing and for this purpose a temporary file is needed.


All times are GMT. The time now is 01:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01081 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete