vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   problem with database-error 1153 (https://vborg.vbsupport.ru/showthread.php?t=143339)

chicote 03-27-2007 06:56 PM

problem with database-error 1153
 
when i try uploading atachemetts, a zip file with 4mb, but the limit to uploading is 5mb, it appeared an error in popup of the atachementts.

error 1153

Code:

MySQL Error  : Got a packet bigger than 'max_allowed_packet' bytes
Error Number : 1153
Date        : Tuesday, March 27th 2007 @ 08:05:12 PM
Script      : http://www.infodigital.ws/board/newattachment.php?do=manageattach&p=
Referrer    : http://www.infodigital.ws/board/newattachment.php?f=28&poststarttime=1175022169&posthash=5545364bf4519e8e97d081ac9d28210f
IP Address  : 82.154.146.169
Username    : chicote
Classname    : vB_Database

I leave a file in anexe with complete error.

help me please..

download here

Marco van Herwaarden 03-27-2007 07:29 PM

MySQL Error : Got a packet bigger than 'max_allowed_packet' bytes

That error says it all, contact your host and request that this setting is raised in the my.cnf (MySQL config file).

chicote 03-28-2007 03:03 PM

I have this in my phpini-file

Code:

;;;;;;;;;;;;;;;;
; 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 = 20M

not this

Code:

max_allowed_packet
what it is this "20M" ? it will be 20mb ?


I want that it gives uploads of the 5 mb minimum, what I must modify in this code?


thank you..

arindra 03-28-2007 10:09 PM

didn't he say my.cnf ?


All times are GMT. The time now is 06:33 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.00995 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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