![]() |
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? |
Post the entire output from the failure page, i assume you got that either from a email or viewing the page source.
|
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 |
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? |
That's a mysql thing. You will have to ask your host to increase the value.
|
You could try storing attachments as files instead of the database.
|
Quote:
ah, i need to do that for each database... ok, i think i've got it now. thanks much :) |
max_allowed_packet = 32M or higher until the error goes away.
Change it in my.cnf and restart sql |
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] --------------- Quote:
|
If its not there simply add it and hup sql
|
All times are GMT. The time now is 06:33 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|