Error message when adding foods to BLOG

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: 9328
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: 37 (i:14)
My BLogs: 45 (i:150, p:2729)
My Wishlist: 35
Spotted: 183
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Error message when adding foods to BLOG

Post by bekateen »

Hi Jools,

When I attempt to add a food to a BLOG, I receive this error message and am not able to complete the transaction.
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/includes/ajax_foods_suggest.php on line 25: Undefined variable $cnt
Cheers,
Eric
Attachments
Screenshot_20231001-204535_Chrome~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
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 adding foods to BLOG

Post by Jools »

Ah, a badly defined count. :-) :-) :-) Fixed now.

Cheers,

Jools
User avatar
bekateen
Posts: 9328
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: 37 (i:14)
My BLogs: 45 (i:150, p:2729)
My Wishlist: 35
Spotted: 183
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: Error message when adding foods to BLOG

Post by bekateen »

@Jools, sorry but it's still not working right. Although the error message doesn't appear anymore, what happens now is two things:

1) In previous versions of this function, as a person types a food name, a display would appear mentioning all existing entries in the food database that contained that word (including different name brands of commercially prepared food), so a person could select an existing food name instead of everyone trying to guess a properly-formatted name for the food. That display no longer occurs. Is that by design? Or another bug?

2) Although I'm able to type a food option into the entry line, when I press submit at the bottom of the page, instead of accepting my entry and adding the food to the data, the page recycles back to the Edit BLOG page as if I hadn't typed anything at all, and at the same time, there is no mention visible of the food I just tried to add.

As an UNRELATED bug, I see that when viewing (not editing) other BLOG pages, two things are not displaying:
1) Foods (maybe related to this bug here) and
2) The SL of babies ages 7 days, 14 days and 21 days. (By contrast, the SL of babies 1, 3 and 6 months are visible).

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 adding foods to BLOG

Post by Jools »

OK, will get on it. These look like secondary issues, in other words, problems caused by the fixes put in place to resolve the first set of errors etc. Disappointing (in myself) I've missed them, but there are so many (I'm past 4000 line edits in the last month). Keep reporting, I'll keep fixing - there is not much left to do now.

Cheers,

Jools
User avatar
bekateen
Posts: 9328
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: 37 (i:14)
My BLogs: 45 (i:150, p:2729)
My Wishlist: 35
Spotted: 183
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: Error message when adding foods to BLOG

Post by bekateen »

Thank you. 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 adding foods to BLOG

Post by Jools »

OK, using your log as the best test case.

I can see foods.

I have enhanced it to show further spawning reports.

The sizes you mention are missing, so looking into that.

Cheers,

Jools
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 adding foods to BLOG

Post by Jools »

I don't think those sizes have ever worked. There was a bug in there unrelated to recent PHP8 update stuff.

Anyway, fixed now.



Jools
User avatar
bekateen
Posts: 9328
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: 37 (i:14)
My BLogs: 45 (i:150, p:2729)
My Wishlist: 35
Spotted: 183
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: Error message when adding foods to BLOG

Post by bekateen »

Thanks!
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: 9328
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: 37 (i:14)
My BLogs: 45 (i:150, p:2729)
My Wishlist: 35
Spotted: 183
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: Error message when adding foods to BLOG

Post by bekateen »

Sorry to say, it's still not allowing me to add a food to a BLOG.

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 adding foods to BLOG

Post by Jools »

Ah, I didn't understand that bit - but clearly the important bit! :-) I've fixed it now.

Cheers,

Jools
Post Reply

Return to “All Resolved Issues”