Page 1 of 1

Error message when updating keepers report

Posted: 05 Jul 2024, 17:12
by bekateen
Hi Jools,

Today I was updating my keeper's data on . I received this error message.
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/includes/my_fish_save.php on line 140: Undefined variable $alt
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/includes/my_fish_save.php on line 140: Undefined variable $alt
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4194: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3038)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4194: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3038)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4194: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3038)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4194: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3038)
Also, inexplicably, although the edit page shows in still keeping the fish (7 years now), the externally displayed data suggests I kept only a few months and the narrative comments have extra text.


This is what the external display shows:
(p: 2, k: 32) since 2017-04-03 to 2017-06-04, that's 0 years, 2 months; who writes, "After one month, lost one fish. Appeared to have bloat.", "Spawned once successfully. Behavior not observed."
This is what I see on the edit screen:
Keeping: from 2017-04-03 (to present)
Notes: Spawned once successfully. Behavior not observed.
Cheers, Eric

Re: Error message when updating keepers report

Posted: 08 Jul 2024, 21:19
by Jools
Fixed, the first one. The remainder need more brains! Will get to them soon.

Cheers,



Jools

Re: Error message when updating keepers report

Posted: 15 Feb 2025, 16:17
by Jools
I had a look at the second issue, it works for me. I thought possibly I fixed it since being reported, but when I look at that one record, it does show an incorrect date. Looking into it.

Cheers,

Jools

Re: Error message when updating keepers report

Posted: 15 Feb 2025, 19:54
by Jools
Hi Eric,

So, the issue here is what to do. There are two My Cats records belonging to you for . The first is was created 2017-05-09 and marked as stopped keeping, 2017-06-04. A second record was then created 2017-06-04 which are the fishes you have kept and bred. I am trying to figure out how to represent that on this page:

https://www.planetcatfish.com/common/my ... e=bekateen

I think it needs to ignore the record which you've stopped keeping, but if I do, then how long folks have kept the fish is lost. Maybe I need to make it work with multiple records.

Cheers,

Jools

Re: Error message when updating keepers report

Posted: 16 Feb 2025, 16:31
by bekateen
Hi Jools,

Thanks for the update. Yeah, I see the problem. I don't think merging this is best, but then I can't suggest how to fix it.

Cheers, Eric