vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Bad Response From Server When Uploading Too Big Of File (https://vborg.vbsupport.ru/showthread.php?t=162328)

DieselMinded 11-10-2007 02:31 AM

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

junaid 11-10-2007 03:29 AM

Please check your Php file upload max size and php memory

DieselMinded 11-10-2007 03:52 AM

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

Marco van Herwaarden 11-10-2007 05:16 AM

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

DieselMinded 11-10-2007 05:59 AM

What should i change them to ?

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

TIA

Marco van Herwaarden 11-10-2007 06:09 AM

You will need to update your PHP configuration, please contact your host about this.

DieselMinded 11-11-2007 08:13 AM

Anyone know what Numbers i should change this to ?

Marco van Herwaarden 11-11-2007 08:15 AM

That depends on your forum and the size of the attachments you want to use.

DieselMinded 11-11-2007 08:30 AM

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

snakes1100 11-11-2007 12:20 PM

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.


All times are GMT. The time now is 03:05 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.01151 seconds
  • Memory Usage 1,723KB
  • 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
  • (10)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