Error message when trying to upload a photo to CLOG

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
bekateen
Posts: 9332
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 141
My cats species list: 145 (i:105, k:35)
My aquaria list: 41 (i:18)
My BLogs: 45 (i:150, p:2730)
My Wishlist: 35
Spotted: 183
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Error message when trying to upload a photo to CLOG

Post by bekateen »

Hi Jools,

Tonight I tried to add a photo to the CLOG page for .

When I did, the photo was rejected with this message:
Something went wrong, the selected new position is different from number of actual images. (seq_no=2, image_count=2) - please report.
Sorry,
Eric

Details:
Caption: Rio Ariari drainage
Reproduced from: Mendez-Lopez, A. et al. (2019). Sistemas de Humedales de la Cuenca MEDIA del GUAVIARE, DEPARTAMENTO DEL META- COLOMBIA PECES, ANFIBIOS y REPTILES de las Lagunas San Vicente y Loma Linda.
Attachments
Screenshot_20201230-212514_Drive~2.jpg
Image
Find me on YouTube & Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code bekateen for 15% off your order.
Also, for you Swifties: Https://youtu.be/ZUKdhXL3NCw
User avatar
bekateen
Posts: 9332
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 141
My cats species list: 145 (i:105, k:35)
My aquaria list: 41 (i:18)
My BLogs: 45 (i:150, p:2730)
My Wishlist: 35
Spotted: 183
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: Error message when trying to upload a photo to CLOG

Post by bekateen »

Okay, that's weird. In spite of the error message, the picture upload appears to have been successful. That is very confusing.

Cheers, Eric
Image
Find me on YouTube & Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code bekateen for 15% off your order.
Also, for you Swifties: Https://youtu.be/ZUKdhXL3NCw
User avatar
Jools
Expert
Posts: 16140
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 message when trying to upload a photo to CLOG

Post by Jools »

Seems like it was old bad data. Each image has a sequence number (seq no) which determines the order in which the images are shown. The best, single first larger image is shown is seq 1 and so on. The error is when the sequence number has gaps/shows an incorrect total. Historically there was an issue when this happened a from time to time which I never really got to the bottom of but appeared to resolve by some change I made. My suspicion is when the back button or browser history functions are used in conjunction with the admin pages.

Anyway, the image was added and looks OK to me. I also re-ordered the images on the page which is a good check everything is OK.

So, not a bug in the code, rather an error in the data which is fixed. That said, you're right to be cautious, this can cause merry hell with species where there are lots of images. Hopefully, we have seen the last of those (although, IIRC, Synodontis brichardi is one I need to fix at some point).

Cheers,



Jools
Post Reply

Return to “All Resolved Issues”