Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 11-10-2007, 02:31 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Bad Response From Server When Uploading Too Big Of File

When i moved servers i seemed to of lost the file too big page , when trying to upload a file too large it just says bad responce from server

Anyone have any clues to help me here

TIA
DM
Reply With Quote
  #2  
Old 11-10-2007, 03:29 AM
junaid junaid is offline
 
Join Date: Oct 2005
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please check your Php file upload max size and php memory
Reply With Quote
  #3  
Old 11-10-2007, 03:52 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Server Type Linux
Data Usage 37.41 MB
Users to Moderate 0 [View]
Web Server Apache v2.0.52
Index Usage 16.35 MB
Threads to Moderate 0 [View]
PHP 4.3.9
Attachment Usage 119.26 MB
Posts to Moderate 0 [View]
PHP Max Post Size 8.00 MB
Avatar Usage 2.26 MB
Attachments to Moderate 0 [View]
PHP Maximum Upload Size 2.00 MB
Profile Picture Usage 311.3 KB
Events to Moderate 0 [View]
PHP Memory Limit 8.00 MB
Unique Members Today 26
New Threads Today 3
MySQL Version 4.1.12-log
New Users Today 0
New Posts Today 14
MySQL Packet Size 1.00 MB

NOTE THIS WAS 52 mins into the next day pretty lame stats ...lol

--------------- Added [DATE]1194674010[/DATE] at [TIME]1194674010[/TIME] ---------------

One other thing has created the bad response from server....

Tring to upload avatars using UPLOAD FROM ANOTHER SITE ALWAYS TRIGGERS AN ERROR
Reply With Quote
  #4  
Old 11-10-2007, 05:16 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Raise the following PHP limits (a lot?):
PHP Max Post Size 8.00 MB
PHP Maximum Upload Size 2.00 MB
PHP Memory Limit 8.00 MB
Reply With Quote
  #5  
Old 11-10-2007, 05:59 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What should i change them to ?

And Im on a VPS so where would this setting most likly be ?

TIA
Reply With Quote
  #6  
Old 11-10-2007, 06:09 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You will need to update your PHP configuration, please contact your host about this.
Reply With Quote
  #7  
Old 11-11-2007, 08:13 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know what Numbers i should change this to ?
Reply With Quote
  #8  
Old 11-11-2007, 08:15 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That depends on your forum and the size of the attachments you want to use.
Reply With Quote
  #9  
Old 11-11-2007, 08:30 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just need the normal setting whats a good default to use please

PHP Max Post Size ? MB
PHP Maximum Upload Size ? MB
PHP Memory Limit ? MB
Reply With Quote
  #10  
Old 11-11-2007, 12:20 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Max Post Size ? MB <-- Set this 1mb bigger than max upload size

PHP Maximum Upload Size ? MB <-- How big of a file is the max you want uploaded, adjust it to what you want to be the max size of a file you want uploaded to your site, if you want to allow a file thats 500mb, then set it to 500mb, if you want no files uploaded larger than 16mb, then set it to 16mb, etc...

PHP Memory Limit MB <-- For a small forum 32mb should suffice, if you get any errors stating that you have reached your max memory limit, then raise it to 64mb , etc...

Restart httpd after you have changed the php settings, so they take effect.
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 02:29 PM.


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.05361 seconds
  • Memory Usage 2,238KB
  • Queries Executed 13 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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