Log in

View Full Version : vBulletin Database Error! Attachment issues!


M_Portiss
01-30-2007, 07:01 PM
Hey guys.. Another issue here.. It seems as though I keep getting database errors when my members are trying to upload pictures. This is the error I get:

MySQL Error : Got a packet bigger than 'max_allowed_packet' bytes
Error Number : 1153
Date : Saturday, January 13th 2007 @ 08:15:30 PM
Script :
http://www.XXXXXXXXXXXXXXX.com/forums/newattachment.php?do=manageattach&p=
Referrer :
http://www.XXXXXXXXXXXXX.com/forums/newattachment.php?t=377&poststarttime=1168740885&p osthash=f2f75cedd9aaf1bfa7a6712f77a1f281
IP Address : XXXXXXXXXX
Username : XXXXXXX
Classname : vb_database

I have upped amount the users are allowed to upload. ( For example, .jpg is now at 1000000)

Any help here? What do I need to show you guys (Code wise..;)) to help me out?

Thanks in Advance!!
Matt

webmazter
01-31-2007, 01:45 AM
check your server limit.

Digitalus
01-31-2007, 11:26 AM
you need to edit php.ini from your server

Search for the line ; Maximum allowed size for uploaded files.
and change the upload_max_filesize = 15M or something like that ;)

AWS
01-31-2007, 01:01 PM
In mysql.conf or mysql.ini if on Windows look for

max_allowed_packet

If it is set to 1M then change it to 2M.
If you don't have that in the file then add it.

airmjj22
09-27-2011, 05:48 PM
/etc/my.cnf on Red Hat