Hi Jools,
Today I tried to add the new Microcambeva bendego to the CLOG. When I submitted the name I received the message "name not found" and a recommendation that I try adding new species (in other words, it circled me back to where I started).
Sorry,
Eric
Add new or undescribed species function is broken
- bekateen
- Posts: 9342
- Joined: 09 Sep 2014, 17:50
- I've donated: $40.00!
- My articles: 4
- My images: 142
- My cats species list: 145 (i:105, k:35)
- My aquaria list: 41 (i:18)
- My BLogs: 45 (i:152, p:2731)
- My Wishlist: 36
- Spotted: 183
- Location 1: USA, California, Stockton
- Location 2: USA, California, Stockton
- Contact:
Add new or undescribed species function is broken
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
- bekateen
- Posts: 9342
- Joined: 09 Sep 2014, 17:50
- I've donated: $40.00!
- My articles: 4
- My images: 142
- My cats species list: 145 (i:105, k:35)
- My aquaria list: 41 (i:18)
- My BLogs: 45 (i:152, p:2731)
- My Wishlist: 36
- Spotted: 183
- Location 1: USA, California, Stockton
- Location 2: USA, California, Stockton
- Contact:
Re: Add new or undescribed species function is broken
Hi Jools,
I can tell you're making progress. Today I tried it again (as a lark) and obtained this error:
I can tell you're making progress. Today I tried it again (as a lark) and obtained this error:
Cheers, EricFatal error: Uncaught Error: Call to undefined function get_family_from_id() in /home/webcat/planetcatfish.com/admin/functions/add_species.php:53 Stack trace: #0 /home/webcat/planetcatfish.com/admin/classes/add_new_species.php(61): add_species('microglanis aff...', false, NULL) #1 /home/webcat/planetcatfish.com/admin/index.php(352): add_new_species->submit(Object(phpbb\db\driver\factory)) #2 /home/webcat/planetcatfish.com/admin/index.php(298): arn_admin_guts('ans', Object(phpbb\db\driver\factory), Object(phpbb\user), '5.2.1') #3 {main} thrown in /home/webcat/planetcatfish.com/admin/functions/add_species.php on line 53
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
- 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: Add new or undescribed species function is broken
Hi Eric,
Thanks for noticing. It's a one of those "I can't deliver the spare part to fix the machine because the road is broken" type problems. I made a significant change in the background to how new species are created. So, now, you can't create a new species if that taxon exists as a synonym anywhere (e.g. in another family or even order) however, the code is so complex I basically need to rewrite it. This process is called refactoring and I do a lot of it! The basic "add a new species" code was written around 2005, by me, so it's not that brilliant and has a lot of duplication and non-standard bits in it.
I hope to get this up and running in a matter of days.
Cheers,
Jools
Thanks for noticing. It's a one of those "I can't deliver the spare part to fix the machine because the road is broken" type problems. I made a significant change in the background to how new species are created. So, now, you can't create a new species if that taxon exists as a synonym anywhere (e.g. in another family or even order) however, the code is so complex I basically need to rewrite it. This process is called refactoring and I do a lot of it! The basic "add a new species" code was written around 2005, by me, so it's not that brilliant and has a lot of duplication and non-standard bits in it.
I hope to get this up and running in a matter of days.
Cheers,
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- bekateen
- Posts: 9342
- Joined: 09 Sep 2014, 17:50
- I've donated: $40.00!
- My articles: 4
- My images: 142
- My cats species list: 145 (i:105, k:35)
- My aquaria list: 41 (i:18)
- My BLogs: 45 (i:152, p:2731)
- My Wishlist: 36
- Spotted: 183
- Location 1: USA, California, Stockton
- Location 2: USA, California, Stockton
- Contact:
Re: Add new or undescribed species function is broken
Hi Jools.
This function is working for me. If you're finished recoding it, I'd think it's resolved.
Thanks, Eric
This function is working for me. If you're finished recoding it, I'd think it's resolved.
Thanks, Eric
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