Hi Eric,
it sounds like your accident could create a lot of hard to predict
problems along the way. I assume the problem was with the
systempreferences table? Maybe consider resetting your table with the
SQL included in the installer of the right version and re-configuring or
at least comparing to find the missing entries. Otherwise you might keep
running into issues.
Hope this helps,
Katrin
On 13.01.26 02:59, Eric Lease Morgan wrote:
How do I resolve the following two errors when
additional-contents.pl?category=news is called:
Use of uninitialized value $interface in concatenation (.) or
string at /usr/share/koha/lib/C4/Languages.pm line 122.
Use of uninitialized value $theme in concatenation (.) or
string at /usr/share/koha/lib/C4/Languages.pm line 122.
A long time ago I submitted the wrong CLI command at the wrong time, and I
believe I blew away many of Koha's preferences. Since then I have been able to
re-create a new super librarian, and thus I have regained access to the
administrative backend. Whew!
Now I want to use the Tools functions to create news. Apparently the command to
do this is:
<address>/cgi-bin/koha/tools/additional-contents.pl?category=news
Unfortunately, when submitted, the adminstrative interface returns HTTP error
500, and the error log includes the following two diagnostics:
Use of uninitialized value $interface in concatenation (.) or
string at /usr/share/koha/lib/C4/Languages.pm line 122.
Use of uninitialized value $theme in concatenation (.) or
string at /usr/share/koha/lib/C4/Languages.pm line 122.
Languages.pm seems to be called from additional-contents.pl and the error seems
to stem from the getTranslatedLanguages method.
Where do the values for $interface and $theme get initialized? Maybe something
in my database needs to be reset? I'm stumped, and any help would be
appreciated.
--
Eric Morgan
Infomotions, LLC
_______________________________________________
Koha mailing list http://koha-community.org
[email protected]
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________
Koha mailing list http://koha-community.org
[email protected]
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha