cat e logue homepage bugged

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
Bas Pels
Posts: 2913
Joined: 21 Dec 2006, 20:35
My images: 1
My cats species list: 28 (i:0, k:0)
Spotted: 8
Location 1: the Netherlands
Location 2: Nijmegen the Netherlands
Interests: Central American and Uruguayan fishes

cat e logue homepage bugged

Post by Bas Pels »

It looks like the Cat E Logue homepage is down/ bugged.

If I enter throguh the front paga, I get a message, 'covnersion failed [ok]' (including the typo) which will not go away. I needed control alt delete to get out of it

Getting back, though the kitchendoor - I used a link, which worked, the homepage gave the precise same result.

I use IE explorer, 9.0.8112 and so on
cats have whiskers
User avatar
Birger
Expert
Posts: 3870
Joined: 01 Dec 2003, 05:04
My articles: 10
My images: 112
My cats species list: 49 (i:43, k:0)
Spotted: 35
Location 1: Edmonton,Alberta
Location 2: Canada

Re: cat e logue homepage bugged

Post by Birger »

Working normal for me on Firefox

I think the tech department dudes b-) were working on stuff today.

Birger
Birger
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: cat e logue homepage bugged

Post by Jools »

I can't get any error (using MSIE 10). Can you post a screenshot please? That specific page hasn't been changed in ages, but some of the things it uses may have been altered recently however nothing springs to mind.

Cheers,

Jools
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:97)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: cat e logue homepage bugged

Post by MatsP »

1. It works for me (in Firefox and Google Chrome - don't have IE on my Linux machine)
2. The text with the typo doesn't exist in our code - not sure where it comes from.

Does it still happen to you?

--
Mats
Viktor Jarikov
Posts: 5486
Joined: 26 Jan 2010, 20:11
My images: 11
My cats species list: 25 (i:0, k:0)
Spotted: 4
Location 1: Naples, FL
Location 2: USA

Re: cat e logue homepage bugged

Post by Viktor Jarikov »

Everything described in the OP to the letter has been happening to me for two days straight. My PC had installed some update probably shortly before this started happening. I run IE version 9.0.8112.16421 update versions 9.0.12
Attachments
Capture.PNG
Thebiggerthebetter
fish-story.com
Bas Pels
Posts: 2913
Joined: 21 Dec 2006, 20:35
My images: 1
My cats species list: 28 (i:0, k:0)
Spotted: 8
Location 1: the Netherlands
Location 2: Nijmegen the Netherlands
Interests: Central American and Uruguayan fishes

Re: cat e logue homepage bugged

Post by Bas Pels »

Thanks, Victor

That's precisely what I get. Could be due to our - similar - browser. However, IE explorer is still one of the most used
cats have whiskers
User avatar
krazyGeoff
Posts: 764
Joined: 16 Nov 2007, 06:03
I've donated: $110.00!
My articles: 2
My images: 12
My cats species list: 27 (i:1, k:1)
My aquaria list: 6 (i:3)
My BLogs: 7 (i:7, p:410)
Spotted: 7
Location 1: Woodville
Location 2: New Zealand
Interests: Fish and Cats

Re: cat e logue homepage bugged

Post by krazyGeoff »

Hi,
I can get the same issue on IE9 but ok on Safari
I get the issue by hovering on the Cat-eLog menu item, then selecting the Bagridae family:
http://www.planetcatfish.com/catelog/fa ... amily_id=8

Clicking OK on the error message 52 times makes it go away, and then at that point the page appears to function as normal.

Another way to get it is to go the the Cat-eLog main page.
Then select "All Catfish Families" ordered by popularity

depending on which family you select next will determine the number of times that you need to push the ok button on the error message to get it to go away.

for the Scoloplacidae family you need to push the ok button 7 times, for loricariidae, you need to push the ok button over 100 times. Obviously some loop is running.

Cheers
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: cat e logue homepage bugged

Post by Jools »

Ah, ok, it's not the cat-eLog homepage but a family page. Think it's a mapping issue, will investigate.

Jools
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:97)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: cat e logue homepage bugged

Post by MatsP »

