Error when editing species page.
- Shovelnose
- Posts: 1240
- Joined: 03 Sep 2008, 09:49
- My articles: 5
- My images: 116
- My catfish: 4
- My cats species list: 60 (i:4, k:0)
- Spotted: 44
- Location 1: Mumbai
- Location 2: India
Error when editing species page.
@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?
"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
Major: Now what's this... stone, stone, stone, (looks down at his hand) and scissors. Now. Scissors cut everything, don't they?
Sergeant: Not stone, sir.
Major: They're very good scissors!!
Major: Now what's this... stone, stone, stone, (looks down at his hand) and scissors. Now. Scissors cut everything, don't they?
Sergeant: Not stone, sir.
Major: They're very good scissors!!
- Jools
- Expert
- Posts: 16150
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 948
- My catfish: 237
- My cats species list: 87 (i:237, k:1)
- My BLogs: 7 (i:10, p:202)
- My Wishlist: 23
- Spotted: 450
- 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.
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
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
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- Shovelnose
- Posts: 1240
- Joined: 03 Sep 2008, 09:49
- My articles: 5
- My images: 116
- My catfish: 4
- My cats species list: 60 (i:4, k:0)
- Spotted: 44
- Location 1: Mumbai
- Location 2: India
Re: Error when editing species page.
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
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
Major: Now what's this... stone, stone, stone, (looks down at his hand) and scissors. Now. Scissors cut everything, don't they?
Sergeant: Not stone, sir.
Major: They're very good scissors!!
Major: Now what's this... stone, stone, stone, (looks down at his hand) and scissors. Now. Scissors cut everything, don't they?
Sergeant: Not stone, sir.
Major: They're very good scissors!!
- Jools
- Expert
- Posts: 16150
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 948
- My catfish: 237
- My cats species list: 87 (i:237, k:1)
- My BLogs: 7 (i:10, p:202)
- My Wishlist: 23
- Spotted: 450
- 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.
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
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
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- Shovelnose
- Posts: 1240
- Joined: 03 Sep 2008, 09:49
- My articles: 5
- My images: 116
- My catfish: 4
- My cats species list: 60 (i:4, k:0)
- Spotted: 44
- Location 1: Mumbai
- Location 2: India
Re: Error when editing species page.
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.
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
Major: Now what's this... stone, stone, stone, (looks down at his hand) and scissors. Now. Scissors cut everything, don't they?
Sergeant: Not stone, sir.
Major: They're very good scissors!!
Major: Now what's this... stone, stone, stone, (looks down at his hand) and scissors. Now. Scissors cut everything, don't they?
Sergeant: Not stone, sir.
Major: They're very good scissors!!
- Jools
- Expert
- Posts: 16150
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 948
- My catfish: 237
- My cats species list: 87 (i:237, k:1)
- My BLogs: 7 (i:10, p:202)
- My Wishlist: 23
- Spotted: 450
- 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.
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
Anyway, I've changed it so if that happens in future it works rather than throw the error message you saw.
Cheers,
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.