Page 1 of 1

Error message when moving/renaming a species

Posted: 28 Sep 2023, 19:47
by bekateen
Hi Jools,

Today I was going to fix an error in the CLOGs, wherein would get renamed to conform with its recently described new name, Loricaria nimairaco; as background, when the new species name was released, I didn't realize it was sp. Rio Atabapo, so I created a new CLOG page for nimairaco instead of renaming the old page.

Today, when I clicked on the rename button, I got this error message underneath the rename page:
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php on line 495: Undefined variable $article_text
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php on line 495: Undefined variable $article_text
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php on line 495: Undefined variable $article_text
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php on line 495: Undefined variable $article_text
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php on line 495: Undefined variable $article_text
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php on line 495: Undefined variable $article_text
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php on line 495: Undefined variable $article_text
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php on line 495: Undefined variable $article_text
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php on line 495: Undefined variable $article_text
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php on line 495: Undefined variable $article_text
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php on line 495: Undefined variable $article_text
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php on line 495: Undefined variable $article_text
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php on line 495: Undefined variable $article_text
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php on line 495: Undefined variable $article_text
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/classes/species_thumbnails.php on line 495: Undefined variable $article_text
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4191: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3031)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4191: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3031)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4191: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3031)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4191: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3031)
I didn't want to risk completing the move if it would mean some of the old data would get dropped, so I didn't rename the page yet. I'll wait until I get a green light from you on this to go forward.

Thanks,
Eric

Re: Error message when moving/renaming a species

Posted: 28 Sep 2023, 20:10
by Jools
Fortunately, this was fairly straightforward to fix. I've checked the rename worked with the new name too. So, all set!

Cheers,

Jools

Re: Error message when moving/renaming a species

Posted: 28 Sep 2023, 20:13
by bekateen
Thank you sir! :-)

Re: Error message when moving/renaming a species

Posted: 28 Sep 2023, 20:15
by bekateen
Follow up question. What is the PCF procedure for the old name (sp`Rio Atabapo`)? Do we preserve that by adding it as a common name? or something else (dump it all together? Doesn't seem wise).

Thanks,
Eric

Re: Error message when moving/renaming a species

Posted: 28 Sep 2023, 21:42
by Jools
Yes, add as common name. So but not the latin name. :-) Some have been added as a hidden synonym, but the best idea would just be a common name of Rio Atabapo Loricaria or similar.

Jools

Re: Error message when moving/renaming a species

Posted: 29 Sep 2023, 02:36
by bekateen
Thanks for this input.

So that all the old links in the forum don't become bad, it seems to me that adding it in two ways is appropriate:
  • Visible as Rio Atabapo Loricaria in the common names.
  • Hidden as Loricaria sp`Rio_Atabapo` in the list of synonyms.

By doing it this way, all the old CLOG tags ([ clog]Loricaria sp`Rio_Atabapo`[/clog]) in the forum should continue to be valid, but it should reduce the encouragement to reuse the name in future posts.

Alternatively, I'd prefer to add the latter as a hidden common name, but I see no option to hide common names.

Cheers, Eric

Re: Error message when moving/renaming a species

Posted: 29 Sep 2023, 08:46
by Jools
Yes, this works. That’s effectively what the hidden feature is for.

Jools