vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Upload file size problem! (https://vborg.vbsupport.ru/showthread.php?t=188419)

carmichael1973 08-18-2008 02:28 AM

Upload file size problem!
 
1 Attachment(s)
Ok I have something very strange happening! I cannot upload any zip files in the forums. I've checked the attachement settings in ADMINCP (set to 20000), group permissions, and used diagnostics> upload with no issues. Also I have VBPORTAL installed and I can upload zip files to any part of it just fine.

When using the MANAGE ATTACHMENTS option in the post, it shows max file size 19.5 KB for ZIP file (see attachment). When I try to add a ZIP file I get an error "Thumbnail creation failed due to your image library not having support for this image type" (see attachment).

Anyone have a clue on this?

Spank 08-18-2008 02:32 AM

Have you upped the limit in the Attachment manager in the ACP?

carmichael1973 08-18-2008 02:39 AM

Quote:

Originally Posted by Spank (Post 1601132)
Have you upped the limit in the Attachment manager in the ACP?

Yep, it is set to 20000 KB for ZIP extension.

carmichael1973 08-18-2008 02:42 AM

1 Attachment(s)
Here is a shot of my Attachment Manager

Bilderback 08-18-2008 02:55 AM

Add another zero as I believe the attachment manager reads in bytes.
20000 = 19.53125KB hence your 19.5KB error

1MB = 1024KB or 1048576 bytes as would be put in the attachments.

Feel free to utilize my convertor to make things easier at
http://www.dudditz.com/webtools/byte-convertor

How large are you wanting for .zip attachments?
Just remember to add the bytes in the attachment manager(not KB).

Bilderback 08-18-2008 03:10 AM

1 Attachment(s)
Sorry for the double post- saw Carmichael in forum and needed to bypass cache.
I didnt entirely read you original post but you may also check your zip attachment by
viewing the attachment manager and clicking on Edit for the zip extension.
Make sure that 'Display thumbnail for this type' is set to No

carmichael1973 08-18-2008 09:00 PM

1 Attachment(s)
Quote:

Originally Posted by Bilderback (Post 1601146)
Add another zero as I believe the attachment manager reads in bytes.
20000 = 19.53125KB hence your 19.5KB error

1MB = 1024KB or 1048576 bytes as would be put in the attachments.

Feel free to utilize my convertor to make things easier at
http://www.scriptasm.com/webtools/converters

How large are you wanting for .zip attachments?
Just remember to add the bytes in the attachment manager(not KB).

OK I must have been completely out of it! For some reason I kept thinking KB instead of bytes. Thanks for pointing out the obvious and proving once again that even the best of us can have streaks of ignorance.

Problem solved and thanks once again!


All times are GMT. The time now is 05:37 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.00964 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_quote_printable
  • (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