[Koha] Common error handling in KOHA

Rejeesh K.Nair rejeeshknair at gmail.com
Fri Feb 3 18:11:00 NZDT 2017


Hi Barton Chittenden,

Thanks for your reply.

I am aware about the case you mentioned but that is not the thing.
The scenario is different in my case , I need to navigate to a common error
page when the application shows some error like "BEGIN failed--compilation
aborted at /usr/share/koha/intranet/cgi-bin/events/add_event.pl line 172"
You can see a sample error message which usually shows in KOHA for page not
found - 404 error. Same as this , could you please help me out to redirect
to a common  page whenever the above mentioned error occurs.

Regards,
Rejeesh K.Nair

On Thu, Feb 2, 2017 at 5:19 PM, Rejeesh K.Nair <rejeeshknair at gmail.com>
wrote:

> Hi Barton Chittenden,
>
> Thanks for your reply.
>
> I am aware about the case you mentioned but that is not the thing.
> The scenario is different in my case , I need to navigate to a common
> error page when the application shows some error like
> *"BEGIN failed--compilation aborted at
> /usr/share/koha/intranet/cgi-bin/events/add_event.pl <http://add_event.pl>
> line 172" *I have attached a sample error message which usually shows in
> KOHA for page not found - 404 error. Same as this , could you please help
> me out to redirect to a common  page whenever the above mentioned error
> occurs.
>
> Regards,
> Rejeesh K.Nair
>
>
> On Thu, Feb 2, 2017 at 4:21 AM, Barton Chittenden <
> barton at bywatersolutions.com> wrote:
>
>> Rajeesh,
>>
>> Perl errors are logged -- If you're on a package site running plack, the
>> errors will be in
>>
>>     /var/log/koha/<instance>/plack-error.log.
>>
>> If you're running a package site not on plack, look in
>>
>>     /var/log/koha/<instance>/intranet-error.log.
>>
>> If you're running git, try
>>
>>     sudo grep ErrorLog /etc/apache2/sites-enabled/*.conf
>>
>> ... this should point you to the correct file.
>>
>> On Wed, Feb 1, 2017 at 12:59 AM, Rejeesh K.Nair <rejeeshknair at gmail.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> I need to implement common error handling page in KOHA.
>>>
>>> The scenario is like , if we got an error which displays the folder
>>> structure  see for example
>>> *"usr/share/koha/intranet/cgi-bin/tools/batch_delete_records.pl
>>> <http://batch_delete_records.pl> line 91". *Folder structure error
>>> message
>>> might be the security flaw of our application.
>>>
>>>  Is it possible to redirect it to a common page whenever this scenario
>>> occurs? Kindly help me out to resolve this.
>>>
>>> Thanks & Regards,
>>>
>>> Rejeesh K.Nair
>>> m: +91 (0) ​9495316906
>>> e: rejeeshknair at gmail.com
>>> <https://www.facebook.com/rejeeshnairk> <https://twitter.com/rejeeshkn
>>> air>
>>> <http://in.linkedin.com/in/rejeeshknair>
>>> <https://www.instagram.com/rejeeshknair/>
>>> _______________________________________________
>>> Koha mailing list  http://koha-community.org
>>> Koha at lists.katipo.co.nz
>>> https://lists.katipo.co.nz/mailman/listinfo/koha
>>>
>>
>>
>
>
> --
> Thanks & Regards,
>
> Rejeesh K.Nair
> m: +91 (0) ​9495316906 <094953%2016906>
> e: rejeeshknair at gmail.com
> <https://www.facebook.com/rejeeshnairk> <https://twitter.com/rejeeshknair>
> <http://in.linkedin.com/in/rejeeshknair>
> <https://www.instagram.com/rejeeshknair/>
>
>


-- 
Thanks & Regards,

Rejeesh K.Nair
m: +91 (0) ​9495316906
e: rejeeshknair at gmail.com
<https://www.facebook.com/rejeeshnairk> <https://twitter.com/rejeeshknair>
<http://in.linkedin.com/in/rejeeshknair>
<https://www.instagram.com/rejeeshknair/>


More information about the Koha mailing list