COTM Article viewing broken.
- 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
COTM Article viewing broken.
When using any avenue on the COTM drop down menue all links go to the most recent.
Birger
Birger
Birger
- 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:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: Bug in COTM dropdown menu
For me, it gives an error. I suspect Jools may be editing the code for that...
--
Mats
--
Mats
- Jools
- Expert
- Posts: 16290
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 942
- My catfish: 237
- My cats species list: 88 (i:235, k:2)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 452
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Re: Bug in COTM dropdown menu
MatsP wrote:For me, it gives an error. I suspect Jools may be editing the code for that...
Fixed.
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- Jools
- Expert
- Posts: 16290
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 942
- My catfish: 237
- My cats species list: 88 (i:235, k:2)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 452
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Re: Bug in COTM dropdown menu
I'm struggling to replicate this. Can you give me a click by click rundown?Birger wrote:When using any avenue on the COTM drop down menue all links go to the most recent.
Cheers,
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- 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: Bug in COTM dropdown menu
COTM drop down menu
Click on year
Click on 2000
click on april 2000
goes to nov 2011
Does not matter what combo I use it always goes to nov 2011
Birger
Click on year
Click on 2000
click on april 2000
goes to nov 2011
Does not matter what combo I use it always goes to nov 2011
Birger
Birger
- 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: Bug in COTM dropdown menu
Same here.
This month, By year, By family and By popularity
have same problem.
This month, By year, By family and By popularity
have same problem.
- Jools
- Expert
- Posts: 16290
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 942
- My catfish: 237
- My cats species list: 88 (i:235, k:2)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 452
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Re: Bug in COTM dropdown menu
Ah, OK, the issue is with the index page that lists everything. Will look into that shortly.
Jools
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
-
- Posts: 255
- Joined: 19 Jan 2010, 06:39
- My cats species list: 12 (i:0, k:0)
- My aquaria list: 4 (i:0)
- My Wishlist: 1
- Location 1: Hooks, Texas
- Location 2: United States
COTM Article Liosomadoras oncinus
When I attempt to view this article "2008, October Liosomadoras oncinus Jaguar Catfish" I am taken to the October 2011 article for Rita chrysea. Looks like it is doing it no matter the COTM article I try to look at.
Catfish Addict Posing As Cichlid Enthusiast
- 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:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: COTM Article Liosomadoras oncinus
Can confirm that it's broken. I will see if I can spot something obvious. In talking to Jools the other day, sounded like he's going to be busy for a few days.
--
Mats
--
Mats
- 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:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: COTM Article Liosomadoras oncinus
Simple bug found & fixed.
@Jools: R610 [WARNING! R609 has special needs, see e-mail!]
--
Mats
@Jools: R610 [WARNING! R609 has special needs, see e-mail!]
--
Mats
-
- Posts: 6
- Joined: 22 Nov 2011, 04:07
- My cats species list: 8 (i:0, k:0)
- Location 1: Duluth, MN
- Location 2: USA
Re: COTM Article Liosomadoras oncinus
I'm finding that any catfish of the month link takes a user to the October 2011 article, so from where I sit, this bug is alive and well.
- 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: COTM Article Liosomadoras oncinus
Most likely Mats fixed it but it will not be implemented until Jools puts it through.I'm finding that any catfish of the month link takes a user to the October 2011 article, so from where I sit, this bug is alive and well.
Birger
Birger
- 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:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: COTM Article Liosomadoras oncinus
Indeed. Only Jools can upload the code to the actual site. I have provided Jools with a fix, but until it's uploaded to the site, it's not actually fixed. This is also why it's not been moved to "All resolved issues".Birger wrote:Most likely Mats fixed it but it will not be implemented until Jools puts it through.I'm finding that any catfish of the month link takes a user to the October 2011 article, so from where I sit, this bug is alive and well.
Birger
--
Mats
- 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:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: COTM Article Liosomadoras oncinus
I've merged the two reports on the same problem.
--
Mats
--
Mats
- sidguppy
- Posts: 3827
- Joined: 18 Jan 2004, 12:26
- My articles: 1
- My images: 28
- My aquaria list: 5 (i:0)
- Spotted: 9
- Location 1: Southern Netherlands near Belgium
- Location 2: Noord Brabant, Netherlands
- Interests: African catfishes and oddballs, Madagascar cichlids; stoner doom and heavy rock; old school choppers and riding them, fantasy novels, travelling and diving in the tropics and all things nature.
- Contact:
CotM links to only newest article...
ALL links in the list of CotM's go to the most recent entry.......
I tried reading a few older articles and all the links go to the newest
also, i tried to go from the catelog page of Synodontis granulosa and Corydoras sterbai to the CotM article covering that species and the same happened
we all end up at Rita chrysea
I tried reading a few older articles and all the links go to the newest
also, i tried to go from the catelog page of Synodontis granulosa and Corydoras sterbai to the CotM article covering that species and the same happened
we all end up at Rita chrysea
Valar Morghulis
- 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:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: CotM links to only newest article...
Yes, it's a known problem, there is already a bug for it, so I've merged all three reports together.
I have provided Jools with a fix, but he's been busy the last few days and not had time to upload it.
--
Mats
I have provided Jools with a fix, but he's been busy the last few days and not had time to upload it.
--
Mats
- 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:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: COTM Article viewing broken.
I also edited the title to make it more obvious that it's one problem for all COTM articles (the problem is that it's not picking up the "which artcile to view" correectly, thinking it has not been specified, which means that it thinks it should use the latest).
--
mats
--
mats
-
- Expert
- Posts: 5038
- Joined: 19 Dec 2004, 14:38
- My articles: 20
- My images: 61
- My catfish: 9
- Spotted: 35
- Location 2: Eindhoven, The Netherlands
Re: COTM Article viewing broken.
I would like to add that the current article gets every single hit for any CotM, which means that it has been "viewed" 6900+ times by now.....
- 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:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: COTM Article viewing broken.
That's probably the accurate number of views it's had - perhaps a little inflated due to people viewing it when they meant to view something else, but it's not on the "top 100" in popularity, and the top of the leader board has about 25000 views.
--
Mats
--
Mats
-
- Expert
- Posts: 5038
- Joined: 19 Dec 2004, 14:38
- My articles: 20
- My images: 61
- My catfish: 9
- Spotted: 35
- Location 2: Eindhoven, The Netherlands
Re: COTM Article viewing broken.
I bet you this "little" inflation is at least 70%, based on the numbers of other CotM's (L-numbers and probably Cories excluded).MatsP wrote:That's probably the accurate number of views it's had - perhaps a little inflated due to people viewing it when they meant to view something else
Which was reached in how many years?MatsP wrote: and the top of the leader board has about 25000 views.
- 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:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: COTM Article viewing broken.
Ah, but the "hits" as shown at the bottom of the page isn't hits on the COTM page, but hits on the Cat-eLog page that shows the species information (which is around 5 years old and 7000 hits isn't unrealistic). Unfortunately, I can't find a way to see the number of hits for the COTM page itself.Marc van Arc wrote:I bet you this "little" inflation is at least 70%, based on the numbers of other CotM's (L-numbers and probably Cories excluded).MatsP wrote:That's probably the accurate number of views it's had - perhaps a little inflated due to people viewing it when they meant to view something else
6 years, and it's almost 29000, for L204.Which was reached in how many years?MatsP wrote: and the top of the leader board has about 25000 views.
--
Mats
-
- Expert
- Posts: 5038
- Joined: 19 Dec 2004, 14:38
- My articles: 20
- My images: 61
- My catfish: 9
- Spotted: 35
- Location 2: Eindhoven, The Netherlands
Re: COTM Article viewing broken.
And that's of course 10 points for you. My bad, sorry for that.MatsP wrote:Ah, but the "hits" as shown at the bottom of the page isn't hits on the COTM page, but hits on the Cat-eLog page that shows the species information (which is around 5 years old and 7000 hits isn't unrealistic). Unfortunately, I can't find a way to see the number of hits for the COTM page itself.
- 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:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: COTM Article viewing broken.
No worries. I'd rather have a few false bug reports, than someone NOT reporting a real problem.Marc van Arc wrote:And that's of course 10 points for you. My bad, sorry for that.
--
Mats
- Jools
- Expert
- Posts: 16290
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 942
- My catfish: 237
- My cats species list: 88 (i:235, k:2)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 452
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Re: COTM Article viewing broken.
Thanks for the fix Mats but it didn't appear to work. However, there was one misspelling (ny me) of the variable article_id (as artice_id) which was the issue; the principle issue with links all going to the current CotM is fixed. There are a few tidy up activities (not least the hit counter issue) and I will attend to them soon.
For Mats - part of that is getting the update hit counter stuff into the forum framework. I'll do this over the next couple of days.
Let's keep this one unresolved until that's done?
Cheers,
Jools
For Mats - part of that is getting the update hit counter stuff into the forum framework. I'll do this over the next couple of days.
Let's keep this one unresolved until that's done?
Cheers,
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- 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:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: COTM Article viewing broken.
Ah, sorry, missed that - and I couldn't test it, because I have no COTM articles on my machine...Jools wrote:Thanks for the fix Mats but it didn't appear to work. However, there was one misspelling (ny me) of the variable article_id (as artice_id) which was the issue; the principle issue with links all going to the current CotM is fixed.
Re: hit counters, anything I can do - or will it take more time to explain it than to fix it?
--
Mats
- Jools
- Expert
- Posts: 16290
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 942
- My catfish: 237
- My cats species list: 88 (i:235, k:2)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 452
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Re: COTM Article viewing broken.
You could help Mats by just making the cotm.php code that's commented out work as (two? one?) new function within the forum framework.
The first bit (increment article hits) is crying out for a function (inc_article_hits?) as its used by all article pages. The second bit (the inc_contributor _hits) function just needs moved into common. There is a strong argument we only need one function that is passed table and counter field...
I am fixing an OLD problem with zebrapleco.com tonight and then it's on to getting the email alerts alerting!
You may also wish to consider "forumising" the cotm/index.php page.
Cheers,
Jools
The first bit (increment article hits) is crying out for a function (inc_article_hits?) as its used by all article pages. The second bit (the inc_contributor _hits) function just needs moved into common. There is a strong argument we only need one function that is passed table and counter field...
I am fixing an OLD problem with zebrapleco.com tonight and then it's on to getting the email alerts alerting!
You may also wish to consider "forumising" the cotm/index.php page.

Cheers,
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- 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:164)
- Spotted: 187
- Location 1: North of Cambridge
- Location 2: England.
Re: COTM Article viewing broken.
Ok. Will have a go. Probably not until tomorrow, as I'm doing some sort of combined drowning sorrows and celebrating the fact that me and my wife has an agreement on the finances. I've lost a bit of my Swedish savings, but not as much as it could have been. And I will get a fair bit of the house proceeds when it's sold - in 2024 or so.
But I also have to pay out another bit of money each month - but not as bad as it could have been there either.
--
Mats
But I also have to pay out another bit of money each month - but not as bad as it could have been there either.
--
Mats
- Jools
- Expert
- Posts: 16290
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 942
- My catfish: 237
- My cats species list: 88 (i:235, k:2)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 452
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Re: COTM Article viewing broken.
Probably best not to code!MatsP wrote:drowning sorrows and celebrating

Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- Martin S
- Posts: 2100
- Joined: 26 Mar 2003, 11:14
- I've donated: $20.00!
- My images: 9
- My cats species list: 90 (i:19, k:0)
- Spotted: 17
- Location 1: Guildford, Surrey
- Location 2: UK
- Interests: Aquatics
COTM Article viewing broken.
And me too! :0)Jools wrote:Probably best not to code!MatsP wrote:drowning sorrows and celebratingHave one for me.
Jools
~~~~<"))))<~~~~
- 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: COTM Article viewing broken.
At this time I am getting.....
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/cotm/cotm.php on line 36: require_once(../includes/new_functions/article_image_parse.php) [function.require-once]: failed to open stream: No such file or directory
Fatal error: require_once() [function.require]: Failed opening required '../includes/new_functions/article_image_parse.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/webcat/planetcatfish.com/cotm/cotm.php on line 36