Help - Search - Members - Calendar
Full Version: Admins, What is this Error Message?
914World.com > The 914 Forums > 914World Garage
carr914
QUOTE(URY914 @ Feb 11 2012, 01:12 PM) *

Why am I getting this message after I post a photo?

mySQL query error: UPDATE ibf_topics SET topic_hasattach=topic_hasattach+1 WHERE tid=90964

SQL error: Out of range value for column 'topic_hasattach' at row 1
SQL error code:
Date: Saturday 11th of February 2012 10:11:12 AM

URY914
It's been going on for 2 days now.
URY914
And it only seems to happen when I post on the sandbox photo thread. Other theads it does not happen.
carr914
QUOTE(URY914 @ Feb 12 2012, 08:57 AM) *

And it only seems to happen when I post on the sandbox photo thread. Other theads it does not happen.


agree.gif
SirAndy
QUOTE(URY914 @ Feb 12 2012, 05:57 AM) *

And it only seems to happen when I post on the sandbox photo thread. Other theads it does not happen.

That might be a clue. My guess is that thread has too many posts for a single thread. biggrin.gif


I'll check on it ...
type.gif
SirAndy
QUOTE(SirAndy @ Feb 12 2012, 12:50 PM) *
My guess is that thread has too many posts for a single thread. biggrin.gif

Sure enough, the field 'topic_hasattach' was defined as a SMALLINT which has a maximum value of 32767.

Apparently, you have attached more than 32767 pictures to that thread!
blink.gif



Anyways, i fixed it ...
type.gif

URY914
QUOTE(SirAndy @ Feb 12 2012, 01:50 PM) *

QUOTE(URY914 @ Feb 12 2012, 05:57 AM) *

And it only seems to happen when I post on the sandbox photo thread. Other theads it does not happen.

That might be a clue. My guess is that thread has too many posts for a single thread. biggrin.gif


I'll check on it ...
type.gif



We must have found the end of the internet. confused24.gif
URY914
QUOTE(SirAndy @ Feb 12 2012, 01:58 PM) *

QUOTE(SirAndy @ Feb 12 2012, 12:50 PM) *
My guess is that thread has too many posts for a single thread. biggrin.gif

Sure enough, the field 'topic_hasattach' was defined as a SMALLINT which has a maximum value of 32767.

Apparently, you have attached more than 32767 pictures to that thread!
blink.gif



Anyways, i fixed it ...
type.gif


Thanks Andy. What is our new limit? happy11.gif
carr914
QUOTE(URY914 @ Feb 12 2012, 04:10 PM) *

QUOTE(SirAndy @ Feb 12 2012, 01:50 PM) *

QUOTE(URY914 @ Feb 12 2012, 05:57 AM) *





We must have found the end of the internet. confused24.gif


2012, the End of the World is Near !
SirAndy
QUOTE(URY914 @ Feb 12 2012, 01:11 PM) *
Thanks Andy. What is our new limit? happy11.gif

It's now a signed 32-bit integer:
http://en.wikipedia.org/wiki/Integer_%28computer_science%29


Let's see if you can figure out the new limit.
laugh.gif
URY914
QUOTE(SirAndy @ Feb 12 2012, 02:28 PM) *

QUOTE(URY914 @ Feb 12 2012, 01:11 PM) *
Thanks Andy. What is our new limit? happy11.gif

It's now a signed 32-bit integer:
http://en.wikipedia.org/wiki/Integer_%28computer_science%29


Let's see if you can figure out the new limit.
laugh.gif


Simple:

From − 2,147,483,648 to 2,147,483,647, from − (231) to 231 − 1
SirAndy
QUOTE(URY914 @ Feb 12 2012, 01:31 PM) *
QUOTE(SirAndy @ Feb 12 2012, 02:28 PM) *
QUOTE(URY914 @ Feb 12 2012, 01:11 PM) *
Thanks Andy. What is our new limit? happy11.gif

It's now a signed 32-bit integer:
http://en.wikipedia.org/wiki/Integer_%28computer_science%29


Let's see if you can figure out the new limit.
laugh.gif


Simple:

From − 2,147,483,648 to 2,147,483,647, from − (231) to 231 − 1

Close enough. Since the questing was about the limit, not the range:

The new limit for maximum number of picture attachments for a whole thread is: 2,147,483,647

shades.gif
URY914
QUOTE(SirAndy @ Feb 12 2012, 02:55 PM) *

QUOTE(URY914 @ Feb 12 2012, 01:31 PM) *
QUOTE(SirAndy @ Feb 12 2012, 02:28 PM) *
QUOTE(URY914 @ Feb 12 2012, 01:11 PM) *
Thanks Andy. What is our new limit? happy11.gif

It's now a signed 32-bit integer:
http://en.wikipedia.org/wiki/Integer_%28computer_science%29


Let's see if you can figure out the new limit.
laugh.gif


Simple:

From − 2,147,483,648 to 2,147,483,647, from − (231) to 231 − 1

Close enough. Since the questing was about the limit, not the range:

The new limit for maximum number of picture attachments for a whole thread is: 2,147,483,647

shades.gif



OK, I'll get started on that.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.