Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 08-18-2008, 02:28 AM
carmichael1973's Avatar
carmichael1973 carmichael1973 is offline
 
Join Date: Aug 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Upload file size problem!

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?
Attached Images
File Type: jpg uploadserror.jpg (42.6 KB, 0 views)
File Type: jpg uploaderror2.jpg (44.9 KB, 0 views)
Reply With Quote
  #2  
Old 08-18-2008, 02:32 AM
Spank Spank is offline
 
Join Date: Jan 2007
Location: Scotland
Posts: 809
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you upped the limit in the Attachment manager in the ACP?
Reply With Quote
  #3  
Old 08-18-2008, 02:39 AM
carmichael1973's Avatar
carmichael1973 carmichael1973 is offline
 
Join Date: Aug 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spank View Post
Have you upped the limit in the Attachment manager in the ACP?
Yep, it is set to 20000 KB for ZIP extension.
Reply With Quote
  #4  
Old 08-18-2008, 02:42 AM
carmichael1973's Avatar
carmichael1973 carmichael1973 is offline
 
Join Date: Aug 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is a shot of my Attachment Manager
Attached Images
File Type: jpg 3uploadserror.jpg (50.2 KB, 0 views)
Reply With Quote
  #5  
Old 08-18-2008, 02:55 AM
Bilderback's Avatar
Bilderback Bilderback is offline
 
Join Date: Sep 2007
Location: Illinois
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #6  
Old 08-18-2008, 03:10 AM
Bilderback's Avatar
Bilderback Bilderback is offline
 
Join Date: Sep 2007
Location: Illinois
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Attached Images
File Type: jpg zipfile.jpg (65.1 KB, 0 views)
Reply With Quote
  #7  
Old 08-18-2008, 09:00 PM
carmichael1973's Avatar
carmichael1973 carmichael1973 is offline
 
Join Date: Aug 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bilderback View Post
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!
Attached Images
File Type: jpg fixederror1.jpg (34.6 KB, 0 views)
File Type: jpg fixederror2.jpg (52.1 KB, 0 views)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:42 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.10495 seconds
  • Memory Usage 2,246KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (6)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete