Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
File Upload up to 20 Meg needed Details »»
File Upload up to 20 Meg needed
Version: , by Pseudomizer Pseudomizer is offline
Developer Last Online: Feb 2010 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 06-17-2002 Last Update: Never Installs: 0
 
No support by the author.

Hi @LL,

our Forum is now productive in our intranet. But we need the
ability to upload PPTs up to 20 MB.

I have adjusted the files: my.cnf, php.ini

VBulletin Options is set to 40 MB max size upload for attachments.


PHP.INI extract:
_________________________________________________

; Safe Mode
;
safe_mode = On

safe_mode_exec_dir = /tmp

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 600 ; Maximum execution time of each script, in seconds
memory_limit = 120M ; Maximum amount of memory a script may consume (8MB)

; Maximum size of POST data that PHP will accept.
post_max_size = 48M

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =

; Maximum allowed size for uploaded files.
upload_max_filesize = 40M
__________________________________________________ _





my.cnf extract:

__________________________________________________ _

# The MySQL server
[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
skip-locking
set-variable = key_buffer=16M
set-variable = max_allowed_packet=10M
set-variable = table_cache=64
set-variable = sort_buffer=512K
set-variable = net_buffer_length=8K
set-variable = myisam_sort_buffer_size=8M
log-bin
server-id = 1


[mysqldump]
quick
set-variable = max_allowed_packet=32M

[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates

[isamchk]
set-variable = key_buffer=20M
set-variable = sort_buffer=20M
set-variable = read_buffer=4M
set-variable = write_buffer=4M

[myisamchk]
set-variable = key_buffer=20M
set-variable = sort_buffer=20M
set-variable = read_buffer=4M
set-variable = write_buffer=4M
__________________________________________________ _

The strang thing is, i had the problem, that in the beginning the
limit was 2 MB. I adjusted these files and the limit went up to
10 MB. This was ok for the last 6 months. Now we have the
request to have the ability to upload bigger files.

Files up to 10 MB work fine. But as soon i go higher the upload
goes on for some seconds and the the url changes to
newthread.php and i have output on the screen like this:

__________________________________________________

(????K?????$/G?R8 ?_\"????p2?n???R????? %??c???U\\X\"? ??BD ?????W?ub?z? =??^?P?r|???|f??o???$j?ם \' ?i@U?KƜ??R?Y??˱??ú]m]^?y~?^?E~\\???? ??p?U|?5a?<?\"??O,????Zr?&]W?([v?N(>?K?vj?u????\\??J?.;{???rm?Ax?$?\"wY ???Xy+x??? w???[{Ó???G݁ۖ???????O\"r?8????Ge???G?? ????W??;??w???}w?{~b?J? ?v?{?O????#:?d??“??w????h-x???Ï5G? m?Q4[?Ky???,4?T??)w?Z??R8j??d?DK???gF??k??2?3??r^? s?j?i)4 Y??!pc*zi???}?κ?q7??G???p??=6>3??rT??i?Ll}?? ?!?????1g?G?y??????????????????|?_??c???䤱m??2 5???Kh?\'M?m?{??ᝡ????#?~?Cx??ȓ???9ǁ?O??jB? GpP?l????JlO??XX3?X1?T6?T:????²?
_________________________________________________

And this goes on and on. It doesn't stop until the IE crashes.
Before having done the upgrade to 10 MB i had the error msg
that no forum id had been specified. After setting the limit higher
i have now this dump in the window.

Can someone help me please ? Thanks in advance.

Email: Georgios.Pamboris@hds.com

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-24-2002, 11:07 AM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi @LL,

is somebody reading this thread ? Anyone working on this ?
It would be very helpful if someone would answer please that
there is a problem investigation or something else going on.

I need help please.

Thanks in advance.
Reply With Quote
Reply


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 05:56 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.21466 seconds
  • Memory Usage 2,205KB
  • Queries Executed 17 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (2)postbit_onlinestatus
  • (2)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete