vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   check max_allowed_packet (https://vborg.vbsupport.ru/showthread.php?t=202515)

cooltechie 01-20-2009 10:02 PM

check max_allowed_packet
 
How can one check the max_allowed_packet size without shell? Is it listed in cpanel or whm? Is there a php script that can provide that information?

We have this error:
filesize = 1154220
WHERE attachmentid = 16
mysql error: Got a packet bigger than 'max_allowed_packet' bytes

SEOvB 01-20-2009 10:28 PM

Right in your adminCP you should see server stats

MySQL Packet Size

cooltechie 01-20-2009 10:58 PM

Wow, that was easy. It's set to 1MB so maybe that is why there is problem. Is there a minimum requirement for vbulletin? Thanks for your help!

SEOvB 01-20-2009 11:05 PM

Quote:

Originally Posted by cooltechie (Post 1719561)
Wow, that was easy. It's set to 1MB so maybe that is why there is problem. Is there a minimum requirement for vbulletin? Thanks for your help!

No, but 1MB is really low, depending on the server and some settings such as attachment file sizes you may want to set it to something like 15MB

Dismounted 01-21-2009 04:13 AM

If you store attachments in the filesystem, you should not have any issues with such a low maximum packet size.

Medtech 08-09-2009 12:48 AM

i am uploading 100 meg attachments.

to do this, create a php.ini file in your forum root. c/p this into it....
Code:

upload_max_filesize = 110M
post_max_size = 110M
max_execution_time = 9960
memory_limit = 116M

then go to attachment manager and increase the values for the type of attachments you want to upload.

snakes1100 08-09-2009 06:51 AM

Quote:

Originally Posted by Medtech (Post 1863854)
i am uploading 100 meg attachments.

to do this, create a php.ini file in your forum root. c/p this into it....
Code:

upload_max_filesize = 110M
post_max_size = 110M
max_execution_time = 9960
memory_limit = 116M

then go to attachment manager and increase the values for the type of attachments you want to upload.

Not all hosts allow "LOCAL" override of php master settings.

Brother Malachi 09-08-2009 06:54 AM

Quote:

Originally Posted by Medtech (Post 1863854)
i am uploading 100 meg attachments.

to do this, create a php.ini file in your forum root. c/p this into it....
Code:

upload_max_filesize = 110M
post_max_size = 110M
max_execution_time = 9960
memory_limit = 116M

then go to attachment manager and increase the values for the type of attachments you want to upload.

That won't work.
You have to use .htaccess to change php.ini configs.


All times are GMT. The time now is 07:18 AM.

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.01954 seconds
  • Memory Usage 1,724KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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