Error when editing species page.

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
Shovelnose
Posts: 1238
Joined: 03 Sep 2008, 09:49
My articles: 5
My images: 116
My catfish: 4
My cats species list: 60 (i:0, k:0)
Spotted: 44
Location 1: Mumbai
Location 2: India

Error when editing species page.

Post by Shovelnose »

@Jools Hey Jools, facing this error message when editing a species page. Have tried with coordinates removed as well, same issue persists.


"General Error
SQL ERROR [ mysqli ]

Data truncated for column 'type_loc_lat' at row 1 [1265]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists."

Edit : It worked fine in another page where the type locality field wasn't tinkered with. Its probably got to do with the text I am trying to input in the field?
Balaji

Vicar: It's about this letter you sent me regarding my insurance claim.
Devious: Oh, yeah, well, you see, it's just that we're not, as yet, totally satisfied with the grounds of your claim.
Vicar: But it says something about filling my mouth in with cement.
Devious: Oh well, that's just insurance jargon, you know.
User avatar
Jools
Expert
Posts: 15994
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Error when editing species page.

Post by Jools »

Hi Balaji

It looks like it will be the specific species/data in that species that's not being handled correctly.

Can you tell me which species and what you are altering in which field?

Cheers,

Jools
User avatar
Shovelnose
Posts: 1238
Joined: 03 Sep 2008, 09:49
My articles: 5
My images: 116
My catfish: 4
My cats species list: 60 (i:0, k:0)
Spotted: 44
Location 1: Mumbai
Location 2: India

Re: Error when editing species page.

Post by Shovelnose »

Hey Jools, the species page was and the relevant text (type locality) is below.

India, Arunachal Pradesh, Upper Siang District, Siking stream a tributary of Siang River near Yingkiong
(Brahmaputra River drainage), 28°9′ N, 95°00′ E
Balaji

Vicar: It's about this letter you sent me regarding my insurance claim.
Devious: Oh, yeah, well, you see, it's just that we're not, as yet, totally satisfied with the grounds of your claim.
Vicar: But it says something about filling my mouth in with cement.
Devious: Oh well, that's just insurance jargon, you know.
User avatar
Jools
Expert
Posts: 15994
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Error when editing species page.

Post by Jools »

Hi Balaji,

Bad news I'm afraid. I copied and pasted that into a data sub and it worked. The co-ords (long hand, 28°09'00.0"N 95°00'00.0"E) have got apostrophes as opposed to quotes in them and I thought that might be the problem but no. I had previous ensured that would be translated and work ok.

It could be that in posting to the forum, and then into the data submission, whatever oddity in the data has been removed. Could I ask if you copied and pasted from the paper without any intermediate step? Could I get a copy of the PDF to try if so?

Cheers,


Jools
User avatar
Shovelnose
Posts: 1238
Joined: 03 Sep 2008, 09:49
My articles: 5
My images: 116
My catfish: 4
My cats species list: 60 (i:0, k:0)
Spotted: 44
Location 1: Mumbai
Location 2: India

Re: Error when editing species page.

Post by Shovelnose »

Hey Jools,

You're right, I did the usual and copy pasted the coordinates onto notepad and then onto the profile.

I've also mailed the relevant paper to you.
Balaji

Vicar: It's about this letter you sent me regarding my insurance claim.
Devious: Oh, yeah, well, you see, it's just that we're not, as yet, totally satisfied with the grounds of your claim.
Vicar: But it says something about filling my mouth in with cement.
Devious: Oh well, that's just insurance jargon, you know.
User avatar
Jools
Expert
Posts: 15994
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Error when editing species page.

Post by Jools »

Thanks Balaji, I tried various things with the type locality and it all worked fine. Then I figured out the error is caused by removing one or both of the zeros in the default Type Location Latitude or Longitude fields. I think perhaps this is what you did too?

Anyway, I've changed it so if that happens in future it works rather than throw the error message you saw.

Cheers,


Jools
Post Reply

Return to “All Resolved Issues”