The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
forum not uploading pics properly
here is the error that some of my members are getting:
Invalid SQL: INSERT INTO attachment (dateline, thumbnail_dateline, visible, userid, extension, filename, posthash, thumbnail_filesize, filehash, filesize, filedata, thumbnail) VALUES (1238626216, 1238626216, 1, 37, 'jpg', any ideas on how to fix? |
#2
|
|||
|
|||
Post the entire output from the failure page, i assume you got that either from a email or viewing the page source.
|
#3
|
||||
|
||||
We need to see the bottom part of the error page. The part that looks like this:
Code:
MySQL Error : some sort of something here Error Number : another something here Date : Sunday, April 13th 2008 @ 11:16:43 AM Script : http://address.path.path/page.php Referrer : IP Address : **.***.**.*** Username : username Classname : database |
#4
|
|||
|
|||
Hi, thanks for the help... my email was only displaying part of the message. viewing the source helped me get to the bottom.
here's the error: MySQL Error : Got a packet bigger than 'max_allowed_packet' bytes Error Number : 1153 Request Date : Wednesday, April 1st 2009 @ 01:35:24 AM Error Date : Wednesday, April 1st 2009 @ 01:35:25 AM Now that i see this... is it simply a user permissions thing? |
#5
|
||||
|
||||
That's a mysql thing. You will have to ask your host to increase the value.
|
#6
|
||||
|
||||
You could try storing attachments as files instead of the database.
|
#7
|
|||
|
|||
Quote:
ah, i need to do that for each database... ok, i think i've got it now. thanks much |
#8
|
|||
|
|||
max_allowed_packet = 32M or higher until the error goes away.
Change it in my.cnf and restart sql |
#9
|
|||
|
|||
Quote:
hey thanks... i think this must be it... as i said i'd already increased the php limits in the .ini file and it seems to have changed them for the whole server, so it couldn't have been that. so yes, this must be it... thanks a lot! --------------- Added [DATE]1238774515[/DATE] at [TIME]1238774515[/TIME] --------------- Hi... i went into the my.cnf file using vi and i could not find the max_allowed_packet setting. it is not in that file. am i missing something? |
#10
|
|||
|
|||
If its not there simply add it and hup sql
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|