My cats page says I haven't registered any populations yet..

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
wax32
Posts: 19
Joined: 22 Nov 2013, 02:41
My cats species list: 11 (i:7, k:0)
My aquaria list: 2 (i:1)
Location 2: New Orleans, Louisiana
Contact:

My cats page says I haven't registered any populations yet..

Post by wax32 »

... But I have! I notice that there's no link to my cats page in my post headers like other ppl have. Am I doing something wrong?

- Dave
Dave Harms - Addicted to my South American Tetras and Cats!
User avatar
Dave Rinaldo
Posts: 2178
Joined: 31 Dec 2002, 10:49
I've donated: $601.00!
My images: 238
My cats species list: 64 (i:0, k:0)
Spotted: 97
Location 2: Austin, Texas

Re: My cats page says I haven't registered any populations y

Post by Dave Rinaldo »

Are you going to the Cat-eLog, selecting species page and then clicking on 'add to My Cats' ?
Contribute to Planet Catfish!

Use this Amazon.com link to benefit Planet Catfish!!
wax32
Posts: 19
Joined: 22 Nov 2013, 02:41
My cats species list: 11 (i:7, k:0)
My aquaria list: 2 (i:1)
Location 2: New Orleans, Louisiana
Contact:

Re: My cats page says I haven't registered any populations y

Post by wax32 »

I'm using the search bar right under the menu at the top of the page. I find my cat and click the add to my cats link. I think this is using the Cat e log, right?
Dave Harms - Addicted to my South American Tetras and Cats!
wax32
Posts: 19
Joined: 22 Nov 2013, 02:41
My cats species list: 11 (i:7, k:0)
My aquaria list: 2 (i:1)
Location 2: New Orleans, Louisiana
Contact:

Re: My cats page says I haven't registered any populations y

Post by wax32 »

I tried actually surfing thru the menues starting with the cat e log tab also and added one that way. I see them myself on my "my cats" page but I still get the "you haven't registered any species" notice at the top. Weird huh?
Dave Harms - Addicted to my South American Tetras and Cats!
wax32
Posts: 19
Joined: 22 Nov 2013, 02:41
My cats species list: 11 (i:7, k:0)
My aquaria list: 2 (i:1)
Location 2: New Orleans, Louisiana
Contact:

Re: My cats page says I haven't registered any populations y

Post by wax32 »

When I look at my own my cats page I see 7 species.
Dave Harms - Addicted to my South American Tetras and Cats!
User avatar
Dave Rinaldo
Posts: 2178
Joined: 31 Dec 2002, 10:49
I've donated: $601.00!
My images: 238
My cats species list: 64 (i:0, k:0)
Spotted: 97
Location 2: Austin, Texas

Re: My cats page says I haven't registered any populations y

Post by Dave Rinaldo »

It looks you are doing everything right!
Contribute to Planet Catfish!

Use this Amazon.com link to benefit Planet Catfish!!
wax32
Posts: 19
Joined: 22 Nov 2013, 02:41
My cats species list: 11 (i:7, k:0)
My aquaria list: 2 (i:1)
Location 2: New Orleans, Louisiana
Contact:

Re: My cats page says I haven't registered any populations y

Post by wax32 »

Thanks at least I know I'm not an idiot!
Dave Harms - Addicted to my South American Tetras and Cats!
User avatar
Jools
Expert
Posts: 16148
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: My cats page says I haven't registered any populations y

Post by Jools »

I'll have a look into this. What appears to be happening is that the site isn't calculating your total number of "my cats" records. If it was then you would not see the message you mention and you would also have a "My Cats" link to the right of each of your forum posts.

You do have several my cats records, present and archived that I can see. So it appears you are selecting them OK.

Off the top of my head, it might just be it takes a while for this to be calculated, but longer than a day seems wrong.



Jools
wax32
Posts: 19
Joined: 22 Nov 2013, 02:41
My cats species list: 11 (i:7, k:0)
My aquaria list: 2 (i:1)
Location 2: New Orleans, Louisiana
Contact:

Re: My cats page says I haven't registered any populations y

Post by wax32 »

Thanks Jools!
Dave Harms - Addicted to my South American Tetras and Cats!
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: My cats page says I haven't registered any populations y

Post by MatsP »

Interesting. It says there are no registered species, and then lists a bunch:
http://www.planetcatfish.com/common/my_ ... name=wax32

I'm also having a quick look to see if I can spot anything wrong.

Edit: I have "fixed" the problem - but it's a bit weird, as you have to view the page with "filter=1" (which is "Include species no longer kept" in the list of filters at the top of the page), but you don't get that if you have "no species registered". And of course, this is a "I can't get any chickens, because I have no eggs" type problem. I'm going to have a look tomorrow (or something) to see if I can find a better solution of doing this...

