PDA

View Full Version : problem with database-error 1153


chicote
03-27-2007, 06:56 PM
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

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 (http://www.infodigital.ws/errorwithdatabase.zip)

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

;;;;;;;;;;;;;;;;
; 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

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 ?