I know which line in the code prints the message (I didn't realize it had a upper case C in "Covnesion", so searched for lowercase one). Typo is fixed, but I still need to understand what is wrong with the data transmitted, as it works on both Firefox and Chrome on my machine). But I can look at the raw data to see if there's something funky with it.

Edit: Jools - R918 contains a small change to the relevant code - fixes the typo and shows the data that couldn't be converted, so may help debugging!

Edit2: Seeing if I can set up a Windows VM on my experiment machine to try IE...

--
Mats
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: cat e logue homepage bugged

Post by Jools »

BP or Viktor,

Mats' change is now uploaded. Can you post another screenshot please? It should have more info in it to assist debugging.

Cheers,

Jools
User avatar
krazyGeoff
Posts: 764
Joined: 16 Nov 2007, 06:03
I've donated: $110.00!
My articles: 2
My images: 12
My cats species list: 27 (i:1, k:1)
My aquaria list: 6 (i:3)
My BLogs: 7 (i:7, p:410)
Spotted: 7
Location 1: Woodville
Location 2: New Zealand
Interests: Fish and Cats

Re: cat e logue homepage bugged

Post by krazyGeoff »

New error message reads:
Conversion failed...undefined

So three dots and then the word undefined.

Note this happens before the "facebook like" page counter appears, in the top left corner, but I guess you already know that :d
There is no other text or anything that I can see, and I am unable to scroll the page, to check if there is any info at the bottom.
I am now on IE8
Also note that there is now one extra "ok" click required. (but that could be meaningless)
Is it worth pointing out that the google map at the bottom of the page is always just a blue colour and there is no land mass on it???

Cheers
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:97)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: cat e logue homepage bugged

Post by MatsP »

Ok, that helps a little bit - but not as much as I hoped - I really need to get this reproducing on my machine.

Will try to get it going...

--
Mats
Viktor Jarikov
Posts: 5486
Joined: 26 Jan 2010, 20:11
My images: 11
My cats species list: 25 (i:0, k:0)
Spotted: 4
Location 1: Naples, FL
Location 2: USA

Re: cat e logue homepage bugged

Post by Viktor Jarikov »

No change on my end. Doesn't matter which family I go to:
Attachments
Capture 1.PNG
Thebiggerthebetter
fish-story.com
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:97)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: cat e logue homepage bugged

Post by MatsP »

Viktor, you may want to press CTRL-F5, it seems like it's caching the old JavaScript that has the typo in it.

--
Mats
Viktor Jarikov
Posts: 5486
Joined: 26 Jan 2010, 20:11
My images: 11
My cats species list: 25 (i:0, k:0)
Spotted: 4
Location 1: Naples, FL
Location 2: USA

Re: cat e logue homepage bugged

Post by Viktor Jarikov »

Hi Mats! Unless I did not understand exactly what you had advised me to do:
-- when I did Ctrl+F5 on this page, it just reloaded the page;
-- when I did it on the Cat-eLog page with the error message, nothing happened.
Thebiggerthebetter
fish-story.com
Bas Pels
Posts: 2913
Joined: 21 Dec 2006, 20:35
My images: 1
My cats species list: 28 (i:0, k:0)
Spotted: 8
Location 1: the Netherlands
Location 2: Nijmegen the Netherlands
Interests: Central American and Uruguayan fishes

Re: cat e logue homepage bugged

Post by Bas Pels »

apart from the typo, the same happened.

It's not family related, I encountered the problem the first time on Loricaridae (looking for Hisonotus)while Victor was on Bagridae
cats have whiskers
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:97)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: cat e logue homepage bugged

Post by MatsP »

Right, so the ONLY thing I've changed so far is to fix the typo in "Conversion" and adding the thing we're trying to convert to be printed after the word failed. I was hoping that would tell me what it was that was going wrong, but from Geoff's output, it looks like it's trying to use something "undefined" - I expected to see something that looked a bit like a number (it is trying to convert a string as part of a coordinate system, e.g. "3.51231"or "-56.1219" - since that's the only 'things' that are converted in this place - the printout happens when that conversion fails for some reason).

I am still struggling to get Windows running in a VM, but I haven't spent a HUGE amount of time on this.

--
Mats
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: cat e logue homepage bugged

Post by Jools »

Mats,

Noted. This might assist? If not then I'd suggest I have a crack at debugging it Mats as I have the environment? What do you think? It's affecting ~35% of users of the site, so probably priority.

As a side note for everyone else experiencing the error, all other browsers don't show the error. You may wish to consider swapping, at least temporarily.

Jools
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:97)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: cat e logue homepage bugged

Post by MatsP »

I ran the code through jslint, which complained about a bunch of things which aren't a problem (like using ++ instead of += 1 - makes no sense). I don't think this is a "lint" problem (although I wouldn't be surprised if it's something to do with compatibility and different browsers having different JS implementations). I'm slightly concerned however that it's a problem in actually receiving the data (that is, the data is either mangled or incomplete), which would be a harder problem to fix.

Feel free to debug. I'm at work at present, so although I have a Windows VM here that can reproduce the problem, I'm not able to do much about it.

--
Mats
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:97)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: cat e logue homepage bugged

Post by MatsP »

Did some googling while waiting for something. I think I know what the problem is... It's kind of convoluted, but I can fix it quite quickly - I think.

--
Mats
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: cat e logue homepage bugged

Post by Jools »

Well, I'm looking at it just now. It appears to be that the textContent property of the content object is undefined. I'm currently learning how to either test to avoid this or perhaps do some sort of variable declaration that avoids the problem. Will I leave it for now?

Cheers,

Jools
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:97)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: cat e logue homepage bugged

Post by MatsP »