--
Mats
wax32
Posts: 19
Joined: 22 Nov 2013, 02:41
My cats species list: 11 (i:7, k:0)
My aquaria list: 2 (i:1)
Location 2: New Orleans, Louisiana
Contact:

Re: My cats page says I haven't registered any populations y

Post by wax32 »

Thanks Mats!
Dave Harms - Addicted to my South American Tetras and Cats!
wax32
Posts: 19
Joined: 22 Nov 2013, 02:41
My cats species list: 11 (i:7, k:0)
My aquaria list: 2 (i:1)
Location 2: New Orleans, Louisiana
Contact:

Re: My cats page says I haven't registered any populations y

Post by wax32 »

Seems to be broken again. When I click on my cats I get this error.

Fatal error: Call to undefined function my_aquaria_image_url() in /home/webcat/planetcatfish.com/common/includes/my_fish_keeper_list.php on line 291
Dave Harms - Addicted to my South American Tetras and Cats!
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: My cats page says I haven't registered any populations y

Post by MatsP »

That's a completely different problem.

I will have a look to see what recent changes have caused that. It's probably a simple fix.

(I started looking at the other problem, but work has to take priority, because that's what pays the bills for me and the ex-wife + kids)

Edit: Seems to already have been fixed.

--
Mats
User avatar
Jools
Expert
Posts: 16148
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: My cats page says I haven't registered any populations y

Post by Jools »

Yes, not finished checking it right through, but I think this has been fixed.

Cheers

Jools
LostYeti
Posts: 2
Joined: 27 Oct 2013, 21:18
My cats species list: 63 (i:45, k:0)
My aquaria list: 5 (i:2)
Location 2: United Kingdom South Wales

Re: My cats page says I haven't registered any populations y

Post by LostYeti »

Still getting this problem.
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: My cats page says I haven't registered any populations y

Post by MatsP »

LostYeti wrote:Still getting this problem.
That your "my cats" has not registered any populations? Yes, that problem is definitely not fixed.

I'm still trying to figure out what the right solution is. We're going to rewrite most of these pages in the near future, so I'm tempted to do a "quick fix", which is basically that you get a slightly different message, involving something like "Newly added species will be registered properly within 24 hours"), and every 24 hours, we run a script that update the counts for all "my cats" populations. The other option(s) involve rewriting much of the code that handles updates to counts, which is a little more work, and I'd rather spend that time on getting the "new code right".

--
Mats
wax32
Posts: 19
Joined: 22 Nov 2013, 02:41
My cats species list: 11 (i:7, k:0)
My aquaria list: 2 (i:1)
Location 2: New Orleans, Louisiana
Contact:

Re: My cats page says I haven't registered any populations y

Post by wax32 »

This is the weirdness I'm getting now.
Attachments
image.jpg
Dave Harms - Addicted to my South American Tetras and Cats!
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: My cats page says I haven't registered any populations y

Post by MatsP »

Ok, that's definitely a problem for Jools - he's working with various image functionality, and moving pictures around. I'm sure he'll sort that soon, but thanks for reporting, as there are lots of different places that images are used in different ways.

--
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: My cats page says I haven't registered any populations y

Post by MatsP »

Finally managed to drag myself away from other things and do some work on this.

I have submitted two pieces of code for Jools to upload to the site:
1. A script that can be run once a day or some such, which will fix users who in the past have registered species, and it's not been counted correctly (in R1381)
2. An update to count up/down as appropriate when users add/remove species from now on. This works best if the above script has been run first, as removing a species from the list when the current count is zero, there will be an error on the SQL update. (in R1382)

--
Mats
User avatar
Jools
Expert
Posts: 16148
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: My cats page says I haven't registered any populations y

Post by Jools »

OK, so Mats script is in place and will begin reporting results today. I will also look at the problem with the images (the big black areas with yellow text) over the next couple of days too.

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: My cats page says I haven't registered any populations y

Post by MatsP »

I think the changes that I made in R1387 will fix the "black image" problem. It turned out to be somewhat inconistent use of "my_fish" vs. "my_cats" vs "nothing" that caused problems (and because it's in the middle of a very long path, it was hard to spot took me a couple of hours to figure out the difference, after I'd fixed the "nothing" problem).

As usual, my changes have been sent to Jools. He will check them, and upload to the site at some point in the future, and report back here when it's done.

--
Mats
wax32
Posts: 19
Joined: 22 Nov 2013, 02:41
My cats species list: 11 (i:7, k:0)
My aquaria list: 2 (i:1)
Location 2: New Orleans, Louisiana
Contact:

Re: My cats page says I haven't registered any populations y

Post by wax32 »

Nice job!
Dave Harms - Addicted to my South American Tetras and Cats!
User avatar
Jools
Expert
Posts: 16148
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: My cats page says I haven't registered any populations y

Post by Jools »

Yeah, those we some deep paths! OK, so the changes are now online and the retrospective fix is now also running.

Jools
Post Reply

Return to “All Resolved Issues”