Created attachment 120842 [details] Code use in news under Mainblock. Dear Team, Under Tools Section under news, I added the HTML code after which the news page is continuously refreshing with error in the intranet-error.log file. -----Error---- [Tue May 11 15:24:30.028112 2021] [cgi:error] [pid 197008] [client 103.67.188.42:59320] AH01215: [Tue May 11 15:24:30 2021] koha-news.pl: Use of uninitialized value $theme in concatenation (.) or string at /usr/share/koha/lib/C4/Languages.pm line 122.: /usr/share/koha/intranet/cgi-bin/tools/koha-news.pl, referer: http://161.97.161.103:4859/cgi-bin/koha/tools/koha-news.pl [Tue May 11 15:24:30.029803 2021] [cgi:error] [pid 197008] [client 103.67.188.42:59320] AH01215: [Tue May 11 15:24:30 2021] koha-news.pl: Use of uninitialized value in string eq at /usr/share/koha/intranet/cgi-bin/tools/koha-news.pl line 85.: /usr/share/koha/intranet/cgi-bin/tools/koha-news.pl, referer: http://161.97.161.103:4859/cgi-bin/koha/tools/koha-news.pl -------------- I have attached the HTML code file name code.html that I added in the New under MailBlock.
The cause of the endless refreshing isn't in Koha, it's in your code. The line, "document.getElementById("defaultOpen").click();" seems to be to blame.
Dear Owen, Thanks for Quick Response. Now I am not able to access the News Part, how can I remove the code? Can I do it from the database, if yes which table the content will be. Regards, Sandeep Patel
Dear Owen, I found the html code under database table opac_news. After replacing the content the Issue Got resolved. Thanks Owen. Regards, Sandeep Patel