I think I've fixed it in R920 - at least it works in IE9 with that fix (and in Chrome).

It's a little more code [and I took the oppurtunity to move a few things around that weren't where they should be, logically]

Fix found here:
http://stackoverflow.com/questions/6649 ... sbytagname

--
Mats
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: cat e logue homepage bugged

Post by Jools »

Another MS anomaly safely navigated! Thanks Mats.

OK guys, that's the techno-chatter done with, can you confirm the issue is now resolved?

BTW, this work by Mats introduced the new species mapping tool that you can see under the shiny new "Distribution of selected species" section on the family pages. This gives a quick and easy visual view of where a family of catfish is found (and readily highlights gaps and errors in the map data). I need to tart it up a little bit and will then announce it formally.

Cheers,

Jools
Bas Pels
Posts: 2913
Joined: 21 Dec 2006, 20:35
My images: 1
My cats species list: 28 (i:0, k:0)
Spotted: 8
Location 1: the Netherlands
Location 2: Nijmegen the Netherlands
Interests: Central American and Uruguayan fishes

Re: cat e logue homepage bugged

Post by Bas Pels »

it does look fised: I could visit the Loricaridae page and go to Hisonotus

Thanks, Mats
cats have whiskers
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:97)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: cat e logue homepage bugged

Post by MatsP »

Excellent! Did you like the "map" by the side of the list of species...

--
Mats
User avatar
krazyGeoff
Posts: 764
Joined: 16 Nov 2007, 06:03
I've donated: $110.00!
My articles: 2
My images: 12
My cats species list: 27 (i:1, k:1)
My aquaria list: 6 (i:3)
My BLogs: 7 (i:7, p:410)
Spotted: 7
Location 1: Woodville
Location 2: New Zealand
Interests: Fish and Cats

Re: cat e logue homepage bugged

Post by krazyGeoff »

Hi MatsP,
Nice work.
I'm on IE8 now as at work.
The error messages have gone away.
However so has the map.

I get this error (I have some error setting on, so I get the done with errors on page messages in the bottom left corner of the browser)

------Start of error message
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Timestamp: Thu, 27 Dec 2012 18:25:13 UTC


Message: 'DOMParser' is undefined
Line: 163
Char: 2
Code: 0
URI: http://www.planetcatfish.com/common/jav ... ultimap.js
------End of error message
I'm not sure if it really matters that much, IE8 you don't get the map.....

Cheers
Viktor Jarikov
Posts: 5486
Joined: 26 Jan 2010, 20:11
My images: 11
My cats species list: 25 (i:0, k:0)
Spotted: 4
Location 1: Naples, FL
Location 2: USA

Re: cat e logue homepage bugged

Post by Viktor Jarikov »

The Cat-eLog errors have gone away for me too. Thanks much, Mats and Jools!

I can see the maps just fine. They are a nice addition.
Last edited by Viktor Jarikov on 27 Dec 2012, 19:00, edited 1 time in total.
Thebiggerthebetter
fish-story.com
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 10 (i:8)
My BLogs: 4 (i:0, p:97)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: cat e logue homepage bugged

Post by MatsP »

Geoff, if you promise to buy me a beer next time we're in the same place (November, maybe?), I'll see if I can fix this just for you... :)

--
Mats
Bas Pels
Posts: 2913
Joined: 21 Dec 2006, 20:35
My images: 1
My cats species list: 28 (i:0, k:0)
Spotted: 8
Location 1: the Netherlands
Location 2: Nijmegen the Netherlands
Interests: Central American and Uruguayan fishes

Re: cat e logue homepage bugged

Post by Bas Pels »

I hadn't noticed it, but I do like it.

However, being especially interested in Uruguayan fishes, it's a disappointment to se no Uruguayan loricarids are taken in the Cat-elog.

There are plenty, Loricaria, Rhineloricaria, Otocinclus, Hisonotus, Ancistrus, Hypostomus to name the few genera I have held in very own hands.

I was loking for Hisonotus to veryfy which species I could have bred - but for lack of data, it will remain unclear. I only know where I collected them - in this case in 2006
cats have whiskers
User avatar
krazyGeoff
Posts: 764
Joined: 16 Nov 2007, 06:03
I've donated: $110.00!
My articles: 2
My images: 12
My cats species list: 27 (i:1, k:1)
My aquaria list: 6 (i:3)
My BLogs: 7 (i:7, p:410)
Spotted: 7
Location 1: Woodville
Location 2: New Zealand
Interests: Fish and Cats

Re: cat e logue homepage bugged

Post by krazyGeoff »

MatsP wrote:Geoff, if you promise to buy me a beer next time we're in the same place (November, maybe?), I'll see if I can fix this just for you... :)

--
Mats
Hi Mats,
Sure I'll buy you a beer b-)
Not sure this year whether I'll be able to do November, depends on a number of things that may be out of my control.....

Cheers
Post Reply

Return to “All Resolved Issues”