[Koha-bugs] [Bug 20727] Replace usage of File::Spec->tmpdir with C4::Context->temporary_directory

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 18 02:18:25 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20727

--- Comment #29 from David Cook <dcook at prosentient.com.au> ---
That's not it either as I have a newer CGI version than 4.08...

HTTP_USER_AGENT=stuff perl -c C4/Auth.pm
[Thu Oct 18 11:16:58 2018] Auth.pm: Subroutine psgi_env redefined at C4/Auth.pm
line 50.
[Thu Oct 18 11:16:58 2018] Auth.pm: Subroutine safe_exit redefined at
C4/Auth.pm line 52.
[Thu Oct 18 11:16:58 2018] Auth.pm: Subroutine get_template_and_user redefined
at C4/Auth.pm line 142.
[Thu Oct 18 11:16:58 2018] Auth.pm: Subroutine _version_check redefined at
C4/Auth.pm line 715.
[Thu Oct 18 11:16:58 2018] Auth.pm: Subroutine _session_log redefined at
C4/Auth.pm line 761.
[Thu Oct 18 11:16:58 2018] Auth.pm: Subroutine _timeout_syspref redefined at
C4/Auth.pm line 768.
[Thu Oct 18 11:16:58 2018] Auth.pm: Subroutine checkauth redefined at
C4/Auth.pm line 778.
[Thu Oct 18 11:16:58 2018] Auth.pm: Subroutine check_api_auth redefined at
C4/Auth.pm line 1387.
[Thu Oct 18 11:16:58 2018] Auth.pm: Subroutine check_cookie_auth redefined at
C4/Auth.pm line 1629.
Status: 500
Content-type: text/html

<h1>Software error:</h1>
<pre>Bareword "C4::Context::temporary_directory" not allowed while
"strict subs" in use at C4/Auth.pm line 1750.
BEGIN not safe after errors--compilation aborted at C4/Auth.pm line 1928.
</pre>
<p>
For help, please send mail to this site's webmaster, giving this error message
and the time and date of the error.

</p>
[Thu Oct 18 11:16:58 2018] Auth.pm: Bareword "C4::Context::temporary_directory"
not allowed while "strict subs" in use at C4/Auth.pm line 1750.
[Thu Oct 18 11:16:58 2018] Auth.pm: BEGIN not safe after errors--compilation
aborted at C4/Auth.pm line 1928.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list