Process Backgrounded 2026/07/30-11:39:34 Starman::Server (type Net::Server::PreFork) starting! pid(1213) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/30-11:46:31 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/30-11:46:31 Worker processes cleaned up 2026/07/30-11:46:31 Server closing! Process Backgrounded 2026/07/30-11:46:31 Starman::Server (type Net::Server::PreFork) starting! pid(4254) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/30-11:46:35 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/30-11:46:35 Worker processes cleaned up 2026/07/30-11:46:35 Server closing! Process Backgrounded 2026/07/30-11:46:35 Starman::Server (type Net::Server::PreFork) starting! pid(4361) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/30-13:38:54 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/30-13:38:54 Worker processes cleaned up 2026/07/30-13:38:54 Server closing! Process Backgrounded 2026/07/30-13:38:54 Starman::Server (type Net::Server::PreFork) starting! pid(11312) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/30-13:39:46 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/30-13:39:46 Worker processes cleaned up 2026/07/30-13:39:46 Server closing! Process Backgrounded 2026/07/30-13:39:47 Starman::Server (type Net::Server::PreFork) starting! pid(11933) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/30-17:11:54 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/30-17:11:54 Worker processes cleaned up 2026/07/30-17:11:54 Server closing! Process Backgrounded 2026/07/30-17:11:55 Starman::Server (type Net::Server::PreFork) starting! pid(20955) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/30-19:27:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/30-19:27:48 Worker processes cleaned up 2026/07/30-19:27:48 Server closing! Process Backgrounded 2026/07/30-19:27:51 Starman::Server (type Net::Server::PreFork) starting! pid(37313) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/30-19:41:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/30-19:41:28 Worker processes cleaned up 2026/07/30-19:41:28 Server closing! Process Backgrounded 2026/07/30-19:41:29 Starman::Server (type Net::Server::PreFork) starting! pid(44770) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/30-19:47:23 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/30-19:47:23 Worker processes cleaned up 2026/07/30-19:47:23 Server closing! Process Backgrounded 2026/07/30-19:47:25 Starman::Server (type Net::Server::PreFork) starting! pid(61045) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/30-19:52:05 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/30-19:52:05 Worker processes cleaned up 2026/07/30-19:52:05 Server closing! Process Backgrounded 2026/07/30-19:52:06 Starman::Server (type Net::Server::PreFork) starting! pid(75193) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/30-20:00:15 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/30-20:00:15 Worker processes cleaned up 2026/07/30-20:00:15 Server closing! Process Backgrounded 2026/07/30-20:00:16 Starman::Server (type Net::Server::PreFork) starting! pid(76452) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/30-20:00:37 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/30-20:00:37 Worker processes cleaned up 2026/07/30-20:00:37 Server closing! Process Backgrounded 2026/07/30-20:00:38 Starman::Server (type Net::Server::PreFork) starting! pid(82632) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/30-20:02:22 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/30-20:02:22 Worker processes cleaned up 2026/07/30-20:02:22 Server closing! Process Backgrounded 2026/07/30-20:02:23 Starman::Server (type Net::Server::PreFork) starting! pid(91337) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/30-20:08:47 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/30-20:08:47 Worker processes cleaned up 2026/07/30-20:08:47 Server closing! Process Backgrounded 2026/07/30-20:08:48 Starman::Server (type Net::Server::PreFork) starting! pid(99360) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/30-20:19:53 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/30-20:19:53 Worker processes cleaned up 2026/07/30-20:19:53 Server closing! Process Backgrounded 2026/07/30-20:19:54 Starman::Server (type Net::Server::PreFork) starting! pid(101665) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-04:23:26 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-04:23:26 Worker processes cleaned up 2026/07/31-04:23:26 Server closing! Process Backgrounded 2026/07/31-04:23:27 Starman::Server (type Net::Server::PreFork) starting! pid(162834) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-05:13:04 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-05:13:04 Worker processes cleaned up 2026/07/31-05:13:04 Server closing! Process Backgrounded 2026/07/31-05:13:05 Starman::Server (type Net::Server::PreFork) starting! pid(164052) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-05:15:20 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-05:15:20 Worker processes cleaned up 2026/07/31-05:15:20 Server closing! Process Backgrounded 2026/07/31-05:15:21 Starman::Server (type Net::Server::PreFork) starting! pid(165014) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-05:46:46 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-05:46:46 Worker processes cleaned up 2026/07/31-05:46:46 Server closing! Process Backgrounded 2026/07/31-05:46:47 Starman::Server (type Net::Server::PreFork) starting! pid(180229) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-05:48:36 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-05:48:36 Worker processes cleaned up 2026/07/31-05:48:36 Server closing! Process Backgrounded 2026/07/31-05:48:37 Starman::Server (type Net::Server::PreFork) starting! pid(180950) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-06:35:20 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-06:35:21 Worker processes cleaned up 2026/07/31-06:35:21 Server closing! Process Backgrounded 2026/07/31-06:35:22 Starman::Server (type Net::Server::PreFork) starting! pid(181932) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-06:36:38 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-06:36:38 Worker processes cleaned up 2026/07/31-06:36:38 Server closing! Process Backgrounded 2026/07/31-06:36:39 Starman::Server (type Net::Server::PreFork) starting! pid(195245) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-06:36:47 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-06:36:47 Worker processes cleaned up 2026/07/31-06:36:47 Server closing! Process Backgrounded 2026/07/31-06:36:49 Starman::Server (type Net::Server::PreFork) starting! pid(196486) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-07:18:31 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-07:18:31 Worker processes cleaned up 2026/07/31-07:18:31 Server closing! Process Backgrounded 2026/07/31-07:18:32 Starman::Server (type Net::Server::PreFork) starting! pid(198452) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-08:00:13 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-08:00:13 Worker processes cleaned up 2026/07/31-08:00:13 Server closing! Process Backgrounded 2026/07/31-08:00:15 Starman::Server (type Net::Server::PreFork) starting! pid(213693) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-08:01:35 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-08:01:36 Worker processes cleaned up 2026/07/31-08:01:36 Server closing! Process Backgrounded 2026/07/31-08:01:37 Starman::Server (type Net::Server::PreFork) starting! pid(214801) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-08:38:30 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-08:38:30 Worker processes cleaned up 2026/07/31-08:38:30 Server closing! Process Backgrounded 2026/07/31-08:38:31 Starman::Server (type Net::Server::PreFork) starting! pid(230243) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-08:38:42 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-08:38:42 Worker processes cleaned up 2026/07/31-08:38:42 Server closing! Process Backgrounded 2026/07/31-08:38:43 Starman::Server (type Net::Server::PreFork) starting! pid(230837) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-08:53:11 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-08:53:11 Worker processes cleaned up 2026/07/31-08:53:11 Server closing! Process Backgrounded 2026/07/31-08:53:11 Starman::Server (type Net::Server::PreFork) starting! pid(238994) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-09:29:22 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-09:29:22 Worker processes cleaned up 2026/07/31-09:29:22 Server closing! Process Backgrounded 2026/07/31-09:29:22 Starman::Server (type Net::Server::PreFork) starting! pid(240301) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-10:12:41 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-10:12:41 Worker processes cleaned up 2026/07/31-10:12:41 Server closing! Process Backgrounded 2026/07/31-10:12:43 Starman::Server (type Net::Server::PreFork) starting! pid(241468) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-10:41:42 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-10:41:42 Worker processes cleaned up 2026/07/31-10:41:42 Server closing! Process Backgrounded 2026/07/31-10:41:43 Starman::Server (type Net::Server::PreFork) starting! pid(256514) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-10:46:41 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-10:46:42 Worker processes cleaned up 2026/07/31-10:46:42 Server closing! Process Backgrounded 2026/07/31-10:46:44 Starman::Server (type Net::Server::PreFork) starting! pid(257155) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-11:31:14 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-11:31:15 Worker processes cleaned up 2026/07/31-11:31:15 Server closing! Process Backgrounded 2026/07/31-11:31:19 Starman::Server (type Net::Server::PreFork) starting! pid(272299) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-12:23:00 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-12:23:00 Worker processes cleaned up 2026/07/31-12:23:00 Server closing! Process Backgrounded 2026/07/31-12:23:01 Starman::Server (type Net::Server::PreFork) starting! pid(301877) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-13:00:26 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-13:00:27 Worker processes cleaned up 2026/07/31-13:00:27 Server closing! Process Backgrounded 2026/07/31-13:00:28 Starman::Server (type Net::Server::PreFork) starting! pid(324343) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-13:00:28 Pid_file already exists for running process (324343)... aborting at line 142 in file /usr/share/perl5/Net/Server.pm 2026/07/31-13:00:28 Received QUIT. Running a graceful shutdown 2026/07/31-13:00:28 Worker processes cleaned up 2026/07/31-13:00:28 Server closing! 2026/07/31-13:33:31 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-13:33:31 Worker processes cleaned up 2026/07/31-13:33:31 Server closing! Process Backgrounded 2026/07/31-13:33:32 Starman::Server (type Net::Server::PreFork) starting! pid(332624) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-13:39:51 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-13:39:51 Worker processes cleaned up 2026/07/31-13:39:51 Server closing! Process Backgrounded 2026/07/31-13:39:52 Starman::Server (type Net::Server::PreFork) starting! pid(333281) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-14:04:39 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-14:04:39 Worker processes cleaned up 2026/07/31-14:04:39 Server closing! Process Backgrounded 2026/07/31-14:04:40 Starman::Server (type Net::Server::PreFork) starting! pid(341677) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-14:31:12 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-14:31:12 Worker processes cleaned up 2026/07/31-14:31:12 Server closing! Process Backgrounded 2026/07/31-14:31:14 Starman::Server (type Net::Server::PreFork) starting! pid(343276) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-14:31:22 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-14:31:22 Worker processes cleaned up 2026/07/31-14:31:22 Server closing! Process Backgrounded 2026/07/31-14:31:25 Starman::Server (type Net::Server::PreFork) starting! pid(344036) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-15:11:45 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-15:11:45 Worker processes cleaned up 2026/07/31-15:11:45 Server closing! Process Backgrounded 2026/07/31-15:11:46 Starman::Server (type Net::Server::PreFork) starting! pid(365323) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-15:54:39 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-15:54:39 Worker processes cleaned up 2026/07/31-15:54:39 Server closing! Process Backgrounded 2026/07/31-15:54:40 Starman::Server (type Net::Server::PreFork) starting! pid(366836) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-15:54:44 Received QUIT. Running a graceful shutdown Sending children hup signal panic: fold_constants JMPENV_PUSH returned 2. Child process 366863 exited with status 29 2026/07/31-15:54:44 Worker processes cleaned up 2026/07/31-15:54:44 Server closing! Process Backgrounded 2026/07/31-15:54:46 Starman::Server (type Net::Server::PreFork) starting! pid(367350) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-15:54:47 Received QUIT. Running a graceful shutdown Sending children hup signal date: write error: Broken pipe 2026/07/31-15:54:48 Worker processes cleaned up 2026/07/31-15:54:48 Server closing! Process Backgrounded 2026/07/31-15:54:49 Starman::Server (type Net::Server::PreFork) starting! pid(367857) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-16:55:46 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-16:55:46 Worker processes cleaned up 2026/07/31-16:55:46 Server closing! Process Backgrounded 2026/07/31-16:55:47 Starman::Server (type Net::Server::PreFork) starting! pid(383428) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-17:41:08 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-17:41:08 Worker processes cleaned up 2026/07/31-17:41:08 Server closing! Process Backgrounded 2026/07/31-17:41:09 Starman::Server (type Net::Server::PreFork) starting! pid(413617) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-18:05:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-18:05:17 Worker processes cleaned up 2026/07/31-18:05:17 Server closing! Process Backgrounded 2026/07/31-18:05:18 Starman::Server (type Net::Server::PreFork) starting! pid(414940) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-18:05:20 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-18:05:20 Worker processes cleaned up 2026/07/31-18:05:20 Server closing! Process Backgrounded 2026/07/31-18:05:21 Starman::Server (type Net::Server::PreFork) starting! pid(415314) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-18:43:12 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-18:43:12 Worker processes cleaned up 2026/07/31-18:43:12 Server closing! Process Backgrounded 2026/07/31-18:43:13 Starman::Server (type Net::Server::PreFork) starting! pid(430966) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-19:23:59 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-19:23:59 Worker processes cleaned up 2026/07/31-19:23:59 Server closing! Process Backgrounded 2026/07/31-19:24:00 Starman::Server (type Net::Server::PreFork) starting! pid(468245) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-19:56:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-19:56:17 Worker processes cleaned up 2026/07/31-19:56:17 Server closing! Process Backgrounded 2026/07/31-19:56:18 Starman::Server (type Net::Server::PreFork) starting! pid(482949) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-20:09:58 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-20:09:58 Worker processes cleaned up 2026/07/31-20:09:58 Server closing! Process Backgrounded 2026/07/31-20:10:01 Starman::Server (type Net::Server::PreFork) starting! pid(484325) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-20:12:03 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-20:12:03 Worker processes cleaned up 2026/07/31-20:12:03 Server closing! Process Backgrounded 2026/07/31-20:12:04 Starman::Server (type Net::Server::PreFork) starting! pid(498809) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-21:14:21 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-21:14:22 Worker processes cleaned up 2026/07/31-21:14:22 Server closing! Process Backgrounded 2026/07/31-21:14:22 Starman::Server (type Net::Server::PreFork) starting! pid(550190) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-21:21:09 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-21:21:09 Worker processes cleaned up 2026/07/31-21:21:09 Server closing! Process Backgrounded 2026/07/31-21:21:09 Starman::Server (type Net::Server::PreFork) starting! pid(558158) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-21:45:42 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-21:45:42 Worker processes cleaned up 2026/07/31-21:45:42 Server closing! Process Backgrounded 2026/07/31-21:45:43 Starman::Server (type Net::Server::PreFork) starting! pid(566217) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-22:06:13 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-22:06:13 Worker processes cleaned up 2026/07/31-22:06:13 Server closing! Process Backgrounded 2026/07/31-22:06:14 Starman::Server (type Net::Server::PreFork) starting! pid(588807) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-22:21:38 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-22:21:39 Worker processes cleaned up 2026/07/31-22:21:39 Server closing! Process Backgrounded 2026/07/31-22:21:40 Starman::Server (type Net::Server::PreFork) starting! pid(589490) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-22:21:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-22:21:48 Worker processes cleaned up 2026/07/31-22:21:48 Server closing! Process Backgrounded 2026/07/31-22:21:50 Starman::Server (type Net::Server::PreFork) starting! pid(590069) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-22:21:59 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-22:21:59 Worker processes cleaned up 2026/07/31-22:21:59 Server closing! Process Backgrounded 2026/07/31-22:22:01 Starman::Server (type Net::Server::PreFork) starting! pid(590651) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-22:39:46 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-22:39:46 Worker processes cleaned up 2026/07/31-22:39:46 Server closing! Process Backgrounded 2026/07/31-22:39:47 Starman::Server (type Net::Server::PreFork) starting! pid(612573) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-23:06:18 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-23:06:18 Worker processes cleaned up 2026/07/31-23:06:18 Server closing! Process Backgrounded 2026/07/31-23:06:19 Starman::Server (type Net::Server::PreFork) starting! pid(635145) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-23:28:33 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-23:28:33 Worker processes cleaned up 2026/07/31-23:28:33 Server closing! Process Backgrounded 2026/07/31-23:28:34 Starman::Server (type Net::Server::PreFork) starting! pid(643559) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-23:29:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-23:29:24 Worker processes cleaned up 2026/07/31-23:29:24 Server closing! Process Backgrounded 2026/07/31-23:29:25 Starman::Server (type Net::Server::PreFork) starting! pid(644063) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-23:40:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-23:40:28 Worker processes cleaned up 2026/07/31-23:40:28 Server closing! Process Backgrounded 2026/07/31-23:40:29 Starman::Server (type Net::Server::PreFork) starting! pid(652275) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-23:40:37 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-23:40:37 Worker processes cleaned up 2026/07/31-23:40:37 Server closing! Process Backgrounded 2026/07/31-23:40:38 Starman::Server (type Net::Server::PreFork) starting! pid(652938) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/07/31-23:48:08 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/07/31-23:48:08 Worker processes cleaned up 2026/07/31-23:48:08 Server closing! Process Backgrounded 2026/07/31-23:48:09 Starman::Server (type Net::Server::PreFork) starting! pid(660865) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-00:13:40 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-00:13:40 Worker processes cleaned up 2026/08/01-00:13:40 Server closing! Process Backgrounded 2026/08/01-00:13:41 Starman::Server (type Net::Server::PreFork) starting! pid(669054) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-00:25:12 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-00:25:12 Worker processes cleaned up 2026/08/01-00:25:12 Server closing! Process Backgrounded 2026/08/01-00:25:13 Starman::Server (type Net::Server::PreFork) starting! pid(669687) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-01:06:32 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-01:06:32 Worker processes cleaned up 2026/08/01-01:06:32 Server closing! Process Backgrounded 2026/08/01-01:06:33 Starman::Server (type Net::Server::PreFork) starting! pid(678348) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-01:09:02 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-01:09:02 Worker processes cleaned up 2026/08/01-01:09:02 Server closing! Process Backgrounded 2026/08/01-01:09:06 Starman::Server (type Net::Server::PreFork) starting! pid(679439) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-01:54:26 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-01:54:26 Worker processes cleaned up 2026/08/01-01:54:26 Server closing! Process Backgrounded 2026/08/01-01:54:27 Starman::Server (type Net::Server::PreFork) starting! pid(722703) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-02:08:55 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-02:08:55 Worker processes cleaned up 2026/08/01-02:08:55 Server closing! Process Backgrounded 2026/08/01-02:08:56 Starman::Server (type Net::Server::PreFork) starting! pid(730734) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-02:28:13 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-02:28:13 Worker processes cleaned up 2026/08/01-02:28:13 Server closing! Process Backgrounded 2026/08/01-02:28:14 Starman::Server (type Net::Server::PreFork) starting! pid(738671) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-02:29:10 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-02:29:10 Worker processes cleaned up 2026/08/01-02:29:10 Server closing! Process Backgrounded 2026/08/01-02:29:11 Starman::Server (type Net::Server::PreFork) starting! pid(745229) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/01-02:34:10 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-02:34:10 Worker processes cleaned up 2026/08/01-02:34:10 Server closing! Process Backgrounded 2026/08/01-02:34:11 Starman::Server (type Net::Server::PreFork) starting! pid(747185) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-03:26:02 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-03:26:02 Worker processes cleaned up 2026/08/01-03:26:02 Server closing! Process Backgrounded 2026/08/01-03:26:03 Starman::Server (type Net::Server::PreFork) starting! pid(770500) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-03:59:55 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-03:59:55 Worker processes cleaned up 2026/08/01-03:59:55 Server closing! Process Backgrounded 2026/08/01-03:59:56 Starman::Server (type Net::Server::PreFork) starting! pid(793454) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-04:08:15 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-04:08:15 Worker processes cleaned up 2026/08/01-04:08:15 Server closing! Process Backgrounded 2026/08/01-04:08:16 Starman::Server (type Net::Server::PreFork) starting! pid(800927) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-04:19:39 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-04:19:40 Worker processes cleaned up 2026/08/01-04:19:40 Server closing! Process Backgrounded 2026/08/01-04:19:41 Starman::Server (type Net::Server::PreFork) starting! pid(823590) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-04:59:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-04:59:17 Worker processes cleaned up 2026/08/01-04:59:17 Server closing! Process Backgrounded 2026/08/01-04:59:18 Starman::Server (type Net::Server::PreFork) starting! pid(832426) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-05:49:51 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-05:49:51 Worker processes cleaned up 2026/08/01-05:49:51 Server closing! Process Backgrounded 2026/08/01-05:49:52 Starman::Server (type Net::Server::PreFork) starting! pid(847536) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-05:50:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-05:50:24 Worker processes cleaned up 2026/08/01-05:50:24 Server closing! Process Backgrounded 2026/08/01-05:50:25 Starman::Server (type Net::Server::PreFork) starting! pid(848117) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-06:25:53 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-06:25:54 Worker processes cleaned up 2026/08/01-06:25:54 Server closing! Process Backgrounded 2026/08/01-06:25:54 Starman::Server (type Net::Server::PreFork) starting! pid(856486) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-06:26:02 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-06:26:02 Worker processes cleaned up 2026/08/01-06:26:02 Server closing! Process Backgrounded 2026/08/01-06:26:03 Starman::Server (type Net::Server::PreFork) starting! pid(857061) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-06:52:13 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-06:52:13 Worker processes cleaned up 2026/08/01-06:52:13 Server closing! Process Backgrounded 2026/08/01-06:52:14 Starman::Server (type Net::Server::PreFork) starting! pid(872052) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-06:57:04 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-06:57:04 Worker processes cleaned up 2026/08/01-06:57:04 Server closing! Process Backgrounded 2026/08/01-06:57:05 Starman::Server (type Net::Server::PreFork) starting! pid(872625) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-07:04:25 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-07:04:26 Worker processes cleaned up 2026/08/01-07:04:26 Server closing! Process Backgrounded 2026/08/01-07:04:26 Starman::Server (type Net::Server::PreFork) starting! pid(880333) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-07:59:35 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-07:59:36 Worker processes cleaned up 2026/08/01-07:59:36 Server closing! Process Backgrounded 2026/08/01-07:59:36 Starman::Server (type Net::Server::PreFork) starting! pid(903442) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-07:59:37 Received QUIT. Running a graceful shutdown Sending children hup signal panic: fold_constants JMPENV_PUSH returned 2. Child process 903445 exited with status 29 2026/08/01-07:59:37 Worker processes cleaned up 2026/08/01-07:59:37 Server closing! Process Backgrounded 2026/08/01-07:59:38 Starman::Server (type Net::Server::PreFork) starting! pid(903875) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-08:55:23 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-08:55:23 Worker processes cleaned up 2026/08/01-08:55:23 Server closing! Process Backgrounded 2026/08/01-08:55:24 Starman::Server (type Net::Server::PreFork) starting! pid(929016) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-09:02:09 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-09:02:09 Worker processes cleaned up 2026/08/01-09:02:09 Server closing! Process Backgrounded 2026/08/01-09:02:10 Starman::Server (type Net::Server::PreFork) starting! pid(934942) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-10:00:23 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-10:00:23 Worker processes cleaned up 2026/08/01-10:00:23 Server closing! Process Backgrounded 2026/08/01-10:00:24 Starman::Server (type Net::Server::PreFork) starting! pid(957585) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-10:17:45 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-10:17:45 Worker processes cleaned up 2026/08/01-10:17:45 Server closing! Process Backgrounded 2026/08/01-10:17:46 Starman::Server (type Net::Server::PreFork) starting! pid(965420) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-12:23:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-12:23:18 Worker processes cleaned up 2026/08/01-12:23:18 Server closing! Process Backgrounded 2026/08/01-12:23:18 Starman::Server (type Net::Server::PreFork) starting! pid(1031735) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-13:55:16 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-13:55:16 Worker processes cleaned up 2026/08/01-13:55:16 Server closing! Process Backgrounded 2026/08/01-13:55:17 Starman::Server (type Net::Server::PreFork) starting! pid(1061863) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-15:25:43 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-15:25:43 Worker processes cleaned up 2026/08/01-15:25:43 Server closing! Process Backgrounded 2026/08/01-15:25:44 Starman::Server (type Net::Server::PreFork) starting! pid(1084776) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-15:25:44 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-15:25:44 Worker processes cleaned up 2026/08/01-15:25:44 Server closing! Process Backgrounded 2026/08/01-15:25:45 Starman::Server (type Net::Server::PreFork) starting! pid(1085115) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-15:25:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-15:25:48 Worker processes cleaned up 2026/08/01-15:25:48 Server closing! Process Backgrounded 2026/08/01-15:25:49 Starman::Server (type Net::Server::PreFork) starting! pid(1085776) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-16:13:26 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-16:13:26 Worker processes cleaned up 2026/08/01-16:13:26 Server closing! Process Backgrounded 2026/08/01-16:13:27 Starman::Server (type Net::Server::PreFork) starting! pid(1087189) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-16:55:46 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-16:55:46 Worker processes cleaned up 2026/08/01-16:55:46 Server closing! Process Backgrounded 2026/08/01-16:55:47 Starman::Server (type Net::Server::PreFork) starting! pid(1096154) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-16:57:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-16:57:24 Worker processes cleaned up 2026/08/01-16:57:24 Server closing! Process Backgrounded 2026/08/01-16:57:27 Starman::Server (type Net::Server::PreFork) starting! pid(1099081) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-17:04:37 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-17:04:37 Worker processes cleaned up 2026/08/01-17:04:37 Server closing! Process Backgrounded 2026/08/01-17:04:38 Starman::Server (type Net::Server::PreFork) starting! pid(1104696) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-17:10:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-17:10:17 Worker processes cleaned up 2026/08/01-17:10:17 Server closing! Process Backgrounded 2026/08/01-17:10:21 Starman::Server (type Net::Server::PreFork) starting! pid(1123469) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-17:21:14 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-17:21:14 Worker processes cleaned up 2026/08/01-17:21:14 Server closing! Process Backgrounded 2026/08/01-17:21:15 Starman::Server (type Net::Server::PreFork) starting! pid(1141991) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-17:24:55 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-17:24:55 Worker processes cleaned up 2026/08/01-17:24:55 Server closing! Process Backgrounded 2026/08/01-17:24:56 Starman::Server (type Net::Server::PreFork) starting! pid(1143565) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-17:25:27 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-17:25:27 Worker processes cleaned up 2026/08/01-17:25:27 Server closing! Process Backgrounded 2026/08/01-17:25:28 Starman::Server (type Net::Server::PreFork) starting! pid(1144228) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-17:29:25 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-17:29:25 Worker processes cleaned up 2026/08/01-17:29:25 Server closing! Process Backgrounded 2026/08/01-17:29:29 Starman::Server (type Net::Server::PreFork) starting! pid(1145679) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-17:37:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-17:37:28 Worker processes cleaned up 2026/08/01-17:37:28 Server closing! Process Backgrounded 2026/08/01-17:37:29 Starman::Server (type Net::Server::PreFork) starting! pid(1161050) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-17:59:37 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-17:59:38 Worker processes cleaned up 2026/08/01-17:59:38 Server closing! Process Backgrounded 2026/08/01-17:59:39 Starman::Server (type Net::Server::PreFork) starting! pid(1183966) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-18:01:12 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-18:01:12 Worker processes cleaned up 2026/08/01-18:01:12 Server closing! Process Backgrounded 2026/08/01-18:01:14 Starman::Server (type Net::Server::PreFork) starting! pid(1191345) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-18:05:03 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-18:05:03 Worker processes cleaned up 2026/08/01-18:05:03 Server closing! Process Backgrounded 2026/08/01-18:05:06 Starman::Server (type Net::Server::PreFork) starting! pid(1192582) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-18:15:36 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-18:15:36 Worker processes cleaned up 2026/08/01-18:15:36 Server closing! Process Backgrounded 2026/08/01-18:15:37 Starman::Server (type Net::Server::PreFork) starting! pid(1207193) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-18:21:04 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-18:21:04 Worker processes cleaned up 2026/08/01-18:21:04 Server closing! Process Backgrounded 2026/08/01-18:21:05 Starman::Server (type Net::Server::PreFork) starting! pid(1214989) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-18:25:53 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-18:25:53 Worker processes cleaned up 2026/08/01-18:25:53 Server closing! Process Backgrounded 2026/08/01-18:25:58 Starman::Server (type Net::Server::PreFork) starting! pid(1236957) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-18:26:37 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-18:26:38 Worker processes cleaned up 2026/08/01-18:26:38 Server closing! Process Backgrounded 2026/08/01-18:26:42 Starman::Server (type Net::Server::PreFork) starting! pid(1238676) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-18:27:29 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-18:27:29 Worker processes cleaned up 2026/08/01-18:27:29 Server closing! Process Backgrounded 2026/08/01-18:27:33 Starman::Server (type Net::Server::PreFork) starting! pid(1245088) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-18:30:33 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-18:30:33 Worker processes cleaned up 2026/08/01-18:30:33 Server closing! Process Backgrounded 2026/08/01-18:30:35 Starman::Server (type Net::Server::PreFork) starting! pid(1253153) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-18:32:27 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-18:32:27 Worker processes cleaned up 2026/08/01-18:32:27 Server closing! Process Backgrounded 2026/08/01-18:32:28 Starman::Server (type Net::Server::PreFork) starting! pid(1253775) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-18:47:10 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-18:47:10 Worker processes cleaned up 2026/08/01-18:47:10 Server closing! Process Backgrounded 2026/08/01-18:47:11 Starman::Server (type Net::Server::PreFork) starting! pid(1262210) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-19:16:25 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-19:16:25 Worker processes cleaned up 2026/08/01-19:16:25 Server closing! Process Backgrounded 2026/08/01-19:16:26 Starman::Server (type Net::Server::PreFork) starting! pid(1276791) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-19:19:03 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-19:19:03 Worker processes cleaned up 2026/08/01-19:19:03 Server closing! Process Backgrounded 2026/08/01-19:19:07 Starman::Server (type Net::Server::PreFork) starting! pid(1278726) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-19:31:51 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-19:31:51 Worker processes cleaned up 2026/08/01-19:31:51 Server closing! Process Backgrounded 2026/08/01-19:31:52 Starman::Server (type Net::Server::PreFork) starting! pid(1300934) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-19:32:02 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-19:32:02 Worker processes cleaned up 2026/08/01-19:32:02 Server closing! Process Backgrounded 2026/08/01-19:32:06 Starman::Server (type Net::Server::PreFork) starting! pid(1301616) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-19:33:18 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-19:33:18 Worker processes cleaned up 2026/08/01-19:33:18 Server closing! Process Backgrounded 2026/08/01-19:33:20 Starman::Server (type Net::Server::PreFork) starting! pid(1308927) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-20:13:44 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-20:13:45 Worker processes cleaned up 2026/08/01-20:13:45 Server closing! Process Backgrounded 2026/08/01-20:13:48 Starman::Server (type Net::Server::PreFork) starting! pid(1310617) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-20:16:59 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-20:17:00 Worker processes cleaned up 2026/08/01-20:17:00 Server closing! Process Backgrounded 2026/08/01-20:17:01 Starman::Server (type Net::Server::PreFork) starting! pid(1325426) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-20:21:50 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-20:21:50 Worker processes cleaned up 2026/08/01-20:21:50 Server closing! Process Backgrounded 2026/08/01-20:21:51 Starman::Server (type Net::Server::PreFork) starting! pid(1326043) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-20:25:50 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-20:25:50 Worker processes cleaned up 2026/08/01-20:25:50 Server closing! Process Backgrounded 2026/08/01-20:25:51 Starman::Server (type Net::Server::PreFork) starting! pid(1326956) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-20:32:08 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-20:32:08 Worker processes cleaned up 2026/08/01-20:32:08 Server closing! Process Backgrounded 2026/08/01-20:32:09 Starman::Server (type Net::Server::PreFork) starting! pid(1356268) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-20:34:30 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-20:34:30 Worker processes cleaned up 2026/08/01-20:34:30 Server closing! Process Backgrounded 2026/08/01-20:34:31 Starman::Server (type Net::Server::PreFork) starting! pid(1364142) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-21:27:25 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-21:27:26 Worker processes cleaned up 2026/08/01-21:27:26 Server closing! Process Backgrounded 2026/08/01-21:27:29 Starman::Server (type Net::Server::PreFork) starting! pid(1401238) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-21:31:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-21:31:17 Worker processes cleaned up 2026/08/01-21:31:17 Server closing! Process Backgrounded 2026/08/01-21:31:18 Starman::Server (type Net::Server::PreFork) starting! pid(1422659) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-21:32:52 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-21:32:52 Worker processes cleaned up 2026/08/01-21:32:52 Server closing! Process Backgrounded 2026/08/01-21:32:53 Starman::Server (type Net::Server::PreFork) starting! pid(1423719) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-21:35:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-21:35:28 Worker processes cleaned up 2026/08/01-21:35:28 Server closing! Process Backgrounded 2026/08/01-21:35:29 Starman::Server (type Net::Server::PreFork) starting! pid(1424518) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-21:39:29 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-21:39:29 Worker processes cleaned up 2026/08/01-21:39:29 Server closing! Process Backgrounded 2026/08/01-21:39:30 Starman::Server (type Net::Server::PreFork) starting! pid(1432310) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-22:06:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-22:06:28 Worker processes cleaned up 2026/08/01-22:06:28 Server closing! Process Backgrounded 2026/08/01-22:06:29 Starman::Server (type Net::Server::PreFork) starting! pid(1447945) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-22:30:27 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-22:30:27 Worker processes cleaned up 2026/08/01-22:30:27 Server closing! Process Backgrounded 2026/08/01-22:30:28 Starman::Server (type Net::Server::PreFork) starting! pid(1463421) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-22:40:09 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-22:40:09 Worker processes cleaned up 2026/08/01-22:40:09 Server closing! Process Backgrounded 2026/08/01-22:40:11 Starman::Server (type Net::Server::PreFork) starting! pid(1478601) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-22:43:36 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-22:43:36 Worker processes cleaned up 2026/08/01-22:43:36 Server closing! Process Backgrounded 2026/08/01-22:43:37 Starman::Server (type Net::Server::PreFork) starting! pid(1486733) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-22:56:58 Received QUIT. Running a graceful shutdown Sending children hup signal Child process 1486735 exited with status 0 - signal was 1 2026/08/01-22:56:58 Worker processes cleaned up 2026/08/01-22:56:58 Server closing! Process Backgrounded 2026/08/01-22:56:59 Starman::Server (type Net::Server::PreFork) starting! pid(1487431) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-23:12:54 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-23:12:54 Worker processes cleaned up 2026/08/01-23:12:54 Server closing! Process Backgrounded 2026/08/01-23:12:55 Starman::Server (type Net::Server::PreFork) starting! pid(1489184) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-23:15:21 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-23:15:21 Worker processes cleaned up 2026/08/01-23:15:21 Server closing! Process Backgrounded 2026/08/01-23:15:23 Starman::Server (type Net::Server::PreFork) starting! pid(1496962) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-23:22:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-23:22:48 Worker processes cleaned up 2026/08/01-23:22:48 Server closing! Process Backgrounded 2026/08/01-23:22:49 Starman::Server (type Net::Server::PreFork) starting! pid(1518726) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-23:32:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-23:32:24 Worker processes cleaned up 2026/08/01-23:32:24 Server closing! Process Backgrounded 2026/08/01-23:32:25 Starman::Server (type Net::Server::PreFork) starting! pid(1526778) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-23:39:56 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-23:39:56 Worker processes cleaned up 2026/08/01-23:39:56 Server closing! Process Backgrounded 2026/08/01-23:39:57 Starman::Server (type Net::Server::PreFork) starting! pid(1527474) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-23:58:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-23:58:24 Worker processes cleaned up 2026/08/01-23:58:24 Server closing! Process Backgrounded 2026/08/01-23:58:25 Starman::Server (type Net::Server::PreFork) starting! pid(1550439) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-23:58:35 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-23:58:35 Worker processes cleaned up 2026/08/01-23:58:35 Server closing! Process Backgrounded 2026/08/01-23:58:36 Starman::Server (type Net::Server::PreFork) starting! pid(1550946) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/01-23:59:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/01-23:59:24 Worker processes cleaned up 2026/08/01-23:59:24 Server closing! Process Backgrounded 2026/08/01-23:59:25 Starman::Server (type Net::Server::PreFork) starting! pid(1551483) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-00:06:26 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-00:06:26 Worker processes cleaned up 2026/08/02-00:06:26 Server closing! Process Backgrounded 2026/08/02-00:06:27 Starman::Server (type Net::Server::PreFork) starting! pid(1559598) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-00:48:49 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-00:48:49 Worker processes cleaned up 2026/08/02-00:48:49 Server closing! Process Backgrounded 2026/08/02-00:48:50 Starman::Server (type Net::Server::PreFork) starting! pid(1618245) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-01:26:51 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-01:26:51 Worker processes cleaned up 2026/08/02-01:26:51 Server closing! Process Backgrounded 2026/08/02-01:26:52 Starman::Server (type Net::Server::PreFork) starting! pid(1626472) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-01:36:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-01:36:25 Worker processes cleaned up 2026/08/02-01:36:25 Server closing! Process Backgrounded 2026/08/02-01:36:26 Starman::Server (type Net::Server::PreFork) starting! pid(1642286) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-01:39:50 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-01:39:50 Worker processes cleaned up 2026/08/02-01:39:50 Server closing! Process Backgrounded 2026/08/02-01:39:51 Starman::Server (type Net::Server::PreFork) starting! pid(1663820) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-02:38:19 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-02:38:19 Worker processes cleaned up 2026/08/02-02:38:19 Server closing! Process Backgrounded 2026/08/02-02:38:20 Starman::Server (type Net::Server::PreFork) starting! pid(1752083) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-02:39:45 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-02:39:45 Worker processes cleaned up 2026/08/02-02:39:45 Server closing! Process Backgrounded 2026/08/02-02:39:46 Starman::Server (type Net::Server::PreFork) starting! pid(1753197) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-02:40:27 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-02:40:27 Worker processes cleaned up 2026/08/02-02:40:27 Server closing! Process Backgrounded 2026/08/02-02:40:28 Starman::Server (type Net::Server::PreFork) starting! pid(1760120) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-03:08:14 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-03:08:14 Worker processes cleaned up 2026/08/02-03:08:14 Server closing! Process Backgrounded 2026/08/02-03:08:15 Starman::Server (type Net::Server::PreFork) starting! pid(1775554) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-03:39:41 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-03:39:41 Worker processes cleaned up 2026/08/02-03:39:41 Server closing! Process Backgrounded 2026/08/02-03:39:42 Starman::Server (type Net::Server::PreFork) starting! pid(1840885) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-03:49:33 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-03:49:33 Worker processes cleaned up 2026/08/02-03:49:33 Server closing! Process Backgrounded 2026/08/02-03:49:34 Starman::Server (type Net::Server::PreFork) starting! pid(1849076) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-04:29:59 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-04:29:59 Worker processes cleaned up 2026/08/02-04:29:59 Server closing! Process Backgrounded 2026/08/02-04:30:00 Starman::Server (type Net::Server::PreFork) starting! pid(1871644) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-04:32:35 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-04:32:35 Worker processes cleaned up 2026/08/02-04:32:35 Server closing! Process Backgrounded 2026/08/02-04:32:36 Starman::Server (type Net::Server::PreFork) starting! pid(1872274) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-04:34:09 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-04:34:09 Worker processes cleaned up 2026/08/02-04:34:09 Server closing! Process Backgrounded 2026/08/02-04:34:10 Starman::Server (type Net::Server::PreFork) starting! pid(1872873) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-04:34:11 Received QUIT. Running a graceful shutdown Sending children hup signal panic: fold_constants JMPENV_PUSH returned 2. panic: fold_constants JMPENV_PUSH returned 2. Child process 1872876 exited with status 29 Child process 1872875 exited with status 29 2026/08/02-04:34:11 Worker processes cleaned up 2026/08/02-04:34:11 Server closing! Process Backgrounded 2026/08/02-04:34:12 Starman::Server (type Net::Server::PreFork) starting! pid(1873224) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-04:35:00 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-04:35:00 Worker processes cleaned up 2026/08/02-04:35:00 Server closing! Process Backgrounded 2026/08/02-04:35:01 Starman::Server (type Net::Server::PreFork) starting! pid(1873952) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-04:36:11 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-04:36:11 Worker processes cleaned up 2026/08/02-04:36:11 Server closing! Process Backgrounded 2026/08/02-04:36:12 Starman::Server (type Net::Server::PreFork) starting! pid(1874558) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-04:42:23 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-04:42:23 Worker processes cleaned up 2026/08/02-04:42:23 Server closing! Process Backgrounded 2026/08/02-04:42:24 Starman::Server (type Net::Server::PreFork) starting! pid(1895815) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-04:55:27 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-04:55:27 Worker processes cleaned up 2026/08/02-04:55:27 Server closing! Process Backgrounded 2026/08/02-04:55:28 Starman::Server (type Net::Server::PreFork) starting! pid(1919112) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-05:01:36 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-05:01:36 Worker processes cleaned up 2026/08/02-05:01:36 Server closing! Process Backgrounded 2026/08/02-05:01:37 Starman::Server (type Net::Server::PreFork) starting! pid(1919861) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-05:16:00 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-05:16:01 Worker processes cleaned up 2026/08/02-05:16:01 Server closing! Process Backgrounded 2026/08/02-05:16:02 Starman::Server (type Net::Server::PreFork) starting! pid(1920669) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-05:25:45 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-05:25:45 Worker processes cleaned up 2026/08/02-05:25:45 Server closing! Process Backgrounded 2026/08/02-05:25:46 Starman::Server (type Net::Server::PreFork) starting! pid(1921311) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-05:33:51 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-05:33:51 Worker processes cleaned up 2026/08/02-05:33:51 Server closing! Process Backgrounded 2026/08/02-05:33:52 Starman::Server (type Net::Server::PreFork) starting! pid(1937220) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-05:42:49 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-05:42:50 Worker processes cleaned up 2026/08/02-05:42:50 Server closing! Process Backgrounded 2026/08/02-05:42:51 Starman::Server (type Net::Server::PreFork) starting! pid(1945314) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-05:51:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-05:51:17 Worker processes cleaned up 2026/08/02-05:51:17 Server closing! Process Backgrounded 2026/08/02-05:51:18 Starman::Server (type Net::Server::PreFork) starting! pid(1946206) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-05:55:27 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-05:55:27 Worker processes cleaned up 2026/08/02-05:55:27 Server closing! Process Backgrounded 2026/08/02-05:55:28 Starman::Server (type Net::Server::PreFork) starting! pid(1954151) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-05:55:28 Pid_file already exists for running process (1954151)... aborting at line 142 in file /usr/share/perl5/Net/Server.pm 2026/08/02-05:55:28 Received QUIT. Running a graceful shutdown 2026/08/02-05:55:28 Worker processes cleaned up 2026/08/02-05:55:28 Server closing! 2026/08/02-06:15:23 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-06:15:23 Worker processes cleaned up 2026/08/02-06:15:23 Server closing! Process Backgrounded 2026/08/02-06:15:24 Starman::Server (type Net::Server::PreFork) starting! pid(1954970) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-06:21:18 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-06:21:18 Worker processes cleaned up 2026/08/02-06:21:18 Server closing! Process Backgrounded 2026/08/02-06:21:20 Starman::Server (type Net::Server::PreFork) starting! pid(1955529) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/02-06:23:23 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-06:23:23 Worker processes cleaned up 2026/08/02-06:23:23 Server closing! Process Backgrounded 2026/08/02-06:23:24 Starman::Server (type Net::Server::PreFork) starting! pid(1956301) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-06:25:09 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-06:25:10 Worker processes cleaned up 2026/08/02-06:25:10 Server closing! Process Backgrounded 2026/08/02-06:25:12 Starman::Server (type Net::Server::PreFork) starting! pid(1957167) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-06:26:06 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-06:26:06 Worker processes cleaned up 2026/08/02-06:26:06 Server closing! Process Backgrounded 2026/08/02-06:26:10 Starman::Server (type Net::Server::PreFork) starting! pid(1957960) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-06:29:12 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-06:29:12 Worker processes cleaned up 2026/08/02-06:29:12 Server closing! Process Backgrounded 2026/08/02-06:29:13 Starman::Server (type Net::Server::PreFork) starting! pid(1972783) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-06:30:07 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-06:30:07 Worker processes cleaned up 2026/08/02-06:30:07 Server closing! Process Backgrounded 2026/08/02-06:30:09 Starman::Server (type Net::Server::PreFork) starting! pid(1973460) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-06:33:22 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-06:33:22 Worker processes cleaned up 2026/08/02-06:33:22 Server closing! Process Backgrounded 2026/08/02-06:33:23 Starman::Server (type Net::Server::PreFork) starting! pid(1974263) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-07:26:56 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-07:26:57 Worker processes cleaned up 2026/08/02-07:26:57 Server closing! Process Backgrounded 2026/08/02-07:26:58 Starman::Server (type Net::Server::PreFork) starting! pid(2040545) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-07:37:44 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-07:37:44 Worker processes cleaned up 2026/08/02-07:37:44 Server closing! Process Backgrounded 2026/08/02-07:37:47 Starman::Server (type Net::Server::PreFork) starting! pid(2063235) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-07:38:34 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-07:38:34 Worker processes cleaned up 2026/08/02-07:38:34 Server closing! Process Backgrounded 2026/08/02-07:38:35 Starman::Server (type Net::Server::PreFork) starting! pid(2063930) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-07:43:15 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-07:43:16 Worker processes cleaned up 2026/08/02-07:43:16 Server closing! Process Backgrounded 2026/08/02-07:43:17 Starman::Server (type Net::Server::PreFork) starting! pid(2065435) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-08:16:52 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-08:16:52 Worker processes cleaned up 2026/08/02-08:16:52 Server closing! Process Backgrounded 2026/08/02-08:16:54 Starman::Server (type Net::Server::PreFork) starting! pid(2080844) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-08:29:03 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-08:29:03 Worker processes cleaned up 2026/08/02-08:29:03 Server closing! Process Backgrounded 2026/08/02-08:29:04 Starman::Server (type Net::Server::PreFork) starting! pid(2095961) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-08:44:13 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-08:44:13 Worker processes cleaned up 2026/08/02-08:44:13 Server closing! Process Backgrounded 2026/08/02-08:44:15 Starman::Server (type Net::Server::PreFork) starting! pid(2110870) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-08:45:19 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-08:45:19 Worker processes cleaned up 2026/08/02-08:45:19 Server closing! Process Backgrounded 2026/08/02-08:45:21 Starman::Server (type Net::Server::PreFork) starting! pid(2112604) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-08:54:43 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-08:54:43 Worker processes cleaned up 2026/08/02-08:54:43 Server closing! Process Backgrounded 2026/08/02-08:54:44 Starman::Server (type Net::Server::PreFork) starting! pid(2142334) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-09:07:45 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-09:07:46 Worker processes cleaned up 2026/08/02-09:07:46 Server closing! Process Backgrounded 2026/08/02-09:07:50 Starman::Server (type Net::Server::PreFork) starting! pid(2186236) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-09:08:05 Received QUIT. Running a graceful shutdown Sending children hup signal Child process 2186239 exited with status 0 - signal was 1 2026/08/02-09:08:05 Worker processes cleaned up 2026/08/02-09:08:05 Server closing! Process Backgrounded 2026/08/02-09:08:10 Starman::Server (type Net::Server::PreFork) starting! pid(2186984) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-09:12:27 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-09:12:28 Worker processes cleaned up 2026/08/02-09:12:28 Server closing! Process Backgrounded 2026/08/02-09:12:33 Starman::Server (type Net::Server::PreFork) starting! pid(2215388) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-09:21:03 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-09:21:03 Worker processes cleaned up 2026/08/02-09:21:03 Server closing! Process Backgrounded 2026/08/02-09:21:08 Starman::Server (type Net::Server::PreFork) starting! pid(2251160) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/02-09:25:42 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-09:25:42 Worker processes cleaned up 2026/08/02-09:25:42 Server closing! Process Backgrounded 2026/08/02-09:25:43 Starman::Server (type Net::Server::PreFork) starting! pid(2260293) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-09:27:27 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-09:27:27 Worker processes cleaned up 2026/08/02-09:27:27 Server closing! Process Backgrounded 2026/08/02-09:27:28 Starman::Server (type Net::Server::PreFork) starting! pid(2260973) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-09:28:59 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-09:28:59 Worker processes cleaned up 2026/08/02-09:28:59 Server closing! Process Backgrounded 2026/08/02-09:29:00 Starman::Server (type Net::Server::PreFork) starting! pid(2261760) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-09:29:01 Received QUIT. Running a graceful shutdown Sending children hup signal panic: fold_constants JMPENV_PUSH returned 2. Child process 2261763 exited with status 29 2026/08/02-09:29:01 Worker processes cleaned up 2026/08/02-09:29:01 Server closing! Process Backgrounded 2026/08/02-09:29:02 Starman::Server (type Net::Server::PreFork) starting! pid(2262110) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-09:29:04 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-09:29:05 Worker processes cleaned up 2026/08/02-09:29:05 Server closing! Process Backgrounded 2026/08/02-09:29:06 Starman::Server (type Net::Server::PreFork) starting! pid(2262603) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/02-09:38:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-09:38:17 Worker processes cleaned up 2026/08/02-09:38:17 Server closing! Process Backgrounded 2026/08/02-09:38:22 Starman::Server (type Net::Server::PreFork) starting! pid(2285493) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-09:38:43 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-09:38:43 Worker processes cleaned up 2026/08/02-09:38:43 Server closing! Process Backgrounded 2026/08/02-09:38:47 Starman::Server (type Net::Server::PreFork) starting! pid(2286652) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-09:39:08 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-09:39:08 Worker processes cleaned up 2026/08/02-09:39:08 Server closing! Process Backgrounded 2026/08/02-09:39:13 Starman::Server (type Net::Server::PreFork) starting! pid(2290501) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-09:49:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-09:49:29 Worker processes cleaned up 2026/08/02-09:49:29 Server closing! Process Backgrounded 2026/08/02-09:49:29 Starman::Server (type Net::Server::PreFork) starting! pid(2301358) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-09:51:58 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-09:51:59 Worker processes cleaned up 2026/08/02-09:51:59 Server closing! Process Backgrounded 2026/08/02-09:52:00 Starman::Server (type Net::Server::PreFork) starting! pid(2302146) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-09:53:22 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-09:53:22 Worker processes cleaned up 2026/08/02-09:53:22 Server closing! Process Backgrounded 2026/08/02-09:53:23 Starman::Server (type Net::Server::PreFork) starting! pid(2302667) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-09:54:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-09:54:17 Worker processes cleaned up 2026/08/02-09:54:17 Server closing! Process Backgrounded 2026/08/02-09:54:19 Starman::Server (type Net::Server::PreFork) starting! pid(2303289) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-10:01:46 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-10:01:47 Worker processes cleaned up 2026/08/02-10:01:47 Server closing! Process Backgrounded 2026/08/02-10:01:50 Starman::Server (type Net::Server::PreFork) starting! pid(2332451) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-10:05:18 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-10:05:18 Worker processes cleaned up 2026/08/02-10:05:18 Server closing! Process Backgrounded 2026/08/02-10:05:22 Starman::Server (type Net::Server::PreFork) starting! pid(2347190) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-10:07:59 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-10:07:59 Worker processes cleaned up 2026/08/02-10:07:59 Server closing! Process Backgrounded 2026/08/02-10:08:00 Starman::Server (type Net::Server::PreFork) starting! pid(2348186) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-10:11:32 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-10:11:32 Worker processes cleaned up 2026/08/02-10:11:32 Server closing! Process Backgrounded 2026/08/02-10:11:35 Starman::Server (type Net::Server::PreFork) starting! pid(2362741) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-10:29:15 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-10:29:15 Worker processes cleaned up 2026/08/02-10:29:15 Server closing! Process Backgrounded 2026/08/02-10:29:16 Starman::Server (type Net::Server::PreFork) starting! pid(2400005) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-10:34:21 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-10:34:21 Worker processes cleaned up 2026/08/02-10:34:21 Server closing! Process Backgrounded 2026/08/02-10:34:26 Starman::Server (type Net::Server::PreFork) starting! pid(2422636) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-10:40:01 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-10:40:02 Worker processes cleaned up 2026/08/02-10:40:02 Server closing! Process Backgrounded 2026/08/02-10:40:08 Starman::Server (type Net::Server::PreFork) starting! pid(2445250) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-10:41:35 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-10:41:36 Worker processes cleaned up 2026/08/02-10:41:36 Server closing! Process Backgrounded 2026/08/02-10:41:41 Starman::Server (type Net::Server::PreFork) starting! pid(2452717) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-10:47:19 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-10:47:20 Worker processes cleaned up 2026/08/02-10:47:20 Server closing! Process Backgrounded 2026/08/02-10:47:27 Starman::Server (type Net::Server::PreFork) starting! pid(2483285) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-11:02:15 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-11:02:15 Worker processes cleaned up 2026/08/02-11:02:15 Server closing! Process Backgrounded 2026/08/02-11:02:19 Starman::Server (type Net::Server::PreFork) starting! pid(2526714) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-11:04:37 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-11:04:37 Worker processes cleaned up 2026/08/02-11:04:37 Server closing! Process Backgrounded 2026/08/02-11:04:38 Starman::Server (type Net::Server::PreFork) starting! pid(2535936) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-11:15:43 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-11:15:43 Worker processes cleaned up 2026/08/02-11:15:43 Server closing! Process Backgrounded 2026/08/02-11:15:46 Starman::Server (type Net::Server::PreFork) starting! pid(2565898) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-11:17:29 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-11:17:29 Worker processes cleaned up 2026/08/02-11:17:29 Server closing! Process Backgrounded 2026/08/02-11:17:33 Starman::Server (type Net::Server::PreFork) starting! pid(2566953) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-11:33:44 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-11:33:44 Worker processes cleaned up 2026/08/02-11:33:44 Server closing! Process Backgrounded 2026/08/02-11:33:45 Starman::Server (type Net::Server::PreFork) starting! pid(2610457) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-11:37:20 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-11:37:20 Worker processes cleaned up 2026/08/02-11:37:20 Server closing! Process Backgrounded 2026/08/02-11:37:23 Starman::Server (type Net::Server::PreFork) starting! pid(2625430) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-11:39:54 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-11:39:54 Worker processes cleaned up 2026/08/02-11:39:54 Server closing! Process Backgrounded 2026/08/02-11:39:55 Starman::Server (type Net::Server::PreFork) starting! pid(2632925) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-11:40:12 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-11:40:12 Worker processes cleaned up 2026/08/02-11:40:12 Server closing! Process Backgrounded 2026/08/02-11:40:13 Starman::Server (type Net::Server::PreFork) starting! pid(2633452) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-11:43:45 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-11:43:46 Worker processes cleaned up 2026/08/02-11:43:46 Server closing! Process Backgrounded 2026/08/02-11:43:47 Starman::Server (type Net::Server::PreFork) starting! pid(2634119) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-11:45:31 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-11:45:31 Worker processes cleaned up 2026/08/02-11:45:31 Server closing! Process Backgrounded 2026/08/02-11:45:32 Starman::Server (type Net::Server::PreFork) starting! pid(2634699) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-11:47:00 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-11:47:00 Worker processes cleaned up 2026/08/02-11:47:00 Server closing! Process Backgrounded 2026/08/02-11:47:02 Starman::Server (type Net::Server::PreFork) starting! pid(2641610) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-11:50:10 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-11:50:10 Worker processes cleaned up 2026/08/02-11:50:10 Server closing! Process Backgrounded 2026/08/02-11:50:12 Starman::Server (type Net::Server::PreFork) starting! pid(2643106) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-12:08:47 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-12:08:48 Worker processes cleaned up 2026/08/02-12:08:48 Server closing! Process Backgrounded 2026/08/02-12:08:53 Starman::Server (type Net::Server::PreFork) starting! pid(2686638) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-12:16:55 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-12:16:55 Worker processes cleaned up 2026/08/02-12:16:55 Server closing! Process Backgrounded 2026/08/02-12:16:58 Starman::Server (type Net::Server::PreFork) starting! pid(2706836) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-12:17:39 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-12:17:39 Worker processes cleaned up 2026/08/02-12:17:39 Server closing! Process Backgrounded 2026/08/02-12:17:42 Starman::Server (type Net::Server::PreFork) starting! pid(2711295) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-12:33:20 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-12:33:21 Worker processes cleaned up 2026/08/02-12:33:21 Server closing! Process Backgrounded 2026/08/02-12:33:25 Starman::Server (type Net::Server::PreFork) starting! pid(2762342) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-12:34:06 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-12:34:06 Worker processes cleaned up 2026/08/02-12:34:06 Server closing! Process Backgrounded 2026/08/02-12:34:10 Starman::Server (type Net::Server::PreFork) starting! pid(2763396) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/02-12:38:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-12:38:25 Worker processes cleaned up 2026/08/02-12:38:25 Server closing! Process Backgrounded 2026/08/02-12:38:30 Starman::Server (type Net::Server::PreFork) starting! pid(2785475) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-12:42:39 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-12:42:40 Worker processes cleaned up 2026/08/02-12:42:40 Server closing! Process Backgrounded 2026/08/02-12:42:43 Starman::Server (type Net::Server::PreFork) starting! pid(2794093) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-12:44:04 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-12:44:04 Worker processes cleaned up 2026/08/02-12:44:04 Server closing! Process Backgrounded 2026/08/02-12:44:06 Starman::Server (type Net::Server::PreFork) starting! pid(2794938) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-12:49:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-12:49:28 Worker processes cleaned up 2026/08/02-12:49:28 Server closing! Process Backgrounded 2026/08/02-12:49:30 Starman::Server (type Net::Server::PreFork) starting! pid(2803127) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-12:50:13 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-12:50:14 Worker processes cleaned up 2026/08/02-12:50:14 Server closing! Process Backgrounded 2026/08/02-12:50:15 Starman::Server (type Net::Server::PreFork) starting! pid(2803917) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-12:53:44 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-12:53:44 Worker processes cleaned up 2026/08/02-12:53:44 Server closing! Process Backgrounded 2026/08/02-12:53:50 Starman::Server (type Net::Server::PreFork) starting! pid(2820877) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-12:54:15 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-12:54:16 Worker processes cleaned up 2026/08/02-12:54:16 Server closing! Process Backgrounded 2026/08/02-12:54:21 Starman::Server (type Net::Server::PreFork) starting! pid(2825334) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-12:54:40 Received QUIT. Running a graceful shutdown Sending children hup signal Child process 2825343 exited with status 0 - signal was 1 2026/08/02-12:54:40 Worker processes cleaned up 2026/08/02-12:54:40 Server closing! Process Backgrounded 2026/08/02-12:54:45 Starman::Server (type Net::Server::PreFork) starting! pid(2826417) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-12:56:22 Received QUIT. Running a graceful shutdown Sending children hup signal Child process 2826420 exited with status 0 - signal was 1 2026/08/02-12:56:23 Worker processes cleaned up 2026/08/02-12:56:23 Server closing! Process Backgrounded 2026/08/02-12:56:27 Starman::Server (type Net::Server::PreFork) starting! pid(2828110) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-13:01:20 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-13:01:20 Worker processes cleaned up 2026/08/02-13:01:20 Server closing! Process Backgrounded 2026/08/02-13:01:27 Starman::Server (type Net::Server::PreFork) starting! pid(2843567) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-13:07:49 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-13:07:50 Worker processes cleaned up 2026/08/02-13:07:50 Server closing! Process Backgrounded 2026/08/02-13:07:56 Starman::Server (type Net::Server::PreFork) starting! pid(2873235) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-13:14:08 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-13:14:09 Worker processes cleaned up 2026/08/02-13:14:09 Server closing! Process Backgrounded 2026/08/02-13:14:13 Starman::Server (type Net::Server::PreFork) starting! pid(2915376) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-13:38:38 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-13:38:39 Worker processes cleaned up 2026/08/02-13:38:39 Server closing! Process Backgrounded 2026/08/02-13:38:40 Starman::Server (type Net::Server::PreFork) starting! pid(2975518) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-13:40:11 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-13:40:11 Worker processes cleaned up 2026/08/02-13:40:11 Server closing! Process Backgrounded 2026/08/02-13:40:12 Starman::Server (type Net::Server::PreFork) starting! pid(2983040) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-13:43:06 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-13:43:06 Worker processes cleaned up 2026/08/02-13:43:06 Server closing! Process Backgrounded 2026/08/02-13:43:07 Starman::Server (type Net::Server::PreFork) starting! pid(2983697) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-13:44:35 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-13:44:35 Worker processes cleaned up 2026/08/02-13:44:35 Server closing! Process Backgrounded 2026/08/02-13:44:36 Starman::Server (type Net::Server::PreFork) starting! pid(2984260) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-13:45:36 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-13:45:36 Worker processes cleaned up 2026/08/02-13:45:36 Server closing! Process Backgrounded 2026/08/02-13:45:37 Starman::Server (type Net::Server::PreFork) starting! pid(2985266) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-13:49:09 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-13:49:10 Worker processes cleaned up 2026/08/02-13:49:10 Server closing! Process Backgrounded 2026/08/02-13:49:15 Starman::Server (type Net::Server::PreFork) starting! pid(3012923) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-13:49:43 Received QUIT. Running a graceful shutdown Sending children hup signal panic: fold_constants JMPENV_PUSH returned 2. Child process 3012926 exited with status 29 2026/08/02-13:49:43 Worker processes cleaned up 2026/08/02-13:49:43 Server closing! Process Backgrounded 2026/08/02-13:49:48 Starman::Server (type Net::Server::PreFork) starting! pid(3014071) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-13:51:39 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-13:51:39 Worker processes cleaned up 2026/08/02-13:51:39 Server closing! Process Backgrounded 2026/08/02-13:51:41 Starman::Server (type Net::Server::PreFork) starting! pid(3015469) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-13:52:32 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-13:52:33 Worker processes cleaned up 2026/08/02-13:52:33 Server closing! Process Backgrounded 2026/08/02-13:52:37 Starman::Server (type Net::Server::PreFork) starting! pid(3022550) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-13:58:09 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-13:58:09 Worker processes cleaned up 2026/08/02-13:58:09 Server closing! Process Backgrounded 2026/08/02-13:58:10 Starman::Server (type Net::Server::PreFork) starting! pid(3030728) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-14:14:04 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-14:14:04 Worker processes cleaned up 2026/08/02-14:14:04 Server closing! Process Backgrounded 2026/08/02-14:14:06 Starman::Server (type Net::Server::PreFork) starting! pid(3069050) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-14:16:02 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-14:16:02 Worker processes cleaned up 2026/08/02-14:16:02 Server closing! Process Backgrounded 2026/08/02-14:16:03 Starman::Server (type Net::Server::PreFork) starting! pid(3069741) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-14:18:53 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-14:18:53 Worker processes cleaned up 2026/08/02-14:18:53 Server closing! Process Backgrounded 2026/08/02-14:18:58 Starman::Server (type Net::Server::PreFork) starting! pid(3077714) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-14:25:08 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-14:25:08 Worker processes cleaned up 2026/08/02-14:25:08 Server closing! Process Backgrounded 2026/08/02-14:25:13 Starman::Server (type Net::Server::PreFork) starting! pid(3105165) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-14:25:19 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-14:25:19 Worker processes cleaned up 2026/08/02-14:25:19 Server closing! Process Backgrounded 2026/08/02-14:25:23 Starman::Server (type Net::Server::PreFork) starting! pid(3108398) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/02-14:29:42 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-14:29:42 Worker processes cleaned up 2026/08/02-14:29:42 Server closing! Process Backgrounded 2026/08/02-14:29:43 Starman::Server (type Net::Server::PreFork) starting! pid(3116261) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-14:30:54 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-14:30:54 Worker processes cleaned up 2026/08/02-14:30:54 Server closing! Process Backgrounded 2026/08/02-14:30:56 Starman::Server (type Net::Server::PreFork) starting! pid(3117316) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-14:39:07 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-14:39:08 Worker processes cleaned up 2026/08/02-14:39:08 Server closing! Process Backgrounded 2026/08/02-14:39:12 Starman::Server (type Net::Server::PreFork) starting! pid(3139474) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-14:39:40 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-14:39:41 Worker processes cleaned up 2026/08/02-14:39:41 Server closing! Process Backgrounded 2026/08/02-14:39:45 Starman::Server (type Net::Server::PreFork) starting! pid(3140436) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-14:40:21 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-14:40:21 Worker processes cleaned up 2026/08/02-14:40:21 Server closing! Process Backgrounded 2026/08/02-14:40:25 Starman::Server (type Net::Server::PreFork) starting! pid(3145990) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-14:41:16 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-14:41:16 Worker processes cleaned up 2026/08/02-14:41:16 Server closing! Process Backgrounded 2026/08/02-14:41:17 Starman::Server (type Net::Server::PreFork) starting! pid(3148356) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-14:43:25 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-14:43:25 Worker processes cleaned up 2026/08/02-14:43:25 Server closing! Process Backgrounded 2026/08/02-14:43:26 Starman::Server (type Net::Server::PreFork) starting! pid(3149041) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-14:45:13 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-14:45:13 Worker processes cleaned up 2026/08/02-14:45:13 Server closing! Process Backgrounded 2026/08/02-14:45:17 Starman::Server (type Net::Server::PreFork) starting! pid(3156524) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-14:49:33 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-14:49:33 Worker processes cleaned up 2026/08/02-14:49:33 Server closing! Process Backgrounded 2026/08/02-14:49:37 Starman::Server (type Net::Server::PreFork) starting! pid(3168698) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-15:01:23 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-15:01:24 Worker processes cleaned up 2026/08/02-15:01:24 Server closing! Process Backgrounded 2026/08/02-15:01:29 Starman::Server (type Net::Server::PreFork) starting! pid(3215958) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-15:01:47 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-15:01:48 Worker processes cleaned up 2026/08/02-15:01:48 Server closing! Process Backgrounded 2026/08/02-15:01:53 Starman::Server (type Net::Server::PreFork) starting! pid(3220173) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-15:02:13 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-15:02:13 Worker processes cleaned up 2026/08/02-15:02:13 Server closing! Process Backgrounded 2026/08/02-15:02:18 Starman::Server (type Net::Server::PreFork) starting! pid(3225623) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-15:05:02 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-15:05:02 Worker processes cleaned up 2026/08/02-15:05:02 Server closing! Process Backgrounded 2026/08/02-15:05:04 Starman::Server (type Net::Server::PreFork) starting! pid(3231952) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-15:08:39 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-15:08:39 Worker processes cleaned up 2026/08/02-15:08:39 Server closing! Process Backgrounded 2026/08/02-15:08:44 Starman::Server (type Net::Server::PreFork) starting! pid(3246565) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-15:11:36 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-15:11:37 Worker processes cleaned up 2026/08/02-15:11:37 Server closing! Process Backgrounded 2026/08/02-15:11:42 Starman::Server (type Net::Server::PreFork) starting! pid(3261234) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-15:11:58 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-15:11:58 Worker processes cleaned up 2026/08/02-15:11:58 Server closing! Process Backgrounded 2026/08/02-15:12:02 Starman::Server (type Net::Server::PreFork) starting! pid(3262141) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-15:12:51 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-15:12:52 Worker processes cleaned up 2026/08/02-15:12:52 Server closing! Process Backgrounded 2026/08/02-15:12:56 Starman::Server (type Net::Server::PreFork) starting! pid(3263319) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-15:13:27 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-15:13:28 Worker processes cleaned up 2026/08/02-15:13:28 Server closing! Process Backgrounded 2026/08/02-15:13:29 Starman::Server (type Net::Server::PreFork) starting! pid(3264017) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-15:15:57 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-15:15:57 Worker processes cleaned up 2026/08/02-15:15:57 Server closing! Process Backgrounded 2026/08/02-15:16:01 Starman::Server (type Net::Server::PreFork) starting! pid(3270093) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-15:23:43 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-15:23:43 Worker processes cleaned up 2026/08/02-15:23:43 Server closing! Process Backgrounded 2026/08/02-15:23:44 Starman::Server (type Net::Server::PreFork) starting! pid(3293902) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-15:27:13 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-15:27:13 Worker processes cleaned up 2026/08/02-15:27:13 Server closing! Process Backgrounded 2026/08/02-15:27:16 Starman::Server (type Net::Server::PreFork) starting! pid(3308966) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-15:28:11 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-15:28:11 Worker processes cleaned up 2026/08/02-15:28:11 Server closing! Process Backgrounded 2026/08/02-15:28:12 Starman::Server (type Net::Server::PreFork) starting! pid(3309919) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-15:28:20 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-15:28:20 Worker processes cleaned up 2026/08/02-15:28:20 Server closing! Process Backgrounded 2026/08/02-15:28:21 Starman::Server (type Net::Server::PreFork) starting! pid(3310418) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-15:32:06 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-15:32:06 Worker processes cleaned up 2026/08/02-15:32:06 Server closing! Process Backgrounded 2026/08/02-15:32:07 Starman::Server (type Net::Server::PreFork) starting! pid(3311434) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-15:50:59 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-15:50:59 Worker processes cleaned up 2026/08/02-15:50:59 Server closing! Process Backgrounded 2026/08/02-15:51:04 Starman::Server (type Net::Server::PreFork) starting! pid(3367047) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-16:03:22 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-16:03:22 Worker processes cleaned up 2026/08/02-16:03:22 Server closing! Process Backgrounded 2026/08/02-16:03:27 Starman::Server (type Net::Server::PreFork) starting! pid(3434843) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-16:04:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-16:04:49 Worker processes cleaned up 2026/08/02-16:04:49 Server closing! Process Backgrounded 2026/08/02-16:04:53 Starman::Server (type Net::Server::PreFork) starting! pid(3442446) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-16:07:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-16:07:49 Worker processes cleaned up 2026/08/02-16:07:49 Server closing! Process Backgrounded 2026/08/02-16:07:54 Starman::Server (type Net::Server::PreFork) starting! pid(3452640) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-16:15:40 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-16:15:40 Worker processes cleaned up 2026/08/02-16:15:40 Server closing! Process Backgrounded 2026/08/02-16:15:43 Starman::Server (type Net::Server::PreFork) starting! pid(3478888) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-16:17:14 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-16:17:14 Worker processes cleaned up 2026/08/02-16:17:14 Server closing! Process Backgrounded 2026/08/02-16:17:15 Starman::Server (type Net::Server::PreFork) starting! pid(3480155) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-16:20:32 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-16:20:32 Worker processes cleaned up 2026/08/02-16:20:32 Server closing! Process Backgrounded 2026/08/02-16:20:33 Starman::Server (type Net::Server::PreFork) starting! pid(3480966) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-16:22:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-16:22:48 Worker processes cleaned up 2026/08/02-16:22:48 Server closing! Process Backgrounded 2026/08/02-16:22:50 Starman::Server (type Net::Server::PreFork) starting! pid(3481771) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-16:25:51 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-16:25:51 Worker processes cleaned up 2026/08/02-16:25:51 Server closing! Process Backgrounded 2026/08/02-16:25:52 Starman::Server (type Net::Server::PreFork) starting! pid(3482581) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-16:28:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-16:28:48 Worker processes cleaned up 2026/08/02-16:28:48 Server closing! Process Backgrounded 2026/08/02-16:28:49 Starman::Server (type Net::Server::PreFork) starting! pid(3497280) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-16:39:47 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-16:39:47 Worker processes cleaned up 2026/08/02-16:39:47 Server closing! Process Backgrounded 2026/08/02-16:39:52 Starman::Server (type Net::Server::PreFork) starting! pid(3541902) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-16:40:10 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-16:40:11 Worker processes cleaned up 2026/08/02-16:40:11 Server closing! Process Backgrounded 2026/08/02-16:40:16 Starman::Server (type Net::Server::PreFork) starting! pid(3542977) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-16:41:47 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-16:41:47 Worker processes cleaned up 2026/08/02-16:41:47 Server closing! Process Backgrounded 2026/08/02-16:41:51 Starman::Server (type Net::Server::PreFork) starting! pid(3550619) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-16:46:57 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-16:46:57 Worker processes cleaned up 2026/08/02-16:46:57 Server closing! Process Backgrounded 2026/08/02-16:47:03 Starman::Server (type Net::Server::PreFork) starting! pid(3584990) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-16:51:47 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-16:51:47 Worker processes cleaned up 2026/08/02-16:51:47 Server closing! Process Backgrounded 2026/08/02-16:51:48 Starman::Server (type Net::Server::PreFork) starting! pid(3587925) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-16:52:08 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-16:52:09 Worker processes cleaned up 2026/08/02-16:52:09 Server closing! Process Backgrounded 2026/08/02-16:52:10 Starman::Server (type Net::Server::PreFork) starting! pid(3588457) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-17:02:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-17:02:49 Worker processes cleaned up 2026/08/02-17:02:49 Server closing! Process Backgrounded 2026/08/02-17:02:56 Starman::Server (type Net::Server::PreFork) starting! pid(3627697) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-17:06:01 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-17:06:02 Worker processes cleaned up 2026/08/02-17:06:02 Server closing! Process Backgrounded 2026/08/02-17:06:09 Starman::Server (type Net::Server::PreFork) starting! pid(3659796) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-17:19:52 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-17:19:53 Worker processes cleaned up 2026/08/02-17:19:53 Server closing! Process Backgrounded 2026/08/02-17:19:59 Starman::Server (type Net::Server::PreFork) starting! pid(3721100) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-17:20:02 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-17:20:02 Worker processes cleaned up 2026/08/02-17:20:02 Server closing! Process Backgrounded 2026/08/02-17:20:07 Starman::Server (type Net::Server::PreFork) starting! pid(3722507) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-17:35:52 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-17:35:52 Worker processes cleaned up 2026/08/02-17:35:52 Server closing! Process Backgrounded 2026/08/02-17:35:53 Starman::Server (type Net::Server::PreFork) starting! pid(3785221) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-17:40:21 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-17:40:21 Worker processes cleaned up 2026/08/02-17:40:21 Server closing! Process Backgrounded 2026/08/02-17:40:23 Starman::Server (type Net::Server::PreFork) starting! pid(3793193) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-17:51:15 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-17:51:15 Worker processes cleaned up 2026/08/02-17:51:15 Server closing! Process Backgrounded 2026/08/02-17:51:22 Starman::Server (type Net::Server::PreFork) starting! pid(3849565) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-17:51:27 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-17:51:27 Worker processes cleaned up 2026/08/02-17:51:27 Server closing! Process Backgrounded 2026/08/02-17:51:33 Starman::Server (type Net::Server::PreFork) starting! pid(3850140) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-17:54:38 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-17:54:39 Worker processes cleaned up 2026/08/02-17:54:39 Server closing! Process Backgrounded 2026/08/02-17:54:40 Starman::Server (type Net::Server::PreFork) starting! pid(3859399) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-18:01:05 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-18:01:06 Worker processes cleaned up 2026/08/02-18:01:06 Server closing! Process Backgrounded 2026/08/02-18:01:09 Starman::Server (type Net::Server::PreFork) starting! pid(3874810) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-18:02:33 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-18:02:34 Worker processes cleaned up 2026/08/02-18:02:34 Server closing! Process Backgrounded 2026/08/02-18:02:35 Starman::Server (type Net::Server::PreFork) starting! pid(3876120) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-18:02:35 Pid_file already exists for running process (3876120)... aborting at line 142 in file /usr/share/perl5/Net/Server.pm 2026/08/02-18:02:35 Received QUIT. Running a graceful shutdown 2026/08/02-18:02:35 Worker processes cleaned up 2026/08/02-18:02:35 Server closing! 2026/08/02-18:03:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-18:03:28 Worker processes cleaned up 2026/08/02-18:03:28 Server closing! Process Backgrounded 2026/08/02-18:03:31 Starman::Server (type Net::Server::PreFork) starting! pid(3883338) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-18:09:16 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-18:09:16 Worker processes cleaned up 2026/08/02-18:09:16 Server closing! Process Backgrounded 2026/08/02-18:09:20 Starman::Server (type Net::Server::PreFork) starting! pid(3903852) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-18:16:11 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-18:16:12 Worker processes cleaned up 2026/08/02-18:16:12 Server closing! Process Backgrounded 2026/08/02-18:16:13 Starman::Server (type Net::Server::PreFork) starting! pid(3907082) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-18:22:41 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-18:22:41 Worker processes cleaned up 2026/08/02-18:22:41 Server closing! Process Backgrounded 2026/08/02-18:22:42 Starman::Server (type Net::Server::PreFork) starting! pid(3907767) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-18:24:45 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-18:24:45 Worker processes cleaned up 2026/08/02-18:24:45 Server closing! Process Backgrounded 2026/08/02-18:24:46 Starman::Server (type Net::Server::PreFork) starting! pid(3922164) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-18:24:49 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-18:24:49 Worker processes cleaned up 2026/08/02-18:24:49 Server closing! Process Backgrounded 2026/08/02-18:24:52 Starman::Server (type Net::Server::PreFork) starting! pid(3923007) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/02-18:25:40 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-18:25:41 Worker processes cleaned up 2026/08/02-18:25:41 Server closing! Process Backgrounded 2026/08/02-18:25:43 Starman::Server (type Net::Server::PreFork) starting! pid(3924024) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-18:25:56 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-18:25:56 Worker processes cleaned up 2026/08/02-18:25:56 Server closing! Process Backgrounded 2026/08/02-18:25:59 Starman::Server (type Net::Server::PreFork) starting! pid(3924627) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-18:26:11 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-18:26:11 Worker processes cleaned up 2026/08/02-18:26:11 Server closing! Process Backgrounded 2026/08/02-18:26:15 Starman::Server (type Net::Server::PreFork) starting! pid(3925303) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-18:26:34 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-18:26:34 Worker processes cleaned up 2026/08/02-18:26:34 Server closing! Process Backgrounded 2026/08/02-18:26:39 Starman::Server (type Net::Server::PreFork) starting! pid(3926072) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-18:28:06 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-18:28:06 Worker processes cleaned up 2026/08/02-18:28:06 Server closing! Process Backgrounded 2026/08/02-18:28:10 Starman::Server (type Net::Server::PreFork) starting! pid(3938782) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-18:40:14 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-18:40:14 Worker processes cleaned up 2026/08/02-18:40:14 Server closing! Process Backgrounded 2026/08/02-18:40:19 Starman::Server (type Net::Server::PreFork) starting! pid(3984510) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-18:42:56 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-18:42:57 Worker processes cleaned up 2026/08/02-18:42:57 Server closing! Process Backgrounded 2026/08/02-18:43:00 Starman::Server (type Net::Server::PreFork) starting! pid(3985962) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-18:45:05 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-18:45:06 Worker processes cleaned up 2026/08/02-18:45:06 Server closing! Process Backgrounded 2026/08/02-18:45:10 Starman::Server (type Net::Server::PreFork) starting! pid(3996850) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-18:45:11 Received QUIT. Running a graceful shutdown Sending children hup signal panic: fold_constants JMPENV_PUSH returned 2. Child process 3996855 exited with status 29 2026/08/02-18:45:11 Worker processes cleaned up 2026/08/02-18:45:11 Server closing! Process Backgrounded 2026/08/02-18:45:15 Starman::Server (type Net::Server::PreFork) starting! pid(3997818) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-18:49:01 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-18:49:01 Worker processes cleaned up 2026/08/02-18:49:01 Server closing! Process Backgrounded 2026/08/02-18:49:05 Starman::Server (type Net::Server::PreFork) starting! pid(4015012) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-19:05:29 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-19:05:30 Worker processes cleaned up 2026/08/02-19:05:30 Server closing! Process Backgrounded 2026/08/02-19:05:31 Starman::Server (type Net::Server::PreFork) starting! pid(4081960) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-19:06:39 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-19:06:39 Worker processes cleaned up 2026/08/02-19:06:39 Server closing! Process Backgrounded 2026/08/02-19:06:40 Starman::Server (type Net::Server::PreFork) starting! pid(4082830) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-19:07:52 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-19:07:52 Worker processes cleaned up 2026/08/02-19:07:52 Server closing! Process Backgrounded 2026/08/02-19:07:53 Starman::Server (type Net::Server::PreFork) starting! pid(4083496) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-19:12:01 Received QUIT. Running a graceful shutdown Sending children hup signal Child process 4083499 exited with status 0 - signal was 1 2026/08/02-19:12:02 Worker processes cleaned up 2026/08/02-19:12:02 Server closing! Process Backgrounded 2026/08/02-19:12:06 Starman::Server (type Net::Server::PreFork) starting! pid(4101334) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-19:16:33 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-19:16:34 Worker processes cleaned up 2026/08/02-19:16:34 Server closing! Process Backgrounded 2026/08/02-19:16:39 Starman::Server (type Net::Server::PreFork) starting! pid(4121369) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-19:20:51 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-19:20:51 Worker processes cleaned up 2026/08/02-19:20:51 Server closing! Process Backgrounded 2026/08/02-19:20:52 Starman::Server (type Net::Server::PreFork) starting! pid(4136290) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-19:24:07 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-19:24:07 Worker processes cleaned up 2026/08/02-19:24:07 Server closing! Process Backgrounded 2026/08/02-19:24:08 Starman::Server (type Net::Server::PreFork) starting! pid(4138385) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-19:27:18 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-19:27:18 Worker processes cleaned up 2026/08/02-19:27:18 Server closing! Process Backgrounded 2026/08/02-19:27:21 Starman::Server (type Net::Server::PreFork) starting! pid(4152104) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-19:28:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-19:28:17 Worker processes cleaned up 2026/08/02-19:28:17 Server closing! Process Backgrounded 2026/08/02-19:28:18 Starman::Server (type Net::Server::PreFork) starting! pid(4152675) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-19:29:23 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-19:29:23 Worker processes cleaned up 2026/08/02-19:29:23 Server closing! Process Backgrounded 2026/08/02-19:29:25 Starman::Server (type Net::Server::PreFork) starting! pid(4153373) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-19:33:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-19:33:17 Worker processes cleaned up 2026/08/02-19:33:17 Server closing! Process Backgrounded 2026/08/02-19:33:18 Starman::Server (type Net::Server::PreFork) starting! pid(4161476) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-19:35:05 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-19:35:05 Worker processes cleaned up 2026/08/02-19:35:05 Server closing! Process Backgrounded 2026/08/02-19:35:06 Starman::Server (type Net::Server::PreFork) starting! pid(4162058) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-19:36:52 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-19:36:52 Worker processes cleaned up 2026/08/02-19:36:52 Server closing! Process Backgrounded 2026/08/02-19:36:53 Starman::Server (type Net::Server::PreFork) starting! pid(4162583) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-19:41:59 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-19:42:00 Worker processes cleaned up 2026/08/02-19:42:00 Server closing! Process Backgrounded 2026/08/02-19:42:01 Starman::Server (type Net::Server::PreFork) starting! pid(4177635) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-19:43:03 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-19:43:03 Worker processes cleaned up 2026/08/02-19:43:03 Server closing! Process Backgrounded 2026/08/02-19:43:04 Starman::Server (type Net::Server::PreFork) starting! pid(4178437) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-19:58:41 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-19:58:41 Worker processes cleaned up 2026/08/02-19:58:41 Server closing! Process Backgrounded 2026/08/02-19:58:42 Starman::Server (type Net::Server::PreFork) starting! pid(7504) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-20:00:59 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-20:00:59 Worker processes cleaned up 2026/08/02-20:00:59 Server closing! Process Backgrounded 2026/08/02-20:01:00 Starman::Server (type Net::Server::PreFork) starting! pid(8094) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-20:04:55 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-20:04:55 Worker processes cleaned up 2026/08/02-20:04:55 Server closing! Process Backgrounded 2026/08/02-20:04:56 Starman::Server (type Net::Server::PreFork) starting! pid(8635) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-20:05:41 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-20:05:41 Worker processes cleaned up 2026/08/02-20:05:41 Server closing! Process Backgrounded 2026/08/02-20:05:42 Starman::Server (type Net::Server::PreFork) starting! pid(9231) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-20:07:03 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-20:07:03 Worker processes cleaned up 2026/08/02-20:07:03 Server closing! Process Backgrounded 2026/08/02-20:07:04 Starman::Server (type Net::Server::PreFork) starting! pid(9861) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-20:20:06 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-20:20:07 Worker processes cleaned up 2026/08/02-20:20:07 Server closing! Process Backgrounded 2026/08/02-20:20:08 Starman::Server (type Net::Server::PreFork) starting! pid(39985) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-20:26:18 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-20:26:18 Worker processes cleaned up 2026/08/02-20:26:18 Server closing! Process Backgrounded 2026/08/02-20:26:19 Starman::Server (type Net::Server::PreFork) starting! pid(55376) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-20:28:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-20:28:48 Worker processes cleaned up 2026/08/02-20:28:48 Server closing! Process Backgrounded 2026/08/02-20:28:49 Starman::Server (type Net::Server::PreFork) starting! pid(55993) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-20:29:27 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-20:29:27 Worker processes cleaned up 2026/08/02-20:29:27 Server closing! Process Backgrounded 2026/08/02-20:29:28 Starman::Server (type Net::Server::PreFork) starting! pid(56817) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-20:40:25 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-20:40:25 Worker processes cleaned up 2026/08/02-20:40:25 Server closing! Process Backgrounded 2026/08/02-20:40:26 Starman::Server (type Net::Server::PreFork) starting! pid(72555) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-20:42:01 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-20:42:01 Worker processes cleaned up 2026/08/02-20:42:01 Server closing! Process Backgrounded 2026/08/02-20:42:02 Starman::Server (type Net::Server::PreFork) starting! pid(73403) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-20:42:52 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-20:42:52 Worker processes cleaned up 2026/08/02-20:42:52 Server closing! Process Backgrounded 2026/08/02-20:42:54 Starman::Server (type Net::Server::PreFork) starting! pid(80277) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-20:47:25 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-20:47:25 Worker processes cleaned up 2026/08/02-20:47:25 Server closing! Process Backgrounded 2026/08/02-20:47:26 Starman::Server (type Net::Server::PreFork) starting! pid(103071) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-20:50:18 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-20:50:18 Worker processes cleaned up 2026/08/02-20:50:18 Server closing! Process Backgrounded 2026/08/02-20:50:19 Starman::Server (type Net::Server::PreFork) starting! pid(104434) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-20:52:16 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-20:52:16 Worker processes cleaned up 2026/08/02-20:52:16 Server closing! Process Backgrounded 2026/08/02-20:52:17 Starman::Server (type Net::Server::PreFork) starting! pid(118969) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-20:58:40 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-20:58:40 Worker processes cleaned up 2026/08/02-20:58:40 Server closing! Process Backgrounded 2026/08/02-20:58:44 Starman::Server (type Net::Server::PreFork) starting! pid(147354) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-21:03:54 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-21:03:55 Worker processes cleaned up 2026/08/02-21:03:55 Server closing! Process Backgrounded 2026/08/02-21:03:57 Starman::Server (type Net::Server::PreFork) starting! pid(163465) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-21:12:45 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-21:12:45 Worker processes cleaned up 2026/08/02-21:12:45 Server closing! Process Backgrounded 2026/08/02-21:12:46 Starman::Server (type Net::Server::PreFork) starting! pid(171709) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-21:14:45 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-21:14:45 Worker processes cleaned up 2026/08/02-21:14:45 Server closing! Process Backgrounded 2026/08/02-21:14:48 Starman::Server (type Net::Server::PreFork) starting! pid(179359) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-21:15:58 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-21:15:58 Worker processes cleaned up 2026/08/02-21:15:58 Server closing! Process Backgrounded 2026/08/02-21:16:00 Starman::Server (type Net::Server::PreFork) starting! pid(186563) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-21:18:41 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-21:18:41 Worker processes cleaned up 2026/08/02-21:18:41 Server closing! Process Backgrounded 2026/08/02-21:18:43 Starman::Server (type Net::Server::PreFork) starting! pid(187795) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-21:21:35 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-21:21:35 Worker processes cleaned up 2026/08/02-21:21:35 Server closing! Process Backgrounded 2026/08/02-21:21:38 Starman::Server (type Net::Server::PreFork) starting! pid(196772) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-21:22:08 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-21:22:08 Worker processes cleaned up 2026/08/02-21:22:08 Server closing! Process Backgrounded 2026/08/02-21:22:10 Starman::Server (type Net::Server::PreFork) starting! pid(202853) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-21:28:55 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-21:28:55 Worker processes cleaned up 2026/08/02-21:28:55 Server closing! Process Backgrounded 2026/08/02-21:28:56 Starman::Server (type Net::Server::PreFork) starting! pid(218937) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-21:30:26 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-21:30:26 Worker processes cleaned up 2026/08/02-21:30:26 Server closing! Process Backgrounded 2026/08/02-21:30:27 Starman::Server (type Net::Server::PreFork) starting! pid(219517) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-21:32:40 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-21:32:40 Worker processes cleaned up 2026/08/02-21:32:40 Server closing! Process Backgrounded 2026/08/02-21:32:41 Starman::Server (type Net::Server::PreFork) starting! pid(220207) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-21:34:40 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-21:34:40 Worker processes cleaned up 2026/08/02-21:34:40 Server closing! Process Backgrounded 2026/08/02-21:34:44 Starman::Server (type Net::Server::PreFork) starting! pid(234181) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-21:45:11 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-21:45:11 Worker processes cleaned up 2026/08/02-21:45:11 Server closing! Process Backgrounded 2026/08/02-21:45:16 Starman::Server (type Net::Server::PreFork) starting! pid(293148) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-21:45:59 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-21:45:59 Worker processes cleaned up 2026/08/02-21:45:59 Server closing! Process Backgrounded 2026/08/02-21:46:00 Starman::Server (type Net::Server::PreFork) starting! pid(293938) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-21:49:02 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-21:49:02 Worker processes cleaned up 2026/08/02-21:49:02 Server closing! Process Backgrounded 2026/08/02-21:49:04 Starman::Server (type Net::Server::PreFork) starting! pid(295519) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-21:54:02 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-21:54:03 Worker processes cleaned up 2026/08/02-21:54:03 Server closing! Process Backgrounded 2026/08/02-21:54:04 Starman::Server (type Net::Server::PreFork) starting! pid(310175) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-21:56:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-21:56:28 Worker processes cleaned up 2026/08/02-21:56:28 Server closing! Process Backgrounded 2026/08/02-21:56:31 Starman::Server (type Net::Server::PreFork) starting! pid(318469) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-21:58:43 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-21:58:43 Worker processes cleaned up 2026/08/02-21:58:43 Server closing! Process Backgrounded 2026/08/02-21:58:47 Starman::Server (type Net::Server::PreFork) starting! pid(333396) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-22:01:59 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-22:01:59 Worker processes cleaned up 2026/08/02-22:01:59 Server closing! Process Backgrounded 2026/08/02-22:02:00 Starman::Server (type Net::Server::PreFork) starting! pid(341349) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-22:08:12 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-22:08:13 Worker processes cleaned up 2026/08/02-22:08:13 Server closing! Process Backgrounded 2026/08/02-22:08:17 Starman::Server (type Net::Server::PreFork) starting! pid(363840) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-22:12:45 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-22:12:45 Worker processes cleaned up 2026/08/02-22:12:45 Server closing! Process Backgrounded 2026/08/02-22:12:47 Starman::Server (type Net::Server::PreFork) starting! pid(392527) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-22:13:09 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-22:13:09 Worker processes cleaned up 2026/08/02-22:13:09 Server closing! Process Backgrounded 2026/08/02-22:13:11 Starman::Server (type Net::Server::PreFork) starting! pid(393211) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-22:16:03 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-22:16:03 Worker processes cleaned up 2026/08/02-22:16:03 Server closing! Process Backgrounded 2026/08/02-22:16:07 Starman::Server (type Net::Server::PreFork) starting! pid(404960) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-22:17:44 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-22:17:44 Worker processes cleaned up 2026/08/02-22:17:44 Server closing! Process Backgrounded 2026/08/02-22:17:45 Starman::Server (type Net::Server::PreFork) starting! pid(415767) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-22:31:07 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-22:31:07 Worker processes cleaned up 2026/08/02-22:31:07 Server closing! Process Backgrounded 2026/08/02-22:31:08 Starman::Server (type Net::Server::PreFork) starting! pid(460151) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-22:31:23 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-22:31:23 Worker processes cleaned up 2026/08/02-22:31:23 Server closing! Process Backgrounded 2026/08/02-22:31:24 Starman::Server (type Net::Server::PreFork) starting! pid(460656) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-22:37:58 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-22:37:58 Worker processes cleaned up 2026/08/02-22:37:58 Server closing! Process Backgrounded 2026/08/02-22:38:05 Starman::Server (type Net::Server::PreFork) starting! pid(489803) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-22:45:43 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-22:45:43 Worker processes cleaned up 2026/08/02-22:45:43 Server closing! Process Backgrounded 2026/08/02-22:45:44 Starman::Server (type Net::Server::PreFork) starting! pid(534362) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-22:46:22 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-22:46:22 Worker processes cleaned up 2026/08/02-22:46:22 Server closing! Process Backgrounded 2026/08/02-22:46:23 Starman::Server (type Net::Server::PreFork) starting! pid(535043) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-23:12:26 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-23:12:27 Worker processes cleaned up 2026/08/02-23:12:27 Server closing! Process Backgrounded 2026/08/02-23:12:29 Starman::Server (type Net::Server::PreFork) starting! pid(572400) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-23:22:32 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-23:22:32 Worker processes cleaned up 2026/08/02-23:22:32 Server closing! Process Backgrounded 2026/08/02-23:22:33 Starman::Server (type Net::Server::PreFork) starting! pid(580000) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/02-23:23:20 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/02-23:23:21 Worker processes cleaned up 2026/08/02-23:23:21 Server closing! Process Backgrounded 2026/08/02-23:23:22 Starman::Server (type Net::Server::PreFork) starting! pid(580725) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-00:19:49 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-00:19:49 Worker processes cleaned up 2026/08/03-00:19:49 Server closing! Process Backgrounded 2026/08/03-00:19:50 Starman::Server (type Net::Server::PreFork) starting! pid(582422) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-03:00:33 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-03:00:34 Worker processes cleaned up 2026/08/03-03:00:34 Server closing! Process Backgrounded 2026/08/03-03:00:35 Starman::Server (type Net::Server::PreFork) starting! pid(627354) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-03:02:22 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-03:02:22 Worker processes cleaned up 2026/08/03-03:02:22 Server closing! Process Backgrounded 2026/08/03-03:02:23 Starman::Server (type Net::Server::PreFork) starting! pid(627876) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-03:28:53 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-03:28:53 Worker processes cleaned up 2026/08/03-03:28:53 Server closing! Process Backgrounded 2026/08/03-03:28:54 Starman::Server (type Net::Server::PreFork) starting! pid(635892) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-03:31:57 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-03:31:57 Worker processes cleaned up 2026/08/03-03:31:57 Server closing! Process Backgrounded 2026/08/03-03:31:58 Starman::Server (type Net::Server::PreFork) starting! pid(636410) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-03:59:26 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-03:59:26 Worker processes cleaned up 2026/08/03-03:59:26 Server closing! Process Backgrounded 2026/08/03-03:59:28 Starman::Server (type Net::Server::PreFork) starting! pid(637357) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-04:00:39 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-04:00:39 Worker processes cleaned up 2026/08/03-04:00:39 Server closing! Process Backgrounded 2026/08/03-04:00:40 Starman::Server (type Net::Server::PreFork) starting! pid(638275) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-04:25:51 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-04:25:51 Worker processes cleaned up 2026/08/03-04:25:51 Server closing! Process Backgrounded 2026/08/03-04:25:52 Starman::Server (type Net::Server::PreFork) starting! pid(646046) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-05:13:42 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-05:13:42 Worker processes cleaned up 2026/08/03-05:13:42 Server closing! Process Backgrounded 2026/08/03-05:13:43 Starman::Server (type Net::Server::PreFork) starting! pid(654999) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-05:13:43 Pid_file already exists for running process (654999)... aborting at line 142 in file /usr/share/perl5/Net/Server.pm 2026/08/03-05:13:43 Received QUIT. Running a graceful shutdown 2026/08/03-05:13:43 Worker processes cleaned up 2026/08/03-05:13:43 Server closing! 2026/08/03-05:13:43 Pid_file already exists for running process (654999)... aborting at line 142 in file /usr/share/perl5/Net/Server.pm 2026/08/03-05:13:43 Received QUIT. Running a graceful shutdown 2026/08/03-05:13:43 Worker processes cleaned up 2026/08/03-05:13:43 Server closing! Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/03-06:36:42 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-06:36:42 Worker processes cleaned up 2026/08/03-06:36:42 Server closing! Process Backgrounded 2026/08/03-06:36:43 Starman::Server (type Net::Server::PreFork) starting! pid(663865) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-07:26:08 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-07:26:08 Worker processes cleaned up 2026/08/03-07:26:08 Server closing! Process Backgrounded 2026/08/03-07:26:09 Starman::Server (type Net::Server::PreFork) starting! pid(672070) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-07:27:47 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-07:27:47 Worker processes cleaned up 2026/08/03-07:27:47 Server closing! Process Backgrounded 2026/08/03-07:27:48 Starman::Server (type Net::Server::PreFork) starting! pid(672597) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-08:40:23 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-08:40:24 Worker processes cleaned up 2026/08/03-08:40:24 Server closing! Process Backgrounded 2026/08/03-08:40:25 Starman::Server (type Net::Server::PreFork) starting! pid(709429) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-09:19:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-09:19:24 Worker processes cleaned up 2026/08/03-09:19:24 Server closing! Process Backgrounded 2026/08/03-09:19:25 Starman::Server (type Net::Server::PreFork) starting! pid(717900) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-09:29:47 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-09:29:47 Worker processes cleaned up 2026/08/03-09:29:47 Server closing! Process Backgrounded 2026/08/03-09:29:49 Starman::Server (type Net::Server::PreFork) starting! pid(718525) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-10:02:22 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-10:02:22 Worker processes cleaned up 2026/08/03-10:02:22 Server closing! Process Backgrounded 2026/08/03-10:02:24 Starman::Server (type Net::Server::PreFork) starting! pid(719274) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-10:14:32 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-10:14:32 Worker processes cleaned up 2026/08/03-10:14:32 Server closing! Process Backgrounded 2026/08/03-10:14:34 Starman::Server (type Net::Server::PreFork) starting! pid(727084) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-11:14:54 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-11:14:54 Worker processes cleaned up 2026/08/03-11:14:54 Server closing! Process Backgrounded 2026/08/03-11:14:55 Starman::Server (type Net::Server::PreFork) starting! pid(735575) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-11:21:55 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-11:21:55 Worker processes cleaned up 2026/08/03-11:21:55 Server closing! Process Backgrounded 2026/08/03-11:21:56 Starman::Server (type Net::Server::PreFork) starting! pid(736318) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-12:08:44 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-12:08:44 Worker processes cleaned up 2026/08/03-12:08:44 Server closing! Process Backgrounded 2026/08/03-12:08:47 Starman::Server (type Net::Server::PreFork) starting! pid(744498) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-13:16:25 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-13:16:25 Worker processes cleaned up 2026/08/03-13:16:25 Server closing! Process Backgrounded 2026/08/03-13:16:26 Starman::Server (type Net::Server::PreFork) starting! pid(746016) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-13:28:29 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-13:28:29 Worker processes cleaned up 2026/08/03-13:28:29 Server closing! Process Backgrounded 2026/08/03-13:28:30 Starman::Server (type Net::Server::PreFork) starting! pid(746826) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-17:33:50 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-17:33:50 Worker processes cleaned up 2026/08/03-17:33:50 Server closing! Process Backgrounded 2026/08/03-17:33:51 Starman::Server (type Net::Server::PreFork) starting! pid(813637) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-18:23:53 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-18:23:53 Worker processes cleaned up 2026/08/03-18:23:53 Server closing! Process Backgrounded 2026/08/03-18:23:54 Starman::Server (type Net::Server::PreFork) starting! pid(843247) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-18:23:56 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-18:23:56 Worker processes cleaned up 2026/08/03-18:23:56 Server closing! Process Backgrounded 2026/08/03-18:23:57 Starman::Server (type Net::Server::PreFork) starting! pid(843603) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-18:26:14 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-18:26:14 Worker processes cleaned up 2026/08/03-18:26:14 Server closing! Process Backgrounded 2026/08/03-18:26:15 Starman::Server (type Net::Server::PreFork) starting! pid(844271) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-18:28:20 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-18:28:20 Worker processes cleaned up 2026/08/03-18:28:20 Server closing! Process Backgrounded 2026/08/03-18:28:21 Starman::Server (type Net::Server::PreFork) starting! pid(851980) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-19:21:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-19:21:17 Worker processes cleaned up 2026/08/03-19:21:17 Server closing! Process Backgrounded 2026/08/03-19:21:18 Starman::Server (type Net::Server::PreFork) starting! pid(853003) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-20:33:50 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-20:33:50 Worker processes cleaned up 2026/08/03-20:33:50 Server closing! Process Backgrounded 2026/08/03-20:33:51 Starman::Server (type Net::Server::PreFork) starting! pid(854190) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-21:55:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-21:55:48 Worker processes cleaned up 2026/08/03-21:55:48 Server closing! Process Backgrounded 2026/08/03-21:55:49 Starman::Server (type Net::Server::PreFork) starting! pid(862778) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/03-23:14:09 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/03-23:14:09 Worker processes cleaned up 2026/08/03-23:14:09 Server closing! Process Backgrounded 2026/08/03-23:14:10 Starman::Server (type Net::Server::PreFork) starting! pid(871439) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-00:24:33 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-00:24:33 Worker processes cleaned up 2026/08/04-00:24:33 Server closing! Process Backgrounded 2026/08/04-00:24:34 Starman::Server (type Net::Server::PreFork) starting! pid(894207) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-01:10:32 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-01:10:32 Worker processes cleaned up 2026/08/04-01:10:32 Server closing! Process Backgrounded 2026/08/04-01:10:33 Starman::Server (type Net::Server::PreFork) starting! pid(902362) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-02:05:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-02:05:28 Worker processes cleaned up 2026/08/04-02:05:28 Server closing! Process Backgrounded 2026/08/04-02:05:29 Starman::Server (type Net::Server::PreFork) starting! pid(903274) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-02:49:59 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-02:49:59 Worker processes cleaned up 2026/08/04-02:49:59 Server closing! Process Backgrounded 2026/08/04-02:50:00 Starman::Server (type Net::Server::PreFork) starting! pid(904059) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-04:02:56 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-04:02:56 Worker processes cleaned up 2026/08/04-04:02:56 Server closing! Process Backgrounded 2026/08/04-04:02:58 Starman::Server (type Net::Server::PreFork) starting! pid(920140) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-04:20:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-04:20:28 Worker processes cleaned up 2026/08/04-04:20:28 Server closing! Process Backgrounded 2026/08/04-04:20:29 Starman::Server (type Net::Server::PreFork) starting! pid(935355) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-05:17:11 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-05:17:11 Worker processes cleaned up 2026/08/04-05:17:11 Server closing! Process Backgrounded 2026/08/04-05:17:12 Starman::Server (type Net::Server::PreFork) starting! pid(943616) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-07:31:55 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-07:31:56 Worker processes cleaned up 2026/08/04-07:31:56 Server closing! Process Backgrounded 2026/08/04-07:31:57 Starman::Server (type Net::Server::PreFork) starting! pid(952249) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-07:32:06 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-07:32:06 Worker processes cleaned up 2026/08/04-07:32:06 Server closing! Process Backgrounded 2026/08/04-08:02:30 Starman::Server (type Net::Server::PreFork) starting! pid(960901) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-08:25:12 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-08:25:12 Worker processes cleaned up 2026/08/04-08:25:12 Server closing! Process Backgrounded 2026/08/04-08:25:14 Starman::Server (type Net::Server::PreFork) starting! pid(975541) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-09:04:03 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-09:04:03 Worker processes cleaned up 2026/08/04-09:04:03 Server closing! Process Backgrounded 2026/08/04-09:04:04 Starman::Server (type Net::Server::PreFork) starting! pid(1005581) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-09:20:23 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-09:20:23 Worker processes cleaned up 2026/08/04-09:20:23 Server closing! Process Backgrounded 2026/08/04-09:20:27 Starman::Server (type Net::Server::PreFork) starting! pid(1013645) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-09:21:31 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-09:21:31 Worker processes cleaned up 2026/08/04-09:21:31 Server closing! Process Backgrounded 2026/08/04-09:21:33 Starman::Server (type Net::Server::PreFork) starting! pid(1020825) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-09:21:39 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-09:21:39 Worker processes cleaned up 2026/08/04-09:21:39 Server closing! Process Backgrounded 2026/08/04-09:21:41 Starman::Server (type Net::Server::PreFork) starting! pid(1021382) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-09:36:59 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-09:36:59 Worker processes cleaned up 2026/08/04-09:36:59 Server closing! Process Backgrounded 2026/08/04-09:37:01 Starman::Server (type Net::Server::PreFork) starting! pid(1022217) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-09:45:56 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-09:45:57 Worker processes cleaned up 2026/08/04-09:45:57 Server closing! Process Backgrounded 2026/08/04-09:45:58 Starman::Server (type Net::Server::PreFork) starting! pid(1023062) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-10:19:07 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-10:19:07 Worker processes cleaned up 2026/08/04-10:19:07 Server closing! Process Backgrounded 2026/08/04-10:19:08 Starman::Server (type Net::Server::PreFork) starting! pid(1052755) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-10:45:15 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-10:45:15 Worker processes cleaned up 2026/08/04-10:45:15 Server closing! Process Backgrounded 2026/08/04-10:45:16 Starman::Server (type Net::Server::PreFork) starting! pid(1061072) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-10:45:31 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-10:45:31 Worker processes cleaned up 2026/08/04-10:45:31 Server closing! Process Backgrounded 2026/08/04-10:45:32 Starman::Server (type Net::Server::PreFork) starting! pid(1061572) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-11:03:38 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-11:03:38 Worker processes cleaned up 2026/08/04-11:03:38 Server closing! Process Backgrounded 2026/08/04-11:03:39 Starman::Server (type Net::Server::PreFork) starting! pid(1090907) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-11:13:18 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-11:13:18 Worker processes cleaned up 2026/08/04-11:13:18 Server closing! Process Backgrounded 2026/08/04-11:13:19 Starman::Server (type Net::Server::PreFork) starting! pid(1092048) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-11:22:16 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-11:22:17 Worker processes cleaned up 2026/08/04-11:22:17 Server closing! Process Backgrounded 2026/08/04-11:22:18 Starman::Server (type Net::Server::PreFork) starting! pid(1106815) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-12:01:09 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-12:01:09 Worker processes cleaned up 2026/08/04-12:01:09 Server closing! Process Backgrounded 2026/08/04-12:01:10 Starman::Server (type Net::Server::PreFork) starting! pid(1129411) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-12:47:26 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-12:47:26 Worker processes cleaned up 2026/08/04-12:47:26 Server closing! Process Backgrounded 2026/08/04-12:47:28 Starman::Server (type Net::Server::PreFork) starting! pid(1159307) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-13:29:43 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-13:29:43 Worker processes cleaned up 2026/08/04-13:29:43 Server closing! Process Backgrounded 2026/08/04-13:29:44 Starman::Server (type Net::Server::PreFork) starting! pid(1181950) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-13:56:19 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-13:56:19 Worker processes cleaned up 2026/08/04-13:56:19 Server closing! Process Backgrounded 2026/08/04-13:56:20 Starman::Server (type Net::Server::PreFork) starting! pid(1183001) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-13:56:50 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-13:56:50 Worker processes cleaned up 2026/08/04-13:56:50 Server closing! Process Backgrounded 2026/08/04-13:56:51 Starman::Server (type Net::Server::PreFork) starting! pid(1183510) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-14:03:31 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-14:03:31 Worker processes cleaned up 2026/08/04-14:03:31 Server closing! Process Backgrounded 2026/08/04-14:03:33 Starman::Server (type Net::Server::PreFork) starting! pid(1198618) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-14:20:36 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-14:20:36 Worker processes cleaned up 2026/08/04-14:20:36 Server closing! Process Backgrounded 2026/08/04-14:20:37 Starman::Server (type Net::Server::PreFork) starting! pid(1199333) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-14:33:59 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-14:34:00 Worker processes cleaned up 2026/08/04-14:34:00 Server closing! Process Backgrounded 2026/08/04-14:34:01 Starman::Server (type Net::Server::PreFork) starting! pid(1199942) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-15:20:33 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-15:20:34 Worker processes cleaned up 2026/08/04-15:20:34 Server closing! Process Backgrounded 2026/08/04-15:20:35 Starman::Server (type Net::Server::PreFork) starting! pid(1222842) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-15:46:03 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-15:46:04 Worker processes cleaned up 2026/08/04-15:46:04 Server closing! Process Backgrounded 2026/08/04-15:46:05 Starman::Server (type Net::Server::PreFork) starting! pid(1231145) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-15:49:19 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-15:49:19 Worker processes cleaned up 2026/08/04-15:49:19 Server closing! Process Backgrounded 2026/08/04-15:49:20 Starman::Server (type Net::Server::PreFork) starting! pid(1231663) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-15:53:07 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-15:53:07 Worker processes cleaned up 2026/08/04-15:53:07 Server closing! Process Backgrounded 2026/08/04-15:53:08 Starman::Server (type Net::Server::PreFork) starting! pid(1232192) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-16:27:05 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-16:27:05 Worker processes cleaned up 2026/08/04-16:27:05 Server closing! Process Backgrounded 2026/08/04-16:27:06 Starman::Server (type Net::Server::PreFork) starting! pid(1240278) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-16:54:11 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-16:54:11 Worker processes cleaned up 2026/08/04-16:54:11 Server closing! Process Backgrounded 2026/08/04-16:54:12 Starman::Server (type Net::Server::PreFork) starting! pid(1255340) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-16:56:54 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-16:56:54 Worker processes cleaned up 2026/08/04-16:56:54 Server closing! Process Backgrounded 2026/08/04-16:56:56 Starman::Server (type Net::Server::PreFork) starting! pid(1262846) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-17:21:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-17:21:28 Worker processes cleaned up 2026/08/04-17:21:28 Server closing! Process Backgrounded 2026/08/04-17:21:29 Starman::Server (type Net::Server::PreFork) starting! pid(1292593) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-17:28:45 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-17:28:46 Worker processes cleaned up 2026/08/04-17:28:46 Server closing! Process Backgrounded 2026/08/04-17:28:46 Starman::Server (type Net::Server::PreFork) starting! pid(1293307) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-17:58:00 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-17:58:01 Worker processes cleaned up 2026/08/04-17:58:01 Server closing! Process Backgrounded 2026/08/04-17:58:02 Starman::Server (type Net::Server::PreFork) starting! pid(1308676) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-18:01:42 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-18:01:42 Worker processes cleaned up 2026/08/04-18:01:42 Server closing! Process Backgrounded 2026/08/04-18:01:43 Starman::Server (type Net::Server::PreFork) starting! pid(1309792) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-18:42:33 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-18:42:33 Worker processes cleaned up 2026/08/04-18:42:33 Server closing! Process Backgrounded 2026/08/04-18:42:34 Starman::Server (type Net::Server::PreFork) starting! pid(1325222) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-18:56:22 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-18:56:22 Worker processes cleaned up 2026/08/04-18:56:22 Server closing! Process Backgrounded 2026/08/04-18:56:23 Starman::Server (type Net::Server::PreFork) starting! pid(1325920) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-19:23:47 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-19:23:47 Worker processes cleaned up 2026/08/04-19:23:47 Server closing! Process Backgrounded 2026/08/04-19:23:50 Starman::Server (type Net::Server::PreFork) starting! pid(1327073) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-20:03:58 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-20:03:58 Worker processes cleaned up 2026/08/04-20:03:58 Server closing! Process Backgrounded 2026/08/04-20:03:59 Starman::Server (type Net::Server::PreFork) starting! pid(1357046) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-20:04:13 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-20:04:13 Worker processes cleaned up 2026/08/04-20:04:13 Server closing! Process Backgrounded 2026/08/04-20:04:14 Starman::Server (type Net::Server::PreFork) starting! pid(1357555) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-20:08:55 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-20:08:55 Worker processes cleaned up 2026/08/04-20:08:55 Server closing! Process Backgrounded 2026/08/04-20:08:56 Starman::Server (type Net::Server::PreFork) starting! pid(1365212) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-20:21:19 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-20:21:19 Worker processes cleaned up 2026/08/04-20:21:19 Server closing! Process Backgrounded 2026/08/04-20:21:21 Starman::Server (type Net::Server::PreFork) starting! pid(1379715) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-20:41:47 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-20:41:47 Worker processes cleaned up 2026/08/04-20:41:47 Server closing! Process Backgrounded 2026/08/04-20:41:48 Starman::Server (type Net::Server::PreFork) starting! pid(1395210) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-20:48:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-20:48:17 Worker processes cleaned up 2026/08/04-20:48:17 Server closing! Process Backgrounded 2026/08/04-20:48:18 Starman::Server (type Net::Server::PreFork) starting! pid(1395749) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-21:13:46 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-21:13:46 Worker processes cleaned up 2026/08/04-21:13:46 Server closing! Process Backgrounded 2026/08/04-21:13:47 Starman::Server (type Net::Server::PreFork) starting! pid(1411124) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-21:35:57 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-21:35:57 Worker processes cleaned up 2026/08/04-21:35:57 Server closing! Process Backgrounded 2026/08/04-21:35:58 Starman::Server (type Net::Server::PreFork) starting! pid(1419025) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-21:44:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-21:44:24 Worker processes cleaned up 2026/08/04-21:44:24 Server closing! Process Backgrounded 2026/08/04-21:44:25 Starman::Server (type Net::Server::PreFork) starting! pid(1433771) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-22:20:50 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-22:20:51 Worker processes cleaned up 2026/08/04-22:20:51 Server closing! Process Backgrounded 2026/08/04-22:20:54 Starman::Server (type Net::Server::PreFork) starting! pid(1477132) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-22:39:19 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-22:39:19 Worker processes cleaned up 2026/08/04-22:39:19 Server closing! Process Backgrounded 2026/08/04-22:39:20 Starman::Server (type Net::Server::PreFork) starting! pid(1485945) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/04-23:33:53 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/04-23:33:53 Worker processes cleaned up 2026/08/04-23:33:53 Server closing! Process Backgrounded 2026/08/04-23:33:54 Starman::Server (type Net::Server::PreFork) starting! pid(1494536) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-00:01:42 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-00:01:42 Worker processes cleaned up 2026/08/05-00:01:42 Server closing! Process Backgrounded 2026/08/05-00:01:43 Starman::Server (type Net::Server::PreFork) starting! pid(1495416) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-01:08:52 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-01:08:52 Worker processes cleaned up 2026/08/05-01:08:52 Server closing! Process Backgrounded 2026/08/05-01:08:53 Starman::Server (type Net::Server::PreFork) starting! pid(1511040) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-04:07:13 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-04:07:13 Worker processes cleaned up 2026/08/05-04:07:13 Server closing! Process Backgrounded 2026/08/05-04:07:15 Starman::Server (type Net::Server::PreFork) starting! pid(1527235) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-04:40:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-04:40:25 Worker processes cleaned up 2026/08/05-04:40:25 Server closing! Process Backgrounded 2026/08/05-04:40:27 Starman::Server (type Net::Server::PreFork) starting! pid(1535370) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-04:44:18 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-04:44:18 Worker processes cleaned up 2026/08/05-04:44:18 Server closing! Process Backgrounded 2026/08/05-04:44:19 Starman::Server (type Net::Server::PreFork) starting! pid(1536201) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-06:12:39 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-06:12:39 Worker processes cleaned up 2026/08/05-06:12:39 Server closing! Process Backgrounded 2026/08/05-06:12:40 Starman::Server (type Net::Server::PreFork) starting! pid(1544520) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-06:28:36 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-06:28:36 Worker processes cleaned up 2026/08/05-06:28:36 Server closing! Process Backgrounded 2026/08/05-06:28:37 Starman::Server (type Net::Server::PreFork) starting! pid(1552347) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-08:24:30 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-08:24:30 Worker processes cleaned up 2026/08/05-08:24:30 Server closing! Process Backgrounded 2026/08/05-08:24:31 Starman::Server (type Net::Server::PreFork) starting! pid(1583226) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-08:50:54 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-08:50:54 Worker processes cleaned up 2026/08/05-08:50:54 Server closing! Process Backgrounded 2026/08/05-08:50:55 Starman::Server (type Net::Server::PreFork) starting! pid(1584182) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-09:28:25 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-09:28:25 Worker processes cleaned up 2026/08/05-09:28:25 Server closing! Process Backgrounded 2026/08/05-09:28:26 Starman::Server (type Net::Server::PreFork) starting! pid(1606347) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-09:38:21 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-09:38:21 Worker processes cleaned up 2026/08/05-09:38:21 Server closing! Process Backgrounded 2026/08/05-09:38:22 Starman::Server (type Net::Server::PreFork) starting! pid(1614463) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-10:03:55 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-10:03:55 Worker processes cleaned up 2026/08/05-10:03:55 Server closing! Process Backgrounded 2026/08/05-10:03:56 Starman::Server (type Net::Server::PreFork) starting! pid(1615215) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-11:01:09 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-11:01:09 Worker processes cleaned up 2026/08/05-11:01:09 Server closing! Process Backgrounded 2026/08/05-11:01:10 Starman::Server (type Net::Server::PreFork) starting! pid(1623231) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-11:24:35 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-11:24:35 Worker processes cleaned up 2026/08/05-11:24:35 Server closing! Process Backgrounded 2026/08/05-11:24:37 Starman::Server (type Net::Server::PreFork) starting! pid(1638665) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-12:44:38 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-12:44:38 Worker processes cleaned up 2026/08/05-12:44:38 Server closing! Process Backgrounded 2026/08/05-12:44:39 Starman::Server (type Net::Server::PreFork) starting! pid(1661670) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-13:33:21 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-13:33:21 Worker processes cleaned up 2026/08/05-13:33:21 Server closing! Process Backgrounded 2026/08/05-13:33:23 Starman::Server (type Net::Server::PreFork) starting! pid(1669946) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-13:53:37 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-13:53:37 Worker processes cleaned up 2026/08/05-13:53:37 Server closing! Process Backgrounded 2026/08/05-13:53:38 Starman::Server (type Net::Server::PreFork) starting! pid(1670638) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_1670639: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55660a031d18)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x556615a17360)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x556615a17360)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x5566157ff460)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ff460)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5566157693a0)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ff460)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fbb50)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a3698)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157dc3f0)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x556615a08218)', 'Try::Tiny::Catch=REF(0x5566157ec248)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a24910)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x556615970240)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x556615997f98)', 'ARRAY(0x556615970240)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x556615970240)', 'CODE(0x556615997f98)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x556615773a30)', 'ARRAY(0x556615970240)', 'CODE(0x556615997f98)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615773a30)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x556615347c38)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ff460)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x556615769688)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ff460)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x556615892dc8)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ff460)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615773f58)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x556615770920)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157704b8)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91538)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91580)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615371ed0)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ff460)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55661536c3e0)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x5566157ff460)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x556615a205d8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670641: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55660a031d70)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x556615a19758)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x556615a19758)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x556615806458)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x556615806458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806458)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55661576f268)', 'HASH(0x556615806458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806458)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fdd48)', 'HASH(0x556615806458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806458)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a4d58)', 'HASH(0x556615806458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806458)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157df1b8)', 'HASH(0x556615806458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806458)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x556615963418)', 'Try::Tiny::Catch=REF(0x5566157ef708)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a25d28)', 'HASH(0x556615806458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806458)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x556615976040)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x556615a3daf8)', 'ARRAY(0x556615976040)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x556615976040)', 'CODE(0x556615a3daf8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x556615776448)', 'ARRAY(0x556615976040)', 'CODE(0x556615a3daf8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615776448)', 'HASH(0x556615806458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806458)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55661533d4a8)', 'HASH(0x556615806458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806458)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55661576f448)', 'HASH(0x556615806458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806458)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5566158951e0)', 'HASH(0x556615806458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806458)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615938f48)', 'HASH(0x556615806458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806458)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55661599a470)', 'HASH(0x556615806458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806458)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157feb68)', 'HASH(0x556615806458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806458)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91550)', 'HASH(0x556615806458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91598)', 'HASH(0x556615806458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806458)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615374ad8)', 'HASH(0x556615806458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806458)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x556615361b88)', 'HASH(0x556615806458)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x556615806458)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x55661599a158)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670639: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x556615a14200)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5566159f59b8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5566159f59b8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x556615961018)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x556615961018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615961018)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5566157693a0)', 'HASH(0x556615961018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615961018)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fbb50)', 'HASH(0x556615961018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615961018)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a3698)', 'HASH(0x556615961018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615961018)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157dc3f0)', 'HASH(0x556615961018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615961018)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55661588ef80)', 'Try::Tiny::Catch=REF(0x556615a08a88)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a24910)', 'HASH(0x556615961018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615961018)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615773a30)', 'HASH(0x556615961018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615961018)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x556615347c38)', 'HASH(0x556615961018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615961018)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x556615769688)', 'HASH(0x556615961018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615961018)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x556615892dc8)', 'HASH(0x556615961018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615961018)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615773f58)', 'HASH(0x556615961018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615961018)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x556615770920)', 'HASH(0x556615961018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615961018)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157704b8)', 'HASH(0x556615961018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615961018)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91538)', 'HASH(0x556615961018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91580)', 'HASH(0x556615961018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615961018)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615371ed0)', 'HASH(0x556615961018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615961018)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55661536c3e0)', 'HASH(0x556615961018)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x556615961018)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x5566158fb928)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670641: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x556615a1a0a0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5566158fa1c0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5566158fa1c0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x556615a09c10)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615a09c10)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55661576f268)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615a09c10)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fdd48)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a4d58)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157df1b8)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x556615894dd8)', 'Try::Tiny::Catch=REF(0x556615a09dc0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a25d28)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615776448)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55661533d4a8)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615a09c10)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55661576f448)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615a09c10)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5566158951e0)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615a09c10)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615938f48)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55661599a470)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157feb68)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91550)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91598)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615374ad8)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615a09c10)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x556615361b88)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x556615a09c10)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x5566158fdfd0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670639: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5566159f5520)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5566158dd768)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5566158dd768)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x55660ad4b188)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad4b188)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5566157693a0)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad4b188)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fbb50)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a3698)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157dc3f0)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5566158f5170)', 'Try::Tiny::Catch=REF(0x556615a080f8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a24910)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615773a30)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x556615347c38)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad4b188)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x556615769688)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad4b188)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x556615892dc8)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad4b188)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615773f58)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x556615770920)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157704b8)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91538)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91580)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615371ed0)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad4b188)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55661536c3e0)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x55660ad4b188)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x556615960d48)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670641: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5566158f7510)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5566158dfd40)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5566158dfd40)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x55660ad17720)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad17720)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55661576f268)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad17720)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fdd48)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a4d58)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157df1b8)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5566159dff38)', 'Try::Tiny::Catch=REF(0x556615a09730)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a25d28)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615776448)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55661533d4a8)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad17720)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55661576f448)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad17720)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5566158951e0)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad17720)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615938f48)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55661599a470)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157feb68)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91550)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91598)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615374ad8)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55660ad17720)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x556615361b88)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x55660ad17720)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x556615a09328)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670639: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5566157a6328)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5566157a9a90)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5566157a9a90)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x5566157c51d8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157c51d8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5566157693a0)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157c51d8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fbb50)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a3698)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157dc3f0)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5566158dd930)', 'Try::Tiny::Catch=REF(0x5566159fdae8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a24910)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615773a30)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x556615347c38)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157c51d8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x556615769688)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157c51d8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x556615892dc8)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157c51d8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615773f58)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x556615770920)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157704b8)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91538)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91580)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615371ed0)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157c51d8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55661536c3e0)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x5566157c51d8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x5566157ce650)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670641: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5566158dfb60)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5566157a87f0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5566157a87f0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x556615806530)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x556615806530)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806530)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55661576f268)', 'HASH(0x556615806530)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806530)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fdd48)', 'HASH(0x556615806530)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806530)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a4d58)', 'HASH(0x556615806530)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806530)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157df1b8)', 'HASH(0x556615806530)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806530)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5566158df998)', 'Try::Tiny::Catch=REF(0x5566159dbba8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a25d28)', 'HASH(0x556615806530)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806530)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615776448)', 'HASH(0x556615806530)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806530)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55661533d4a8)', 'HASH(0x556615806530)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806530)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55661576f448)', 'HASH(0x556615806530)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806530)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5566158951e0)', 'HASH(0x556615806530)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806530)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615938f48)', 'HASH(0x556615806530)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806530)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55661599a470)', 'HASH(0x556615806530)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806530)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157feb68)', 'HASH(0x556615806530)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806530)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91550)', 'HASH(0x556615806530)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91598)', 'HASH(0x556615806530)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806530)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615374ad8)', 'HASH(0x556615806530)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556615806530)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x556615361b88)', 'HASH(0x556615806530)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x556615806530)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x5566157cfaf8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670639: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5566157a9af0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x556615774240)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x556615774240)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x5566157ce638)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ce638)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5566157693a0)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ce638)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fbb50)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a3698)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157dc3f0)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5566157a9940)', 'Try::Tiny::Catch=REF(0x5566159fdc38)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a24910)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615773a30)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x556615347c38)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ce638)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x556615769688)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ce638)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x556615892dc8)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ce638)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615773f58)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x556615770920)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157704b8)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91538)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91580)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615371ed0)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157ce638)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55661536c3e0)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x5566157ce638)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x5566159d9968)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670641: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5566157f2e60)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55661577a880)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55661577a880)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x5566157d2698)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d2698)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55661576f268)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d2698)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fdd48)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a4d58)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157df1b8)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55661596e9c0)', 'Try::Tiny::Catch=REF(0x5566157aaff0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a25d28)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615776448)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55661533d4a8)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d2698)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55661576f448)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d2698)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5566158951e0)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d2698)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615938f48)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55661599a470)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157feb68)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91550)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91598)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615374ad8)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d2698)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x556615361b88)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x5566157d2698)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x5566159dbda0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670639: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x556615777308)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x556615946a68)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x556615946a68)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x5566159a6ab0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a6ab0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5566157693a0)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a6ab0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fbb50)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a3698)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157dc3f0)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x556615942978)', 'Try::Tiny::Catch=REF(0x55661596fa18)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a24910)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615773a30)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x556615347c38)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a6ab0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x556615769688)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a6ab0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x556615892dc8)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a6ab0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615773f58)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x556615770920)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157704b8)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91538)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91580)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615371ed0)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a6ab0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55661536c3e0)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x5566159a6ab0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x5566157ff5c8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670641: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55661577a808)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55661594bde0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55661594bde0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x5566157cfa38)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157cfa38)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55661576f268)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157cfa38)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fdd48)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a4d58)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157df1b8)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55661577a0e8)', 'Try::Tiny::Catch=REF(0x556615971590)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a25d28)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615776448)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55661533d4a8)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157cfa38)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55661576f448)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157cfa38)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5566158951e0)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157cfa38)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615938f48)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55661599a470)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157feb68)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91550)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91598)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615374ad8)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157cfa38)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x556615361b88)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x5566157cfa38)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x5566153a7b00)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670639: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x556615946d20)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x556615a21100)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x556615a21100)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x556609f91718)', 'HASH(0x55661580ee78)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x556609f91718)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661580ee78)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x556615936490)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661580ee78)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x556615773a48)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x556615977960)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x556615a20b30)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x556615a21340)', 'Try::Tiny::Catch=REF(0x556615946798)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5566159a3bf0)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5566159a3ab8)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x556615347c38)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661580ee78)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x556615769688)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661580ee78)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x556615892dc8)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661580ee78)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615773f58)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x556615770920)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157704b8)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91538)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91580)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615371ed0)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661580ee78)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55661536c3e0)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x55661580ee78)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x556615950978)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670641: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x556615949068)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x556615379f38)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x556615379f38)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x5566159dbdb8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159dbdb8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55661576f268)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159dbdb8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fdd48)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a4d58)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157df1b8)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5566157ef420)', 'Try::Tiny::Catch=REF(0x55661594bdb0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a25d28)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5566157ef1e0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x556615950900)', 'ARRAY(0x5566157ef1e0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5566157ef1e0)', 'CODE(0x556615950900)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x556615776448)', 'ARRAY(0x5566157ef1e0)', 'CODE(0x556615950900)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615776448)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55661533d4a8)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159dbdb8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55661576f448)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159dbdb8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5566158951e0)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159dbdb8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615938f48)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55661599a470)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157feb68)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91550)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91598)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615374ad8)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159dbdb8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x556615361b88)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x5566159dbdb8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x5566157aabd0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670639: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5566157ebf78)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x556615849900)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x556615849900)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x5566157f0c08)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157f0c08)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5566157693a0)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157f0c08)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fbb50)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a3698)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157dc3f0)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5566159dd948)', 'Try::Tiny::Catch=REF(0x5566157ebcf0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a24910)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x556615878118)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x556615997ef0)', 'ARRAY(0x556615878118)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x556615878118)', 'CODE(0x556615997ef0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x556615773a30)', 'ARRAY(0x556615878118)', 'CODE(0x556615997ef0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615773a30)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x556615347c38)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157f0c08)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x556615769688)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157f0c08)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x556615892dc8)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157f0c08)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615773f58)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x556615770920)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157704b8)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91538)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91580)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615371ed0)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157f0c08)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55661536c3e0)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x5566157f0c08)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x5566158ade18)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670641: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x556615950828)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5566157cf348)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5566157cf348)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x5566159a5700)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a5700)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55661576f268)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a5700)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fdd48)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a4d58)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157df1b8)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55661580cdb8)', 'Try::Tiny::Catch=REF(0x5566158df800)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a25d28)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x556615a03290)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5566158b0148)', 'ARRAY(0x556615a03290)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x556615a03290)', 'CODE(0x5566158b0148)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x556615776448)', 'ARRAY(0x556615a03290)', 'CODE(0x5566158b0148)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615776448)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55661533d4a8)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a5700)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55661576f448)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a5700)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5566158951e0)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a5700)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615938f48)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55661599a470)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157feb68)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91550)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91598)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615374ad8)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566159a5700)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x556615361b88)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x5566159a5700)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x5566157d2950)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670639: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x556615a24988)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55661580f280)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55661580f280)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x55661590e130)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661590e130)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5566157693a0)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661590e130)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fbb50)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a3698)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157dc3f0)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x556615824690)', 'Try::Tiny::Catch=REF(0x5566159d9620)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a24910)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5566158dd618)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5566159744f8)', 'ARRAY(0x5566158dd618)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5566158dd618)', 'CODE(0x5566159744f8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x556615773a30)', 'ARRAY(0x5566158dd618)', 'CODE(0x5566159744f8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615773a30)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661590e130)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x556615347c38)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661590e130)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x556615769688)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661590e130)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x556615892dc8)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661590e130)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615773f58)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x556615770920)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157704b8)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91538)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91580)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615371ed0)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55661590e130)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55661536c3e0)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x55661590e130)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x55661596faa8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670641: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5566158dfa40)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55661577a568)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55661577a568)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x5566157d34a8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad1c038)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d34a8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55661576f268)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d34a8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fdd48)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a4d58)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157df1b8)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5566158287b0)', 'Try::Tiny::Catch=REF(0x556615811010)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a25d28)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615776448)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55661533d4a8)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d34a8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55661576f448)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d34a8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5566158951e0)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d34a8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615938f48)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55661599a470)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157feb68)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91550)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91598)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615374ad8)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566157d34a8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x556615361b88)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x5566157d34a8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x556615948a20)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1670639: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x556615824810)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x556615946288)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x556615946288)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x5566158ddb40)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55660ad4ad08)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566158ddb40)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5566157693a0)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566158ddb40)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5566158fbb50)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5566159a3698)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5566157dc3f0)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x556615824a08)', 'Try::Tiny::Catch=REF(0x556615824510)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556615a24910)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556615773a30)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x556615347c38)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566158ddb40)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x556615769688)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566158ddb40)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x556615892dc8)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566158ddb40)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556615773f58)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x556615770920)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5566157704b8)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556609f91538)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556609f91580)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556615371ed0)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5566158ddb40)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55661536c3e0)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556609907b00)', 'HASH(0x5566158ddb40)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556609907b00)', 'Net::Server::Proto::UNIX=GLOB(0x5566157c9dc8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556609907b00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556609907b00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556609907b00)', 'port', 'ARRAY(0x556609f2b470)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556609907b00)', 'CODE(0x5566099079b0)', 'HASH(0x55660997fc90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5566099079c8)', 'CODE(0x5566099079b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5566097461f8)', 'Plack::Handler::Starman=HASH(0x5566099079c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556609644ac0)') called at /bin/starman line 38 2026/08/05-14:16:46 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-14:16:46 Worker processes cleaned up 2026/08/05-14:16:46 Server closing! Process Backgrounded 2026/08/05-14:16:47 Starman::Server (type Net::Server::PreFork) starting! pid(1671307) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fe2123220)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed94edf0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed94edf0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed9bed70)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9bed70)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9bed70)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed8a5638)', 'Try::Tiny::Catch=REF(0x561fedad8bc0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9bed70)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9bed70)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9bed70)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9bed70)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed9bed70)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed9a3400)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fe21231d8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fedab1330)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fedab1330)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fedab5eb0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedab5eb0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedab5eb0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed8ada48)', 'Try::Tiny::Catch=REF(0x561fedae2038)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedab5eb0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedab5eb0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedab5eb0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedab5eb0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fedab5eb0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed9af1e0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed94e748)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed9fd868)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed9fd868)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fedad9358)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedad9358)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedad9358)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fedad1250)', 'Try::Tiny::Catch=REF(0x561feda84938)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedad9358)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedad9358)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedad9358)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedad9358)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fedad9358)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fedad1088)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed9554d8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed8add00)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed8add00)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fedadc0b8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedadc0b8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedadc0b8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fedadc178)', 'Try::Tiny::Catch=REF(0x561fed86ee90)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedadc0b8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedadc0b8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedadc0b8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedadc0b8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fedadc0b8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fedadbfb0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed9fd928)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed9fe180)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed9fe180)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561feda05d60)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d60)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d60)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561feda9a888)', 'Try::Tiny::Catch=REF(0x561feda63260)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561feda9dcf0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561fed94a3b8)', 'ARRAY(0x561feda9dcf0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561feda9dcf0)', 'CODE(0x561fed94a3b8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'ARRAY(0x561feda9dcf0)', 'CODE(0x561fed94a3b8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d60)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d60)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d60)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d60)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561feda05d60)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fedad1010)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561feda05d50)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed92e8d0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed92e8d0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561feda0d300)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda0d300)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda0d300)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed931c68)', 'Try::Tiny::Catch=REF(0x561feda090c0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561fed932598)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561fed955700)', 'ARRAY(0x561fed932598)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561fed932598)', 'CODE(0x561fed955700)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'ARRAY(0x561fed932598)', 'CODE(0x561fed955700)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda0d300)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda0d300)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda0d300)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda0d300)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561feda0d300)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed8ad9b8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed4652b8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed9656b0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed9656b0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561feda01de0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda01de0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda01de0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fedad9358)', 'Try::Tiny::Catch=REF(0x561feda9d870)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda01de0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda01de0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda01de0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda01de0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561feda01de0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561feda7ce70)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fedac5eb0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed970568)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed970568)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed8a63f8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a63f8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a63f8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fedadc0b8)', 'Try::Tiny::Catch=REF(0x561feda0cfe8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a63f8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a63f8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a63f8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a63f8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed8a63f8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fedaa5d58)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fedadcf98)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed8fb178)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed8fb178)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed9657d0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9657d0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9657d0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fedaa9680)', 'Try::Tiny::Catch=REF(0x561feda4ae40)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561fedaa9548)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561feda9d6d8)', 'ARRAY(0x561fedaa9548)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561fedaa9548)', 'CODE(0x561feda9d6d8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'ARRAY(0x561fedaa9548)', 'CODE(0x561feda9d6d8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9657d0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9657d0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9657d0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9657d0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed9657d0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561feda9d900)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fedae7f18)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed906690)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed906690)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed4990e0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed4990e0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed4990e0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fedab1ca8)', 'Try::Tiny::Catch=REF(0x561fed9364e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561fedab1be8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561feda856a8)', 'ARRAY(0x561fedab1be8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561fedab1be8)', 'CODE(0x561feda856a8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'ARRAY(0x561fedab1be8)', 'CODE(0x561feda856a8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed4990e0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed4990e0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed4990e0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed4990e0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed4990e0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fedadbe30)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fedaa9458)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fedaa9878)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fedaa9878)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed91a6e8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed91a6e8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed91a6e8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed997460)', 'Try::Tiny::Catch=REF(0x561feda4ade0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561fed9f3138)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561fed9657e8)', 'ARRAY(0x561fed9f3138)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561fed9f3138)', 'CODE(0x561fed9657e8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'ARRAY(0x561fed9f3138)', 'CODE(0x561fed9657e8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed91a6e8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed91a6e8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed91a6e8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed91a6e8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed91a6e8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed89dc50)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed8a61d0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed9bb430)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed9bb430)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed923b78)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed923b78)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed923b78)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561feda51f48)', 'Try::Tiny::Catch=REF(0x561feda76f50)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561feda51f90)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561fed9708c8)', 'ARRAY(0x561feda51f90)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561feda51f90)', 'CODE(0x561fed9708c8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'ARRAY(0x561feda51f90)', 'CODE(0x561fed9708c8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed923b78)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed923b78)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed923b78)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed923b78)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed923b78)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed9555e0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fedab8c00)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed9f9ea0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed9f9ea0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed997340)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed997340)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed997340)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561feda5fb00)', 'Try::Tiny::Catch=REF(0x561feda060d8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561feda5fc98)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561fed89e040)', 'ARRAY(0x561feda5fc98)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561feda5fc98)', 'CODE(0x561fed89e040)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'ARRAY(0x561feda5fc98)', 'CODE(0x561fed89e040)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed997340)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed997340)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed997340)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed997340)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed997340)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed997340)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fedab8cf0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed9b3ea0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561feda52140)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561feda52140)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed9a0460)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a0460)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a0460)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561feda03408)', 'Try::Tiny::Catch=REF(0x561feda03570)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561feda03390)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561fedae22a8)', 'ARRAY(0x561feda03390)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561feda03390)', 'CODE(0x561fedae22a8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'ARRAY(0x561feda03390)', 'CODE(0x561fedae22a8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a0460)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a0460)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a0460)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a0460)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed9a0460)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed9fb5d8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed9f62a8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fedabc710)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fedabc710)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed9fa668)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa668)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa668)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed91a6e8)', 'Try::Tiny::Catch=REF(0x561feda7d560)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa668)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa668)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa668)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa668)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed9fa668)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed89a030)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561feda030a8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561feda0d138)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561feda0d138)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561feda037c8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda037c8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda037c8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed923b78)', 'Try::Tiny::Catch=REF(0x561feda02f88)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda037c8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda037c8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda037c8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda037c8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561feda037c8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fecd50f78)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed91a6a0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed928d78)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed928d78)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fedabcc98)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedabcc98)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedabcc98)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed964d98)', 'Try::Tiny::Catch=REF(0x561feda01ee8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561feda7b078)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561feda6e7e0)', 'ARRAY(0x561feda7b078)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561feda7b078)', 'CODE(0x561feda6e7e0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'ARRAY(0x561feda7b078)', 'CODE(0x561feda6e7e0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedabcc98)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedabcc98)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedabcc98)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedabcc98)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fedabcc98)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561feda08700)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561feda85690)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561feda82050)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561feda82050)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561feda05d20)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d20)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d20)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed851140)', 'Try::Tiny::Catch=REF(0x561feda65968)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561feda84ee0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561feda852a0)', 'ARRAY(0x561feda84ee0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561feda84ee0)', 'CODE(0x561feda852a0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'ARRAY(0x561feda84ee0)', 'CODE(0x561feda852a0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d20)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d20)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d20)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda05d20)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561feda05d20)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561feda11bd8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561feda7a940)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed8a5728)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed8a5728)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed960c88)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed960c88)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed960c88)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed9fa668)', 'Try::Tiny::Catch=REF(0x561fed9f5e28)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed960c88)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed960c88)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed960c88)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed960c88)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed960c88)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed917a70)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed851170)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed8a6230)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed8a6230)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed84e2f0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e2f0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e2f0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561feda037c8)', 'Try::Tiny::Catch=REF(0x561feda821e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e2f0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e2f0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e2f0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e2f0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed84e2f0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561feda84f28)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed994de8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561feda08628)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561feda08628)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561feda7d758)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda7d758)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda7d758)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561feda4abe8)', 'Try::Tiny::Catch=REF(0x561fed9a3388)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda7d758)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda7d758)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda7d758)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda7d758)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561feda7d758)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed996e30)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed9557a8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed893220)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed893220)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed9a08f8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a08f8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a08f8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed8a5d08)', 'Try::Tiny::Catch=REF(0x561fed954e00)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a08f8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a08f8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a08f8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9a08f8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed9a08f8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed84e2c0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561feda9da38)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed964c30)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed964c30)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed9f2f10)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f2f10)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f2f10)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed88a1d8)', 'Try::Tiny::Catch=REF(0x561fed8fe518)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f2f10)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f2f10)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f2f10)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f2f10)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed9f2f10)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed8fe140)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed8f4230)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561feda05888)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561feda05888)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed8b1100)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8b1100)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8b1100)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed8a5fc0)', 'Try::Tiny::Catch=REF(0x561fedb03928)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8b1100)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8b1100)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8b1100)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8b1100)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed8b1100)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed8515a8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561feda62f30)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561feda059e8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561feda059e8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561feda62d38)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda62d38)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda62d38)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed43aa88)', 'Try::Tiny::Catch=REF(0x561fed8fe578)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda62d38)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda62d38)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda62d38)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda62d38)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561feda62d38)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561feda9d840)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561feda09648)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561feda09720)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561feda09720)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561feda6e658)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda6e658)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda6e658)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fedae42a0)', 'Try::Tiny::Catch=REF(0x561fed923680)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda6e658)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda6e658)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda6e658)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda6e658)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561feda6e658)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561feda0d180)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed899fb8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed9970e8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed9970e8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed88a0b8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed88a0b8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed88a0b8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fedad0b00)', 'Try::Tiny::Catch=REF(0x561fed994f80)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed88a0b8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed88a0b8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed88a0b8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed88a0b8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed88a0b8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561feda6e558)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561feda09258)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561feda035d0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561feda035d0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed95a6d8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed95a6d8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed95a6d8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561feda036d8)', 'Try::Tiny::Catch=REF(0x561feda0d9a8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed95a6d8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed95a6d8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed95a6d8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed95a6d8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed95a6d8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561feda769c8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed9f9e28)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561feda7ae50)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561feda7ae50)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed9f6128)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6128)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6128)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed9262c8)', 'Try::Tiny::Catch=REF(0x561feda06570)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6128)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6128)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6128)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6128)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed9f6128)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed9fa908)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561feda02d30)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed9ad268)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed9ad268)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fedaa5dd0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedaa5dd0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedaa5dd0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fedac7d60)', 'Try::Tiny::Catch=REF(0x561feda11b48)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedaa5dd0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedaa5dd0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedaa5dd0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fedaa5dd0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561feda52038)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561feda7b000)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fedab8b70)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fedab8b70)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed994db8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed994db8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed994db8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fedaf7d48)', 'Try::Tiny::Catch=REF(0x561fed9f2a78)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed994db8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed994db8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed994db8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed994db8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed994db8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed913978)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fedac0f48)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561feda850a8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561feda850a8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561feda521d0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda521d0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda521d0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed9a0838)', 'Try::Tiny::Catch=REF(0x561feda05930)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda521d0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda521d0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda521d0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda521d0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561feda521d0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed9321c0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fedadcfc8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed960be0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed960be0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed9f6110)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6110)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6110)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed996ea8)', 'Try::Tiny::Catch=REF(0x561fedaa9830)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561fedab8918)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561fed926478)', 'ARRAY(0x561fedab8918)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561fedab8918)', 'CODE(0x561fed926478)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'ARRAY(0x561fedab8918)', 'CODE(0x561fed926478)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6110)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6110)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6110)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9f6110)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed9f6110)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fedad8fe0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed970a00)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561feda84d78)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561feda84d78)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed955850)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed955850)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed955850)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fedab1b40)', 'Try::Tiny::Catch=REF(0x561feda76e78)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561fed906408)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561fed9707f0)', 'ARRAY(0x561fed906408)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561fed906408)', 'CODE(0x561fed9707f0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'ARRAY(0x561fed906408)', 'CODE(0x561fed9707f0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed955850)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed955850)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed955850)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed955850)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed955850)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed955850)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed9b3b10)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fedaa9ab8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed994e90)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed994e90)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed8a5c98)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a5c98)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a5c98)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed9f2b20)', 'Try::Tiny::Catch=REF(0x561fed9fa548)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561feda7d170)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561feda30da0)', 'ARRAY(0x561feda7d170)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561feda7d170)', 'CODE(0x561feda30da0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'ARRAY(0x561feda7d170)', 'CODE(0x561feda30da0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a5c98)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a5c98)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a5c98)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed8a5c98)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed8a5c98)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed9a55c8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561feda11770)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561feda06140)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561feda06140)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed9238f0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9238f0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9238f0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed9c3158)', 'Try::Tiny::Catch=REF(0x561fedac1380)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561feda091c8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561feda85690)', 'ARRAY(0x561feda091c8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561feda091c8)', 'CODE(0x561feda85690)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'ARRAY(0x561feda091c8)', 'CODE(0x561feda85690)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9238f0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9238f0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9238f0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9238f0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed9238f0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561feda11c38)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed8a59c8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dmain_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-main.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Parts Copyright (C) 2013 Mark Tompsett^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Quotes;^Juse C4::Members;^Juse C4::Overdues qw( checkoverdues );^Juse Koha::Checkouts;^Juse Koha::Holds;^Juse Koha::Patron::Messages;^J^Jmy $input = CGI->new;^Jmy $dbh = C4::Context->dbh;^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-main.tt",^J type => "opac",^J query => $input,^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $casAuthentication = C4::Context->preference(\'casAuthentication\');^J$template->param(^J casAuthentication => $casAuthentication,^J);^J^Jmy $homebranch = $ENV{OPAC_BRANCH_DEFAULT};^Jif ( C4::Context->userenv ) {^J $homebranch = C4::Context->userenv->{\'branch\'};^J}^Jif ( defined $input->param(\'branch\') and length $input->param(\'branch\') ) {^J $homebranch = $input->param(\'branch\');^J} elsif ( C4::Context->userenv and defined $input->param(\'branch\') and length $input->param(\'branch\') == 0 ) {^J $homebranch = "";^J}^J^Jmy $news_id = $input->param(\'news_id\');^J$template->param( news_id => $news_id );^J^J# For dashboard^Jmy $patron = Koha::Patrons->find($borrowernumber);^J^Jif ($patron) {^J my $checkouts = Koha::Checkouts->search( { borrowernumber => $borrowernumber } )->count;^J my ( $overdues_count, $overdues ) = checkoverdues($borrowernumber);^J my $holds_pending = Koha::Holds->count_holds( { borrowernumber => $borrowernumber, found => undef } );^J my $holds_waiting = Koha::Holds->search( { borrowernumber => $borrowernumber } )->waiting->count;^J my $patron_messages = Koha::Patron::Messages->search(^J {^J borrowernumber => $borrowernumber,^J message_type => \'B\',^J }^J );^J my $patron_note = $patron->opacnote;^J my $total = $patron->account->balance;^J my $saving_display = C4::Context->preference(\'OPACShowSavings\');^J my $savings = 0;^J if ( $saving_display =~ /summary/ ) {^J $savings = $patron->get_savings;^J }^J if ( $checkouts > 0^J || $overdues_count > 0^J || $holds_pending > 0^J || $holds_waiting > 0^J || $total > 0^J || $patron_note^J || $patron_messages->count^J || $savings > 0 )^J {^J $template->param(^J dashboard_info => 1,^J checkouts => $checkouts,^J overdues => $overdues_count,^J holds_pending => $holds_pending,^J holds_waiting => $holds_waiting,^J total_owing => $total,^J patron_messages => $patron_messages,^J opacnote => $patron_note,^J savings => $savings,^J );^J }^J}^J^J$template->param( branchcode => $homebranch ) if $homebranch;^J$template->param(^J daily_quote => Koha::Quotes->get_daily_quote(),^J);^J^Joutput_html_with_http_headers $input, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-main.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fedad90d0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fedad90d0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed889d58)', '/kohadevbox/koha/opac/opac-main.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed889d58)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed889d58)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed996d88)', 'Try::Tiny::Catch=REF(0x561feda06090)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed889d58)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed889d58)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed889d58)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed889d58)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed889d58)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed89de18)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fedadbdd0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561feda05ed0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561feda05ed0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed84e320)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e320)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e320)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed955850)', 'Try::Tiny::Catch=REF(0x561fed99fd88)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e320)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e320)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e320)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed84e320)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed84e320)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fedaa5d28)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed965500)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fedaa5358)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fedaa5358)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed965248)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed965248)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed965248)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561feda7d410)', 'Try::Tiny::Catch=REF(0x561fed9fa3b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed965248)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed965248)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed965248)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed965248)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed965248)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed965248)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed961360)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed906960)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fed923818)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fed923818)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561feda02e20)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda02e20)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda02e20)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561feda113e0)', 'Try::Tiny::Catch=REF(0x561feda11668)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda02e20)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda02e20)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda02e20)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda02e20)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561feda02e20)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed923950)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fedadd178)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fedaa94e8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fedaa94e8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed9fa218)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa218)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa218)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561feda7d5f0)', 'Try::Tiny::Catch=REF(0x561fed9b10d8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa218)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa218)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa218)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9fa218)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed9fa218)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fed9659b0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671308: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fed8b0cc8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561fedae40c0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561fedae40c0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed9237a0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e16188)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9237a0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8cc638)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9237a0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fedb263f8)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8f3ea0)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9d32b8)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed9238d8)', 'Try::Tiny::Catch=REF(0x561feda03108)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedae44b0)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561feda11908)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561feda51e58)', 'ARRAY(0x561feda11908)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561feda11908)', 'CODE(0x561feda51e58)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'ARRAY(0x561feda11908)', 'CODE(0x561feda51e58)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9bb928)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed43d938)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9237a0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8cc6f8)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9237a0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561fed4723e0)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9237a0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9c33f8)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9bffb8)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed8a93d8)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832a8)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe20832f0)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed462918)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561fed9237a0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed45baa0)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561fed9237a0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fedac7c40)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1671309: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561fedaa5070)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561feda5f650)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561feda5f650)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561feda5f3f8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561fe2e1d5a0)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda5f3f8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561fed8c0f68)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda5f3f8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561fed9ce3d8)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561fed8e81a0)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561fed9cac08)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561fed9610a8)', 'Try::Tiny::Catch=REF(0x561fed9fa1e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561fedad95f8)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561fed8a98f0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561fed889d28)', 'ARRAY(0x561fed8a98f0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561fed8a98f0)', 'CODE(0x561fed889d28)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'ARRAY(0x561fed8a98f0)', 'CODE(0x561fed889d28)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561fed9b14c8)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561fed073920)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda5f3f8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561fed8c4118)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda5f3f8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561feda33f88)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda5f3f8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561fed9baf50)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561fed9a3070)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561fed89e718)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561fe20832c0)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561fe2083308)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561fed459bd0)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561feda5f3f8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561fed44e988)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561fe19f8220)', 'HASH(0x561feda5f3f8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561fe19f8220)', 'Net::Server::Proto::UNIX=GLOB(0x561fe18e8160)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561fe19f8220)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561fe19f8220)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'port', 'ARRAY(0x561fe201cb20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561fe19f8220)', 'CODE(0x561fe19f80d0)', 'HASH(0x561fe1a70640)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561fe19f80e8)', 'CODE(0x561fe19f80d0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561fe1837e08)', 'Plack::Handler::Starman=HASH(0x561fe19f80e8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561fe173fde8)') called at /bin/starman line 38 2026/08/05-15:36:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-15:36:28 Worker processes cleaned up 2026/08/05-15:36:28 Server closing! Process Backgrounded 2026/08/05-15:36:29 Starman::Server (type Net::Server::PreFork) starting! pid(1673680) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620dde81180)', 'package CGI::Compile::ROOT::kohadevbox_koha_mainpage_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/mainpage.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Copyright Paul Poulain 2002^J# Parts Copyright Liblime 2007^J# Copyright (C) 2013 Mark Tompsett^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Output qw( output_html_with_http_headers );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Koha;^Juse C4::Tags qw( get_count_by_tag_status );^Juse Koha::AdditionalContents;^Juse Koha::Patron::Modifications;^Juse Koha::Patron::Discharge;^Juse Koha::Reviews;^Juse Koha::ArticleRequests;^Juse Koha::BiblioFrameworks;^Juse Koha::ProblemReports;^Juse Koha::Quotes;^Juse Koha::Suggestions;^Juse Koha::BackgroundJobs;^Juse Koha::CurbsidePickups;^Juse Koha::Tickets;^J^Jmy $query = CGI->new;^J^Jmy ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(^J {^J template_name => "intranet-main.tt",^J query => $query,^J type => "intranet",^J flagsrequired => { catalogue => 1, },^J }^J);^J^Jmy $logged_in_user = Koha::Patrons->find($loggedinuser);^J^J# Checking if there is a Fast Cataloging Framework^J$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find(\'FA\');^J^Jmy $homebranch;^Jif ( C4::Context->userenv ) {^J $homebranch = C4::Context->userenv->{\'branch\'};^J}^Jmy $koha_news = Koha::AdditionalContents->search_for_display(^J {^J category => \'news\',^J location => [ \'staff_only\', \'staff_and_opac\' ],^J lang => $template->lang,^J library_id => $homebranch^J }^J);^J^J$template->param(^J koha_news => $koha_news,^J daily_quote => Koha::Quotes->get_daily_quote(),^J);^J^Jmy $branch =^J ( C4::Context->preference("IndependentBranchesPatronModifications")^J || C4::Context->preference("IndependentBranches") )^J && !$flags->{\'superlibrarian\'}^J ? C4::Context->userenv()->{\'branch\'}^J : undef;^J^Jmy $pendingcomments = Koha::Reviews->search_limited( { approved => 0 } )->count;^Jmy $pendingtags = get_count_by_tag_status(0);^J^J# Get current branch count and total viewable count, if they don\'t match then pass^J# both to template^J^Jif ( C4::Context->only_my_library ) {^J my $local_pendingsuggestions_count = Koha::Suggestions->search(^J { status => "ASKED", branchcode => C4::Context->userenv()->{\'branch\'}, archived => 0 } )->count();^J $template->param( pendingsuggestions => $local_pendingsuggestions_count );^J} else {^J my $pendingsuggestions = Koha::Suggestions->search( { status => "ASKED", archived => 0 } );^J my $local_pendingsuggestions_count =^J $pendingsuggestions->search( { \'me.branchcode\' => C4::Context->userenv()->{\'branch\'} } )->count();^J my $pendingsuggestions_count = $pendingsuggestions->count();^J $template->param(^J all_pendingsuggestions => $pendingsuggestions_count != $local_pendingsuggestions_count^J ? $pendingsuggestions_count^J : 0,^J pendingsuggestions => $local_pendingsuggestions_count^J );^J}^J^Jmy $pending_borrower_modifications = Koha::Patron::Modifications->pending_count($branch);^Jmy $pending_discharge_requests = Koha::Patron::Discharge::count( { pending => 1 } );^Jmy $pending_article_requests = Koha::ArticleRequests->search_limited(^J {^J status => Koha::ArticleRequest::Status::Requested,^J $branch ? ( \'me.branchcode\' => $branch ) : (),^J }^J)->count;^Jmy $pending_problem_reports = Koha::ProblemReports->search( { status => \'New\' } );^J^Jif ( C4::Context->preference(\'OpacCatalogConcerns\') || C4::Context->preference(\'CatalogConcerns\') ) {^J my $pending_biblio_tickets = Koha::Tickets->search(^J {^J resolved_date => undef,^J biblio_id => { \'!=\' => undef }^J }^J );^J $template->param( pending_biblio_tickets => $pending_biblio_tickets->count );^J}^J^Junless ( $logged_in_user->has_permission( { parameters => \'manage_background_jobs\' } ) ) {^J my $already_ran_jobs =^J Koha::BackgroundJobs->search( { borrowernumber => $logged_in_user->borrowernumber } )->count ? 1 : 0;^J $template->param( already_ran_jobs => $already_ran_jobs );^J}^J^J$template->param(^J holds_with_cancellation_requests => Koha::Holds->waiting->filter_by_has_cancellation_requests->count );^J^Jif ( C4::Context->preference(\'CurbsidePickup\') ) {^J $template->param(^J new_curbside_pickups => Koha::CurbsidePickups->search(^J {^J branchcode => $homebranch,^J }^J )->filter_by_to_be_staged->filter_by_scheduled_today,^J );^J}^J^Jif ( C4::Context->preference(\'PatronSelfRegistrationAlert\') ) {^J my $categorycode = C4::Context->preference(\'PatronSelfRegistrationDefaultCategory\');^J my $branchcode = C4::Context::mybranch();^J^J my $rs = Koha::Patrons->search( { categorycode => $categorycode } );^J^J $template->param(^J self_registered_count => $rs->count,^J self_registered_mybranch_count => $rs->search( { branchcode => $branchcode } )->count,^J );^J}^J^J$template->param(^J pendingcomments => $pendingcomments,^J pendingtags => $pendingtags,^J pending_borrower_modifications => $pending_borrower_modifications,^J pending_discharge_requests => $pending_discharge_requests,^J pending_article_requests => $pending_article_requests,^J pending_problem_reports => $pending_problem_reports,^J);^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96f7fc8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96f7fc8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620ddde0920)', 'HASH(0x5620e97b5b88)', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620ddde0920)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97b5b88)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e98711d0)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97b5b88)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e9726b18)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e9870690)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e961d190)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96febd0)', 'Try::Tiny::Catch=REF(0x5620e96fc4f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e96348d0)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e961d898)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97b5b88)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97b5b88)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97b5b88)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97b5b88)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e97b5b88)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e961d478)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620dde80fc8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96f9f80)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96f9f80)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e96d73f8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96d73f8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96d73f8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e9620128)', 'Try::Tiny::Catch=REF(0x5620e9620890)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96d73f8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96d73f8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96d73f8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96d73f8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e96d73f8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e9701c28)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e989be00)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e97e4470)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e97e4470)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9894060)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9894060)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9894060)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e97e89b8)', 'Try::Tiny::Catch=REF(0x5620e96ff308)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9894060)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9894060)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9894060)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9894060)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9894060)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e9621788)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e989de78)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e97a5090)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e97a5090)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620dd646060)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620dd646060)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620dd646060)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e9744780)', 'Try::Tiny::Catch=REF(0x5620e977ef80)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620dd646060)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620dd646060)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620dd646060)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620dd646060)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620dd646060)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e9620278)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e96b5330)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e9836c38)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e9836c38)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e96fe978)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe978)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe978)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96ff290)', 'Try::Tiny::Catch=REF(0x5620e988d838)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe978)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe978)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe978)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe978)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e96fe978)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e96d8000)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9897738)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e97ee828)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e97ee828)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e9701d00)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701d00)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701d00)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e9785e68)', 'Try::Tiny::Catch=REF(0x5620e9803750)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e98390d8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e96cdce8)', 'ARRAY(0x5620e98390d8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e98390d8)', 'CODE(0x5620e96cdce8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e98390d8)', 'CODE(0x5620e96cdce8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701d00)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701d00)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701d00)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701d00)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9701d00)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e96d7530)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9836de8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e95fa638)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e95fa638)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e919d768)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e919d768)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e919d768)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e95d4740)', 'Try::Tiny::Catch=REF(0x5620e9836a88)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e974e2d8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e97ec228)', 'ARRAY(0x5620e974e2d8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e974e2d8)', 'CODE(0x5620e97ec228)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e974e2d8)', 'CODE(0x5620e97ec228)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e919d768)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e919d768)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e919d768)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e919d768)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e919d768)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e96fc970)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e989ad40)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e985beb0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e985beb0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e985c888)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c888)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c888)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e95d3440)', 'Try::Tiny::Catch=REF(0x5620e9785ee0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c888)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c888)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c888)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c888)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e985c888)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e986ed20)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9836ab8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e9638a50)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e9638a50)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e989b620)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b620)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b620)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e974e2f0)', 'Try::Tiny::Catch=REF(0x5620e974e290)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b620)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b620)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b620)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b620)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e989b620)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e961d478)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e97bed60)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e985c2b8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e985c2b8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e9701c28)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701c28)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701c28)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e9828398)', 'Try::Tiny::Catch=REF(0x5620e9754180)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e9728758)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e9834ba0)', 'ARRAY(0x5620e9728758)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e9728758)', 'CODE(0x5620e9834ba0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e9728758)', 'CODE(0x5620e9834ba0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701c28)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701c28)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701c28)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9701c28)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9701c28)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e97e6b30)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e95d4bf0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e9766af8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e9766af8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e986bd60)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e986bd60)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e986bd60)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96ac550)', 'Try::Tiny::Catch=REF(0x5620e96f7b00)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e97490c0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e95fa6e0)', 'ARRAY(0x5620e97490c0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e97490c0)', 'CODE(0x5620e95fa6e0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e97490c0)', 'CODE(0x5620e95fa6e0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e986bd60)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e986bd60)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e986bd60)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e986bd60)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e986bd60)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e96163a0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e96f59d8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e963da18)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e963da18)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e9751188)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751188)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751188)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96202d8)', 'Try::Tiny::Catch=REF(0x5620e9827e58)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e963d8c8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e985c138)', 'ARRAY(0x5620e963d8c8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e963d8c8)', 'CODE(0x5620e985c138)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e963d8c8)', 'CODE(0x5620e985c138)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751188)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751188)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751188)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751188)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9751188)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e962ff08)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9859a60)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e95f3120)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e95f3120)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9677478)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9677478)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9677478)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e973ec18)', 'Try::Tiny::Catch=REF(0x5620e9748ac0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e97e45d8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e963bee0)', 'ARRAY(0x5620e97e45d8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e97e45d8)', 'CODE(0x5620e963bee0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e97e45d8)', 'CODE(0x5620e963bee0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9677478)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9677478)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9677478)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9677478)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9677478)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e96f3cc8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e96b8408)', 'package CGI::Compile::ROOT::kohadevbox_koha_mainpage_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/mainpage.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Copyright Paul Poulain 2002^J# Parts Copyright Liblime 2007^J# Copyright (C) 2013 Mark Tompsett^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Output qw( output_html_with_http_headers );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Koha;^Juse C4::Tags qw( get_count_by_tag_status );^Juse Koha::AdditionalContents;^Juse Koha::Patron::Modifications;^Juse Koha::Patron::Discharge;^Juse Koha::Reviews;^Juse Koha::ArticleRequests;^Juse Koha::BiblioFrameworks;^Juse Koha::ProblemReports;^Juse Koha::Quotes;^Juse Koha::Suggestions;^Juse Koha::BackgroundJobs;^Juse Koha::CurbsidePickups;^Juse Koha::Tickets;^J^Jmy $query = CGI->new;^J^Jmy ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(^J {^J template_name => "intranet-main.tt",^J query => $query,^J type => "intranet",^J flagsrequired => { catalogue => 1, },^J }^J);^J^Jmy $logged_in_user = Koha::Patrons->find($loggedinuser);^J^J# Checking if there is a Fast Cataloging Framework^J$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find(\'FA\');^J^Jmy $homebranch;^Jif ( C4::Context->userenv ) {^J $homebranch = C4::Context->userenv->{\'branch\'};^J}^Jmy $koha_news = Koha::AdditionalContents->search_for_display(^J {^J category => \'news\',^J location => [ \'staff_only\', \'staff_and_opac\' ],^J lang => $template->lang,^J library_id => $homebranch^J }^J);^J^J$template->param(^J koha_news => $koha_news,^J daily_quote => Koha::Quotes->get_daily_quote(),^J);^J^Jmy $branch =^J ( C4::Context->preference("IndependentBranchesPatronModifications")^J || C4::Context->preference("IndependentBranches") )^J && !$flags->{\'superlibrarian\'}^J ? C4::Context->userenv()->{\'branch\'}^J : undef;^J^Jmy $pendingcomments = Koha::Reviews->search_limited( { approved => 0 } )->count;^Jmy $pendingtags = get_count_by_tag_status(0);^J^J# Get current branch count and total viewable count, if they don\'t match then pass^J# both to template^J^Jif ( C4::Context->only_my_library ) {^J my $local_pendingsuggestions_count = Koha::Suggestions->search(^J { status => "ASKED", branchcode => C4::Context->userenv()->{\'branch\'}, archived => 0 } )->count();^J $template->param( pendingsuggestions => $local_pendingsuggestions_count );^J} else {^J my $pendingsuggestions = Koha::Suggestions->search( { status => "ASKED", archived => 0 } );^J my $local_pendingsuggestions_count =^J $pendingsuggestions->search( { \'me.branchcode\' => C4::Context->userenv()->{\'branch\'} } )->count();^J my $pendingsuggestions_count = $pendingsuggestions->count();^J $template->param(^J all_pendingsuggestions => $pendingsuggestions_count != $local_pendingsuggestions_count^J ? $pendingsuggestions_count^J : 0,^J pendingsuggestions => $local_pendingsuggestions_count^J );^J}^J^Jmy $pending_borrower_modifications = Koha::Patron::Modifications->pending_count($branch);^Jmy $pending_discharge_requests = Koha::Patron::Discharge::count( { pending => 1 } );^Jmy $pending_article_requests = Koha::ArticleRequests->search_limited(^J {^J status => Koha::ArticleRequest::Status::Requested,^J $branch ? ( \'me.branchcode\' => $branch ) : (),^J }^J)->count;^Jmy $pending_problem_reports = Koha::ProblemReports->search( { status => \'New\' } );^J^Jif ( C4::Context->preference(\'OpacCatalogConcerns\') || C4::Context->preference(\'CatalogConcerns\') ) {^J my $pending_biblio_tickets = Koha::Tickets->search(^J {^J resolved_date => undef,^J biblio_id => { \'!=\' => undef }^J }^J );^J $template->param( pending_biblio_tickets => $pending_biblio_tickets->count );^J}^J^Junless ( $logged_in_user->has_permission( { parameters => \'manage_background_jobs\' } ) ) {^J my $already_ran_jobs =^J Koha::BackgroundJobs->search( { borrowernumber => $logged_in_user->borrowernumber } )->count ? 1 : 0;^J $template->param( already_ran_jobs => $already_ran_jobs );^J}^J^J$template->param(^J holds_with_cancellation_requests => Koha::Holds->waiting->filter_by_has_cancellation_requests->count );^J^Jif ( C4::Context->preference(\'CurbsidePickup\') ) {^J $template->param(^J new_curbside_pickups => Koha::CurbsidePickups->search(^J {^J branchcode => $homebranch,^J }^J )->filter_by_to_be_staged->filter_by_scheduled_today,^J );^J}^J^Jif ( C4::Context->preference(\'PatronSelfRegistrationAlert\') ) {^J my $categorycode = C4::Context->preference(\'PatronSelfRegistrationDefaultCategory\');^J my $branchcode = C4::Context::mybranch();^J^J my $rs = Koha::Patrons->search( { categorycode => $categorycode } );^J^J $template->param(^J self_registered_count => $rs->count,^J self_registered_mybranch_count => $rs->search( { branchcode => $branchcode } )->count,^J );^J}^J^J$template->param(^J pendingcomments => $pendingcomments,^J pendingtags => $pendingtags,^J pending_borrower_modifications => $pending_borrower_modifications,^J pending_discharge_requests => $pending_discharge_requests,^J pending_article_requests => $pending_article_requests,^J pending_problem_reports => $pending_problem_reports,^J);^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620ddde0908)', 'HASH(0x5620e989b430)', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620ddde0908)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b430)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e98731a8)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b430)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e9600d00)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e986f7d0)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e96ff3e0)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e985c888)', 'Try::Tiny::Catch=REF(0x5620e963b700)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9637598)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9632970)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b430)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b430)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b430)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989b430)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e989b430)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e9838c40)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e97469e8)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96c4a00)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96c4a00)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620ddde0920)', 'HASH(0x5620e96fc970)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620ddde0920)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fc970)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e98711d0)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fc970)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e9726b18)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e9870690)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e961d190)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96ac490)', 'Try::Tiny::Catch=REF(0x5620e963bb98)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e96348d0)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e961d898)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fc970)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fc970)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fc970)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fc970)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e96fc970)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e95d4c68)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9600520)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96183e8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96183e8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e9620098)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620098)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620098)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e95d3968)', 'Try::Tiny::Catch=REF(0x5620e989b0b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e9838820)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e9620398)', 'ARRAY(0x5620e9838820)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e9838820)', 'CODE(0x5620e9620398)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e9838820)', 'CODE(0x5620e9620398)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620098)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620098)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620098)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620098)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9620098)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e91c5f68)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e95fd9d0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96357d0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96357d0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e95fa230)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fa230)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fa230)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e95d12c0)', 'Try::Tiny::Catch=REF(0x5620e9859a60)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e9837208)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e96ff260)', 'ARRAY(0x5620e9837208)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e9837208)', 'CODE(0x5620e96ff260)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e9837208)', 'CODE(0x5620e96ff260)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fa230)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fa230)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fa230)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fa230)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e95fa230)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e9638d68)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e96f5c00)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e985ba18)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e985ba18)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e97e7058)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97e7058)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97e7058)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96bc020)', 'Try::Tiny::Catch=REF(0x5620e9618328)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97e7058)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97e7058)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97e7058)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97e7058)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e97e7058)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e96af948)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e96c4b20)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96f3f20)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96f3f20)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9836cc8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836cc8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836cc8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96f45c8)', 'Try::Tiny::Catch=REF(0x5620e974e410)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836cc8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836cc8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836cc8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836cc8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9836cc8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e982aac0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e95fd338)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e989af50)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e989af50)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e963b160)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b160)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b160)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e986eb40)', 'Try::Tiny::Catch=REF(0x5620e95d7270)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e97a50c0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e9754a20)', 'ARRAY(0x5620e97a50c0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e97a50c0)', 'CODE(0x5620e9754a20)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e97a50c0)', 'CODE(0x5620e9754a20)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b160)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b160)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b160)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b160)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e963b160)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e962ff08)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e97ec900)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e9751928)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e9751928)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9615cf8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9615cf8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9615cf8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96f8160)', 'Try::Tiny::Catch=REF(0x5620e98590b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e96b1780)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e9825f38)', 'ARRAY(0x5620e96b1780)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e96b1780)', 'CODE(0x5620e9825f38)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e96b1780)', 'CODE(0x5620e9825f38)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9615cf8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9615cf8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9615cf8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9615cf8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9615cf8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e95fa7e8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e985c318)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e963b2e0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e963b2e0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e95d7078)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d7078)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d7078)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e97eb068)', 'Try::Tiny::Catch=REF(0x5620e985c228)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d7078)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d7078)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d7078)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d7078)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e95d7078)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e989ad40)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e982eec0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e9706ee0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e9706ee0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9746700)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746700)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746700)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96acd30)', 'Try::Tiny::Catch=REF(0x5620e98980c0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746700)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746700)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746700)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746700)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9746700)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e97bcea8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e985c330)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e974bac0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e974bac0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e985c060)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c060)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c060)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96b8318)', 'Try::Tiny::Catch=REF(0x5620e95d7558)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e96cbf28)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e989b070)', 'ARRAY(0x5620e96cbf28)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e96cbf28)', 'CODE(0x5620e989b070)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e96cbf28)', 'CODE(0x5620e989b070)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c060)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c060)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c060)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c060)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e985c060)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e91c5f68)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e96f7770)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e97ec930)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e97ec930)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9746628)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746628)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746628)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e973e990)', 'Try::Tiny::Catch=REF(0x5620e96aca90)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e96b59a8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e9746958)', 'ARRAY(0x5620e96b59a8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e96b59a8)', 'CODE(0x5620e9746958)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e96b59a8)', 'CODE(0x5620e9746958)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746628)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746628)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746628)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746628)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9746628)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e9638d68)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e97447f8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e9744750)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e9744750)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e9897678)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9897678)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9897678)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96c74d0)', 'Try::Tiny::Catch=REF(0x5620e9838688)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e9620308)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e963dfa0)', 'ARRAY(0x5620e9620308)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e9620308)', 'CODE(0x5620e963dfa0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e9620308)', 'CODE(0x5620e963dfa0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9897678)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9897678)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9897678)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9897678)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9897678)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e961fb70)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e96f7c80)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96ac8f8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96ac8f8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e96f73b0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f73b0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f73b0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96b5f00)', 'Try::Tiny::Catch=REF(0x5620e988ce48)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e973ea98)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e96ac5f8)', 'ARRAY(0x5620e973ea98)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e973ea98)', 'CODE(0x5620e96ac5f8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e973ea98)', 'CODE(0x5620e96ac5f8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f73b0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f73b0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f73b0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f73b0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e96f73b0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e98368a8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9618268)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e9638168)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e9638168)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e989a698)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989a698)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989a698)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96f5cd8)', 'Try::Tiny::Catch=REF(0x5620e96f98f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e96aee50)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e974bdc0)', 'ARRAY(0x5620e96aee50)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e96aee50)', 'CODE(0x5620e974bdc0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e96aee50)', 'CODE(0x5620e974bdc0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989a698)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989a698)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989a698)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e989a698)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e989a698)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e9754978)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e96387f8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96f4418)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96f4418)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e97a2488)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97a2488)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97a2488)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e97518f8)', 'Try::Tiny::Catch=REF(0x5620e96f4910)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e9826550)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e96b5588)', 'ARRAY(0x5620e9826550)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e9826550)', 'CODE(0x5620e96b5588)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e9826550)', 'CODE(0x5620e96b5588)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97a2488)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97a2488)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97a2488)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97a2488)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e97a2488)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e9746970)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9768910)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96f9638)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96f9638)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e9620878)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620878)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620878)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e97bee50)', 'Try::Tiny::Catch=REF(0x5620e985c3f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e98284e8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e96af150)', 'ARRAY(0x5620e98284e8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e98284e8)', 'CODE(0x5620e96af150)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e98284e8)', 'CODE(0x5620e96af150)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620878)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620878)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620878)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9620878)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9620878)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e9838c40)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e95f2c70)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96f4280)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96f4280)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9746a78)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746a78)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746a78)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e9638f90)', 'Try::Tiny::Catch=REF(0x5620e97bcdb8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e97e3ff0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e95fd898)', 'ARRAY(0x5620e97e3ff0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e97e3ff0)', 'CODE(0x5620e95fd898)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e97e3ff0)', 'CODE(0x5620e95fd898)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746a78)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746a78)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746a78)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9746a78)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9746a78)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e9748ce8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9803408)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e9897030)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e9897030)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e9618298)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9618298)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9618298)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e961ff30)', 'Try::Tiny::Catch=REF(0x5620e96180d0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9618298)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9618298)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9618298)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9618298)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9618298)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e8cd0a48)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e97e84a8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e97466a0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e97466a0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e95d8af0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8af0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8af0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e9766b58)', 'Try::Tiny::Catch=REF(0x5620e9751bf8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8af0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8af0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8af0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8af0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e95d8af0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e95fd568)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e95db7f8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e974b850)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e974b850)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e96af738)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af738)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af738)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e989d938)', 'Try::Tiny::Catch=REF(0x5620e96f9530)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af738)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af738)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af738)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af738)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e96af738)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e9748e78)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e96fec90)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e9784358)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e9784358)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e95f2700)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95f2700)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95f2700)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96c1cc8)', 'Try::Tiny::Catch=REF(0x5620e982ec50)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95f2700)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95f2700)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95f2700)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95f2700)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e95f2700)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e9751490)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e95d3f20)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e97ee2e8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e97ee2e8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e96f9dd0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9dd0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9dd0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e985c6f0)', 'Try::Tiny::Catch=REF(0x5620e96c45b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e963dc88)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e9838778)', 'ARRAY(0x5620e963dc88)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e963dc88)', 'CODE(0x5620e9838778)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e963dc88)', 'CODE(0x5620e9838778)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9dd0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9dd0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9dd0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e96f9dd0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e985f318)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9836d40)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96b96b0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96b96b0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e96f3ce0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f3ce0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f3ce0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96b53c0)', 'Try::Tiny::Catch=REF(0x5620e96b58e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e985c6a0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e96ac4d8)', 'ARRAY(0x5620e985c6a0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e985c6a0)', 'CODE(0x5620e96ac4d8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e985c6a0)', 'CODE(0x5620e96ac4d8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f3ce0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f3ce0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f3ce0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e96f3ce0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e982ea58)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9838bf8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e974bdc0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e974bdc0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e96b4088)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b4088)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b4088)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96006d0)', 'Try::Tiny::Catch=REF(0x5620e95db720)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e9600148)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e9617fb0)', 'ARRAY(0x5620e9600148)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e9600148)', 'CODE(0x5620e9617fb0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e9600148)', 'CODE(0x5620e9617fb0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b4088)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b4088)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b4088)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b4088)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e96b4088)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e974bc10)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e96b16a8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e963c1b0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e963c1b0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9836ef0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836ef0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836ef0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e9638a98)', 'Try::Tiny::Catch=REF(0x5620e98945d0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e95d8a60)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e9858fc8)', 'ARRAY(0x5620e95d8a60)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e95d8a60)', 'CODE(0x5620e9858fc8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e95d8a60)', 'CODE(0x5620e9858fc8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836ef0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836ef0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836ef0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9836ef0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9836ef0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e97669d8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e96b8318)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96bc068)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96bc068)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e96f9758)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9758)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9758)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96aed48)', 'Try::Tiny::Catch=REF(0x5620e96f9fb0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e9750f00)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e9802ef8)', 'ARRAY(0x5620e9750f00)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e9750f00)', 'CODE(0x5620e9802ef8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e9750f00)', 'CODE(0x5620e9802ef8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9758)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9758)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9758)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96f9758)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e96f9758)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e8cd0a48)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e95d0bb8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e9766b58)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e9766b58)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e95fd568)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fd568)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fd568)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e97e8ee0)', 'Try::Tiny::Catch=REF(0x5620e9638c48)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e96385a0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e96f7548)', 'ARRAY(0x5620e96385a0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e96385a0)', 'CODE(0x5620e96f7548)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e96385a0)', 'CODE(0x5620e96f7548)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fd568)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fd568)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fd568)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95fd568)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e95fd568)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e96ac190)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e96af750)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e9748e18)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e9748e18)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e96af330)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af330)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af330)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e985beb0)', 'Try::Tiny::Catch=REF(0x5620e985be20)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af330)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af330)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af330)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96af330)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e96af330)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e963af08)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9859478)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e95d4908)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e95d4908)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e963c078)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963c078)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963c078)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e9638bd0)', 'Try::Tiny::Catch=REF(0x5620e9748af0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963c078)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963c078)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963c078)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963c078)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e963c078)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e97a2488)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e985bfb8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e9786138)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e9786138)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e97eb440)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97eb440)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97eb440)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e9802e50)', 'Try::Tiny::Catch=REF(0x5620e9618178)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e9828140)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e95d72b8)', 'ARRAY(0x5620e9828140)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e9828140)', 'CODE(0x5620e95d72b8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e9828140)', 'CODE(0x5620e95d72b8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97eb440)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97eb440)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97eb440)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97eb440)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e97eb440)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e985c678)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9746910)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e9746ca0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e9746ca0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e97ec7e0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97ec7e0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97ec7e0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96f43b8)', 'Try::Tiny::Catch=REF(0x5620e95fd430)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e978fed8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e982efe0)', 'ARRAY(0x5620e978fed8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e978fed8)', 'CODE(0x5620e982efe0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e978fed8)', 'CODE(0x5620e982efe0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97ec7e0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97ec7e0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97ec7e0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e97ec7e0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e95fd9a0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e96b40b8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e97a5330)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e97a5330)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e963b478)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b478)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b478)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e9803090)', 'Try::Tiny::Catch=REF(0x5620e97beef8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e974b808)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e9620740)', 'ARRAY(0x5620e974b808)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e974b808)', 'CODE(0x5620e9620740)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e974b808)', 'CODE(0x5620e9620740)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b478)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b478)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b478)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b478)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e963b478)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e95d3d40)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9749078)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e95d8bc8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e95d8bc8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e96fe918)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe918)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe918)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e981f608)', 'Try::Tiny::Catch=REF(0x5620e9638ca8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e9613108)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e95d4458)', 'ARRAY(0x5620e9613108)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e9613108)', 'CODE(0x5620e95d4458)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e9613108)', 'CODE(0x5620e95d4458)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe918)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe918)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe918)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96fe918)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e96fe918)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e9823580)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9748800)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96bbae0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96bbae0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e96bbf18)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96bbf18)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96bbf18)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96f5c30)', 'Try::Tiny::Catch=REF(0x5620e985c048)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e9834ae0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e96f92c0)', 'ARRAY(0x5620e9834ae0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e9834ae0)', 'CODE(0x5620e96f92c0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e9834ae0)', 'CODE(0x5620e96f92c0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96bbf18)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96bbf18)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96bbf18)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96bbf18)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e96bbf18)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e95db348)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e98263b8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e9836f80)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e9836f80)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9751550)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751550)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751550)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e963bda8)', 'Try::Tiny::Catch=REF(0x5620e95fd520)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e9751190)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e96b2380)', 'ARRAY(0x5620e9751190)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e9751190)', 'CODE(0x5620e96b2380)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e9751190)', 'CODE(0x5620e96b2380)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751550)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751550)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751550)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9751550)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9751550)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e98592c8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e96f60f8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e986f470)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e986f470)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e96b84c8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b84c8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b84c8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96b3938)', 'Try::Tiny::Catch=REF(0x5620e920e710)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b84c8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b84c8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b84c8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b84c8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e96b84c8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e963bb80)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e96c1ab8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e982ef08)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e982ef08)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e96b95f0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b95f0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b95f0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96f4130)', 'Try::Tiny::Catch=REF(0x5620e9638bb8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b95f0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b95f0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b95f0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b95f0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e96b95f0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e96fef78)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9803078)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e986ed08)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e986ed08)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e8cd0a48)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e8cd0a48)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e8cd0a48)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e91cf068)', 'Try::Tiny::Catch=REF(0x5620e97ee378)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e9750ee8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e9618028)', 'ARRAY(0x5620e9750ee8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e9750ee8)', 'CODE(0x5620e9618028)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e9750ee8)', 'CODE(0x5620e9618028)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e8cd0a48)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e8cd0a48)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e8cd0a48)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e8cd0a48)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e989a698)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e96ac4f0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e9783f80)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e9783f80)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9616568)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9616568)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9616568)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e9741cc0)', 'Try::Tiny::Catch=REF(0x5620e96b1930)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e97688d8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e96fc9d0)', 'ARRAY(0x5620e97688d8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e97688d8)', 'CODE(0x5620e96fc9d0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e97688d8)', 'CODE(0x5620e96fc9d0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9616568)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9616568)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9616568)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9616568)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9616568)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e9859838)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e985bda8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96b8810)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96b8810)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e963b940)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b940)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b940)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e985c3f0)', 'Try::Tiny::Catch=REF(0x5620e9768628)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b940)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b940)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b940)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963b940)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e963b940)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e96007d8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e98594d8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e963bbf8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e963bbf8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e96388d0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96388d0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96388d0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e95d0420)', 'Try::Tiny::Catch=REF(0x5620e9766b28)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96388d0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96388d0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96388d0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96388d0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e96388d0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e95fd9d0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e989b238)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e9748830)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e9748830)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e963e1f8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963e1f8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963e1f8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e985c648)', 'Try::Tiny::Catch=REF(0x5620e9751080)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e96aee20)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e9754210)', 'ARRAY(0x5620e96aee20)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e96aee20)', 'CODE(0x5620e9754210)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e96aee20)', 'CODE(0x5620e9754210)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963e1f8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963e1f8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963e1f8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963e1f8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e963e1f8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e9617ce0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e97ecff0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96f7470)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96f7470)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e95d8760)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8760)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8760)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e98001d0)', 'Try::Tiny::Catch=REF(0x5620e96f7710)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e9748b50)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e96b5420)', 'ARRAY(0x5620e9748b50)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e9748b50)', 'CODE(0x5620e96b5420)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e9748b50)', 'CODE(0x5620e96b5420)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8760)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8760)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8760)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e95d8760)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e95d8760)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e97bcde8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9748860)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e989df08)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e989df08)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e9826430)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9826430)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9826430)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96f9338)', 'Try::Tiny::Catch=REF(0x5620e963de68)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e9701b08)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e9638498)', 'ARRAY(0x5620e9701b08)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e9701b08)', 'CODE(0x5620e9638498)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'ARRAY(0x5620e9701b08)', 'CODE(0x5620e9638498)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9826430)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9826430)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9826430)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9826430)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9826430)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e985f3d8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9639098)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96ac4c0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96ac4c0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e96c1bd8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96c1bd8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96c1bd8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e95fd430)', 'Try::Tiny::Catch=REF(0x5620e95d0a98)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5620e963bd90)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5620e95d42c0)', 'ARRAY(0x5620e963bd90)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5620e963bd90)', 'CODE(0x5620e95d42c0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'ARRAY(0x5620e963bd90)', 'CODE(0x5620e95d42c0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96c1bd8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96c1bd8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96c1bd8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e96c1bd8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e96b19c0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9617c50)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e95db9d8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e95db9d8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e985bda8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb69f48)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985bda8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e962fda0)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985bda8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e988eb80)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96f0f70)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986f560)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e9754840)', 'Try::Tiny::Catch=REF(0x5620e9828140)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9709d58)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9600838)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985bda8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985bda8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985bda8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985bda8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e985bda8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e9748560)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e9783db8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e98261a8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e98261a8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e96b5bb8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620deb79738)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b5bb8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e9630878)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b5bb8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e96d4960)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e96ee208)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e986c450)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96388b8)', 'Try::Tiny::Catch=REF(0x5620e96fec18)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9707318)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9726ab8)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b5bb8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b5bb8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b5bb8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e96b5bb8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e96fe918)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e95d76c0)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e95d7060)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e95d7060)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620ddde0908)', 'HASH(0x5620e9838ad8)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620ddde0908)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9838ad8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e98731a8)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9838ad8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e9600d00)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e986f7d0)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e96ff3e0)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96f65f0)', 'Try::Tiny::Catch=REF(0x5620e96af318)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9637598)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9632970)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9838ad8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9838ad8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9838ad8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e9838ad8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e9838ad8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e96f6800)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673683: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e95d1320)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96f7668)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96f7668)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620ddde0920)', 'HASH(0x5620e985c7c0)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620ddde0920)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c7c0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e98711d0)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c7c0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e9726b18)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e9870690)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e961d190)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e96b5780)', 'Try::Tiny::Catch=REF(0x5620e9897bf8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e96348d0)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e961d898)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e0aa7fc8)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c7c0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e96303f8)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c7c0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9676db8)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c7c0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e961da00)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e96309c8)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9875218)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0830)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0878)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d2ae0)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e985c7c0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91cced8)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e985c7c0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e97515b0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1673681: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5620e97449f0)', 'package CGI::Compile::ROOT::kohadevbox_koha_mainpage_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/mainpage.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Copyright Paul Poulain 2002^J# Parts Copyright Liblime 2007^J# Copyright (C) 2013 Mark Tompsett^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Output qw( output_html_with_http_headers );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Koha;^Juse C4::Tags qw( get_count_by_tag_status );^Juse Koha::AdditionalContents;^Juse Koha::Patron::Modifications;^Juse Koha::Patron::Discharge;^Juse Koha::Reviews;^Juse Koha::ArticleRequests;^Juse Koha::BiblioFrameworks;^Juse Koha::ProblemReports;^Juse Koha::Quotes;^Juse Koha::Suggestions;^Juse Koha::BackgroundJobs;^Juse Koha::CurbsidePickups;^Juse Koha::Tickets;^J^Jmy $query = CGI->new;^J^Jmy ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(^J {^J template_name => "intranet-main.tt",^J query => $query,^J type => "intranet",^J flagsrequired => { catalogue => 1, },^J }^J);^J^Jmy $logged_in_user = Koha::Patrons->find($loggedinuser);^J^J# Checking if there is a Fast Cataloging Framework^J$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find(\'FA\');^J^Jmy $homebranch;^Jif ( C4::Context->userenv ) {^J $homebranch = C4::Context->userenv->{\'branch\'};^J}^Jmy $koha_news = Koha::AdditionalContents->search_for_display(^J {^J category => \'news\',^J location => [ \'staff_only\', \'staff_and_opac\' ],^J lang => $template->lang,^J library_id => $homebranch^J }^J);^J^J$template->param(^J koha_news => $koha_news,^J daily_quote => Koha::Quotes->get_daily_quote(),^J);^J^Jmy $branch =^J ( C4::Context->preference("IndependentBranchesPatronModifications")^J || C4::Context->preference("IndependentBranches") )^J && !$flags->{\'superlibrarian\'}^J ? C4::Context->userenv()->{\'branch\'}^J : undef;^J^Jmy $pendingcomments = Koha::Reviews->search_limited( { approved => 0 } )->count;^Jmy $pendingtags = get_count_by_tag_status(0);^J^J# Get current branch count and total viewable count, if they don\'t match then pass^J# both to template^J^Jif ( C4::Context->only_my_library ) {^J my $local_pendingsuggestions_count = Koha::Suggestions->search(^J { status => "ASKED", branchcode => C4::Context->userenv()->{\'branch\'}, archived => 0 } )->count();^J $template->param( pendingsuggestions => $local_pendingsuggestions_count );^J} else {^J my $pendingsuggestions = Koha::Suggestions->search( { status => "ASKED", archived => 0 } );^J my $local_pendingsuggestions_count =^J $pendingsuggestions->search( { \'me.branchcode\' => C4::Context->userenv()->{\'branch\'} } )->count();^J my $pendingsuggestions_count = $pendingsuggestions->count();^J $template->param(^J all_pendingsuggestions => $pendingsuggestions_count != $local_pendingsuggestions_count^J ? $pendingsuggestions_count^J : 0,^J pendingsuggestions => $local_pendingsuggestions_count^J );^J}^J^Jmy $pending_borrower_modifications = Koha::Patron::Modifications->pending_count($branch);^Jmy $pending_discharge_requests = Koha::Patron::Discharge::count( { pending => 1 } );^Jmy $pending_article_requests = Koha::ArticleRequests->search_limited(^J {^J status => Koha::ArticleRequest::Status::Requested,^J $branch ? ( \'me.branchcode\' => $branch ) : (),^J }^J)->count;^Jmy $pending_problem_reports = Koha::ProblemReports->search( { status => \'New\' } );^J^Jif ( C4::Context->preference(\'OpacCatalogConcerns\') || C4::Context->preference(\'CatalogConcerns\') ) {^J my $pending_biblio_tickets = Koha::Tickets->search(^J {^J resolved_date => undef,^J biblio_id => { \'!=\' => undef }^J }^J );^J $template->param( pending_biblio_tickets => $pending_biblio_tickets->count );^J}^J^Junless ( $logged_in_user->has_permission( { parameters => \'manage_background_jobs\' } ) ) {^J my $already_ran_jobs =^J Koha::BackgroundJobs->search( { borrowernumber => $logged_in_user->borrowernumber } )->count ? 1 : 0;^J $template->param( already_ran_jobs => $already_ran_jobs );^J}^J^J$template->param(^J holds_with_cancellation_requests => Koha::Holds->waiting->filter_by_has_cancellation_requests->count );^J^Jif ( C4::Context->preference(\'CurbsidePickup\') ) {^J $template->param(^J new_curbside_pickups => Koha::CurbsidePickups->search(^J {^J branchcode => $homebranch,^J }^J )->filter_by_to_be_staged->filter_by_scheduled_today,^J );^J}^J^Jif ( C4::Context->preference(\'PatronSelfRegistrationAlert\') ) {^J my $categorycode = C4::Context->preference(\'PatronSelfRegistrationDefaultCategory\');^J my $branchcode = C4::Context::mybranch();^J^J my $rs = Koha::Patrons->search( { categorycode => $categorycode } );^J^J $template->param(^J self_registered_count => $rs->count,^J self_registered_mybranch_count => $rs->search( { branchcode => $branchcode } )->count,^J );^J}^J^J$template->param(^J pendingcomments => $pendingcomments,^J pendingtags => $pendingtags,^J pending_borrower_modifications => $pending_borrower_modifications,^J pending_discharge_requests => $pending_discharge_requests,^J pending_article_requests => $pending_article_requests,^J pending_problem_reports => $pending_problem_reports,^J);^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5620e96f9920)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5620e96f9920)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5620ddde0908)', 'HASH(0x5620e963dac0)', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5620ddde0908)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963dac0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5620e98731a8)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963dac0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5620e9600d00)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5620e986f7d0)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5620e96ff3e0)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5620e97685b0)', 'Try::Tiny::Catch=REF(0x5620e96bc080)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5620e9637598)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5620e9632970)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5620e165aeb8)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963dac0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5620e9632460)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963dac0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5620e9678b68)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963dac0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5620e96fedc8)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5620e98730a0)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5620e9877de8)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5620ddde0818)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5620ddde0860)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5620e91d4e20)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5620e963dac0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5620e91d5270)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5620dd757500)', 'HASH(0x5620e963dac0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5620dd757500)', 'Net::Server::Proto::UNIX=GLOB(0x5620e989a698)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5620dd757500)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5620dd757500)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5620dd757500)', 'port', 'ARRAY(0x5620ddd7b290)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5620dd757500)', 'CODE(0x5620dd7573b0)', 'HASH(0x5620dd7cf780)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5620dd7573c8)', 'CODE(0x5620dd7573b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5620dd595da0)', 'Plack::Handler::Starman=HASH(0x5620dd7573c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5620dd341e20)') called at /bin/starman line 38 2026/08/05-17:16:56 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-17:16:56 Worker processes cleaned up 2026/08/05-17:16:56 Server closing! Process Backgrounded 2026/08/05-17:16:57 Starman::Server (type Net::Server::PreFork) starting! pid(1694790) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_1694793: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561f4007ecb0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561f4bb63df8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561f4bb63df8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561f40d765c0)', 'HASH(0x561f4b3f2678)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561f40d765c0)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3f2678)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561f4bae4d90)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3f2678)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561f4baf8118)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561f4bb8c710)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561f4bb07630)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561f4bb82f18)', 'Try::Tiny::Catch=REF(0x561f4bb90340)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561f4bafffd0)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561f4bad5378)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561f4badc058)', 'ARRAY(0x561f4bad5378)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561f4bad5378)', 'CODE(0x561f4badc058)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561f4bb1e9a0)', 'ARRAY(0x561f4bad5378)', 'CODE(0x561f4badc058)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561f4bb1e9a0)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561f42cc4a18)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3f2678)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561f4bae8f10)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3f2678)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561f4bb4a258)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3f2678)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561f4bb1e718)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561f4bb07b58)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561f4bb85c18)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561f3ffdeaf0)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561f3ffdeb38)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561f4b3c00b0)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3f2678)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561f4b3b2ef0)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561f3f955ba0)', 'HASH(0x561f4b3f2678)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561f3f955ba0)', 'Net::Server::Proto::UNIX=GLOB(0x561f4bb1e2c8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561f3f955ba0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561f3f955ba0)', 'port', 'ARRAY(0x561f3ff78130)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561f3f955ba0)', 'CODE(0x561f3f955a50)', 'HASH(0x561f3f9cdb40)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561f3f955a68)', 'CODE(0x561f3f955a50)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561f3f794698)', 'Plack::Handler::Starman=HASH(0x561f3f955a68)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561f3f61de48)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1694791: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561f4007f3b8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561f4bb62ee0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561f4bb62ee0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561f40d77d38)', 'HASH(0x561f4b3ceb38)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561f40d77d38)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3ceb38)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561f4baed610)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3ceb38)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561f4baf8920)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561f4bb8daa8)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561f4bb0a598)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561f4bb85548)', 'Try::Tiny::Catch=REF(0x561f4bb91670)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561f4bb05080)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561f4bada210)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561f4bae12a8)', 'ARRAY(0x561f4bada210)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561f4bada210)', 'CODE(0x561f4bae12a8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561f4bb24520)', 'ARRAY(0x561f4bada210)', 'CODE(0x561f4bae12a8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561f4bb24520)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561f4b17d018)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3ceb38)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561f4baea4a8)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3ceb38)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561f4b3cf258)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3ceb38)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561f4bb223b8)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561f4bb0a688)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561f4bb21e00)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561f3ffdead8)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561f3ffdeb20)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561f4b3c3fb0)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561f4b3be648)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561f3f955ba0)', 'HASH(0x561f4b3ceb38)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561f3f955ba0)', 'Net::Server::Proto::UNIX=GLOB(0x561f4bb1d3c0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561f3f955ba0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561f3f955ba0)', 'port', 'ARRAY(0x561f3ff78130)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561f3f955ba0)', 'CODE(0x561f3f955a50)', 'HASH(0x561f3f9cdb40)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561f3f955a68)', 'CODE(0x561f3f955a50)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561f3f794698)', 'Plack::Handler::Starman=HASH(0x561f3f955a68)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561f3f61de48)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1694793: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561f4bb611d0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561f4bac5a28)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561f4bac5a28)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561f40d765c0)', 'HASH(0x561f4bb1e2b0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561f40d765c0)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb1e2b0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561f4bae4d90)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb1e2b0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561f4baf8118)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561f4bb8c710)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561f4bb07630)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561f4baff928)', 'Try::Tiny::Catch=REF(0x561f4bad4dd8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561f4bafffd0)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561f4bb1e9a0)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561f42cc4a18)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb1e2b0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561f4bae8f10)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb1e2b0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561f4bb4a258)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb1e2b0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561f4bb1e718)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561f4bb07b58)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561f4bb85c18)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561f3ffdeaf0)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561f3ffdeb38)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561f4b3c00b0)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561f4b3b2ef0)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561f3f955ba0)', 'HASH(0x561f4bb1e2b0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561f3f955ba0)', 'Net::Server::Proto::UNIX=GLOB(0x561f4badc9e8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561f3f955ba0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561f3f955ba0)', 'port', 'ARRAY(0x561f3ff78130)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561f3f955ba0)', 'CODE(0x561f3f955a50)', 'HASH(0x561f3f9cdb40)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561f3f955a68)', 'CODE(0x561f3f955a50)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561f3f794698)', 'Plack::Handler::Starman=HASH(0x561f3f955a68)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561f3f61de48)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1694791: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561f4bb66ce0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561f4bac4b58)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561f4bac4b58)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561f40d77d38)', 'HASH(0x561f4bb24988)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561f40d77d38)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb24988)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561f4baed610)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb24988)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561f4baf8920)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561f4bb8daa8)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561f4bb0a598)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561f4bb00d60)', 'Try::Tiny::Catch=REF(0x561f4bac4690)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561f4bb05080)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561f4bb24520)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561f4b17d018)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb24988)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561f4baea4a8)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb24988)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561f4b3cf258)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb24988)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561f4bb223b8)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561f4bb0a688)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561f4bb21e00)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561f3ffdead8)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561f3ffdeb20)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561f4b3c3fb0)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bb24988)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561f4b3be648)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561f3f955ba0)', 'HASH(0x561f4bb24988)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561f3f955ba0)', 'Net::Server::Proto::UNIX=GLOB(0x561f4bae1698)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561f3f955ba0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561f3f955ba0)', 'port', 'ARRAY(0x561f3ff78130)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561f3f955ba0)', 'CODE(0x561f3f955a50)', 'HASH(0x561f3f9cdb40)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561f3f955a68)', 'CODE(0x561f3f955a50)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561f3f794698)', 'Plack::Handler::Starman=HASH(0x561f3f955a68)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561f3f61de48)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1694793: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561f4bafaf40)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561f4bac24b0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561f4bac24b0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561f40d765c0)', 'HASH(0x561f4bac2690)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561f40d765c0)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bac2690)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561f4bae4d90)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bac2690)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561f4baf8118)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561f4bb8c710)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561f4bb07630)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561f4bb8c0e0)', 'Try::Tiny::Catch=REF(0x561f4bae05a8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561f4bafffd0)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561f4bb86380)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561f4baa1440)', 'ARRAY(0x561f4bb86380)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561f4bb86380)', 'CODE(0x561f4baa1440)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561f4bb1e9a0)', 'ARRAY(0x561f4bb86380)', 'CODE(0x561f4baa1440)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561f4bb1e9a0)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561f42cc4a18)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bac2690)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561f4bae8f10)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bac2690)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561f4bb4a258)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bac2690)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561f4bb1e718)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561f4bb07b58)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561f4bb85c18)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561f3ffdeaf0)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561f3ffdeb38)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561f4b3c00b0)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bac2690)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561f4b3b2ef0)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561f3f955ba0)', 'HASH(0x561f4bac2690)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561f3f955ba0)', 'Net::Server::Proto::UNIX=GLOB(0x561f4bb51998)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561f3f955ba0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561f3f955ba0)', 'port', 'ARRAY(0x561f3ff78130)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561f3f955ba0)', 'CODE(0x561f3f955a50)', 'HASH(0x561f3f9cdb40)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561f3f955a68)', 'CODE(0x561f3f955a50)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561f3f794698)', 'Plack::Handler::Starman=HASH(0x561f3f955a68)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561f3f61de48)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1694791: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561f4bb88870)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561f4babc7b0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561f4babc7b0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561f40d77d38)', 'HASH(0x561f4bae6bb8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561f40d77d38)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bae6bb8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561f4baed610)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bae6bb8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561f4baf8920)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561f4bb8daa8)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561f4bb0a598)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561f4bb8d520)', 'Try::Tiny::Catch=REF(0x561f4bac8178)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561f4bb05080)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561f4bb8d2f8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561f4bb3d760)', 'ARRAY(0x561f4bb8d2f8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561f4bb8d2f8)', 'CODE(0x561f4bb3d760)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561f4bb24520)', 'ARRAY(0x561f4bb8d2f8)', 'CODE(0x561f4bb3d760)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561f4bb24520)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561f4b17d018)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bae6bb8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561f4baea4a8)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bae6bb8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561f4b3cf258)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bae6bb8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561f4bb223b8)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561f4bb0a688)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561f4bb21e00)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561f3ffdead8)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561f3ffdeb20)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561f4b3c3fb0)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561f4b3be648)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561f3f955ba0)', 'HASH(0x561f4bae6bb8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561f3f955ba0)', 'Net::Server::Proto::UNIX=GLOB(0x561f4babc228)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561f3f955ba0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561f3f955ba0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561f3f955ba0)', 'port', 'ARRAY(0x561f3ff78130)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561f3f955ba0)', 'CODE(0x561f3f955a50)', 'HASH(0x561f3f9cdb40)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561f3f955a68)', 'CODE(0x561f3f955a50)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561f3f794698)', 'Plack::Handler::Starman=HASH(0x561f3f955a68)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561f3f61de48)') called at /bin/starman line 38 2026/08/05-17:40:40 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-17:40:40 Worker processes cleaned up 2026/08/05-17:40:40 Server closing! Process Backgrounded 2026/08/05-17:40:41 Starman::Server (type Net::Server::PreFork) starting! pid(1711250) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-17:50:38 Received QUIT. Running a graceful shutdown Sending children hup signal Child process 1711252 exited with status 0 - signal was 1 2026/08/05-17:50:38 Worker processes cleaned up 2026/08/05-17:50:38 Server closing! Process Backgrounded 2026/08/05-17:50:39 Starman::Server (type Net::Server::PreFork) starting! pid(1719535) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-17:50:46 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-17:50:46 Worker processes cleaned up 2026/08/05-17:50:46 Server closing! Process Backgrounded 2026/08/05-17:50:47 Starman::Server (type Net::Server::PreFork) starting! pid(1720038) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_1720041: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55ba99d45ee0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dmain_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-main.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Parts Copyright (C) 2013 Mark Tompsett^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Quotes;^Juse C4::Members;^Juse C4::Overdues qw( checkoverdues );^Juse Koha::Checkouts;^Juse Koha::Holds;^Juse Koha::Patron::Messages;^J^Jmy $input = CGI->new;^Jmy $dbh = C4::Context->dbh;^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-main.tt",^J type => "opac",^J query => $input,^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $casAuthentication = C4::Context->preference(\'casAuthentication\');^J$template->param(^J casAuthentication => $casAuthentication,^J);^J^Jmy $homebranch = $ENV{OPAC_BRANCH_DEFAULT};^Jif ( C4::Context->userenv ) {^J $homebranch = C4::Context->userenv->{\'branch\'};^J}^Jif ( defined $input->param(\'branch\') and length $input->param(\'branch\') ) {^J $homebranch = $input->param(\'branch\');^J} elsif ( C4::Context->userenv and defined $input->param(\'branch\') and length $input->param(\'branch\') == 0 ) {^J $homebranch = "";^J}^J^Jmy $news_id = $input->param(\'news_id\');^J$template->param( news_id => $news_id );^J^J# For dashboard^Jmy $patron = Koha::Patrons->find($borrowernumber);^J^Jif ($patron) {^J my $checkouts = Koha::Checkouts->search( { borrowernumber => $borrowernumber } )->count;^J my ( $overdues_count, $overdues ) = checkoverdues($borrowernumber);^J my $holds_pending = Koha::Holds->count_holds( { borrowernumber => $borrowernumber, found => undef } );^J my $holds_waiting = Koha::Holds->search( { borrowernumber => $borrowernumber } )->waiting->count;^J my $patron_messages = Koha::Patron::Messages->search(^J {^J borrowernumber => $borrowernumber,^J message_type => \'B\',^J }^J );^J my $patron_note = $patron->opacnote;^J my $total = $patron->account->balance;^J my $saving_display = C4::Context->preference(\'OPACShowSavings\');^J my $savings = 0;^J if ( $saving_display =~ /summary/ ) {^J $savings = $patron->get_savings;^J }^J if ( $checkouts > 0^J || $overdues_count > 0^J || $holds_pending > 0^J || $holds_waiting > 0^J || $total > 0^J || $patron_note^J || $patron_messages->count^J || $savings > 0 )^J {^J $template->param(^J dashboard_info => 1,^J checkouts => $checkouts,^J overdues => $overdues_count,^J holds_pending => $holds_pending,^J holds_waiting => $holds_waiting,^J total_owing => $total,^J patron_messages => $patron_messages,^J opacnote => $patron_note,^J savings => $savings,^J );^J }^J}^J^J$template->param( branchcode => $homebranch ) if $homebranch;^J$template->param(^J daily_quote => Koha::Quotes->get_daily_quote(),^J);^J^Joutput_html_with_http_headers $input, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-main.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55baa5788fa0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55baa5788fa0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55ba9aa3d920)', 'HASH(0x55baa58425d0)', '/kohadevbox/koha/opac/opac-main.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55ba9aa3d920)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55baa58425d0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55baa5805618)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55baa58425d0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55baa582c868)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55baa57c29e8)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55baa58248b8)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55baa580e528)', 'Try::Tiny::Catch=REF(0x55baa57bacc0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55baa5827890)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55baa585acc0)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55ba9d520cc8)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55baa58425d0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55baa5805f30)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55baa58425d0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55baa5088ef8)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55baa58425d0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55baa57b3dc0)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55baa578d108)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55baa5781f70)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55ba99ca5a40)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55ba99ca5a88)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55baa5093fc8)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55baa58425d0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55baa508eda8)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55ba99619c80)', 'HASH(0x55baa58425d0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55ba99619c80)', 'Net::Server::Proto::UNIX=GLOB(0x55baa5808fd8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55ba99619c80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55ba99619c80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55ba99619c80)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55ba99619c80)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55ba99619c80)', 'port', 'ARRAY(0x55ba99c3f8e0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55ba99619c80)', 'CODE(0x55ba99619b30)', 'HASH(0x55ba99692d40)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55ba99619b48)', 'CODE(0x55ba99619b30)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55ba994599b8)', 'Plack::Handler::Starman=HASH(0x55ba99619b48)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55ba993627f8)') called at /bin/starman line 38 2026/08/05-18:16:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-18:16:28 Worker processes cleaned up 2026/08/05-18:16:28 Server closing! Process Backgrounded 2026/08/05-18:16:29 Starman::Server (type Net::Server::PreFork) starting! pid(1729393) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_1729394: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5579f6523338)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x557a01f02498)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x557a01f02498)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5579f71fc748)', 'HASH(0x557a01dec448)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5579f71fc748)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dec448)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x557a01d58288)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dec448)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x557a01d40da0)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x557a01e929f8)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x557a01dec520)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x557a01cfef78)', 'Try::Tiny::Catch=REF(0x557a01c569b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x557a01e77b80)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x557a01e6b078)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x557a01c56968)', 'ARRAY(0x557a01e6b078)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x557a01e6b078)', 'CODE(0x557a01c56968)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x557a01d437b0)', 'ARRAY(0x557a01e6b078)', 'CODE(0x557a01c56968)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x557a01d437b0)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x557a0183ae70)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dec448)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x557a01d5b358)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dec448)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x557a01f1e6d0)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dec448)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x557a01d40008)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x557a01d6fc30)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x557a01ec1998)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5579f6482ed8)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5579f6482f20)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x557a0186c9c8)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dec448)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x557a0184a088)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5579f5e8a1e0)', 'HASH(0x557a01dec448)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5579f5e8a1e0)', 'Net::Server::Proto::UNIX=GLOB(0x557a01d70008)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5579f5e8a1e0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5579f5e8a1e0)', 'port', 'ARRAY(0x5579f641c8e0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5579f5e8a1e0)', 'CODE(0x5579f5e8a090)', 'HASH(0x5579f5e720c0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5579f5e8a0a8)', 'CODE(0x5579f5e8a090)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5579f5c38510)', 'Plack::Handler::Starman=HASH(0x5579f5e8a0a8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5579f5ac1e30)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1729395: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5579f6523880)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x557a01f00f90)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x557a01f00f90)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5579f721a7c0)', 'HASH(0x557a01dea510)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5579f721a7c0)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dea510)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x557a01d562a0)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dea510)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x557a01d3fb98)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x557a01da73b0)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x557a01ded958)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x557a01cfd1d0)', 'Try::Tiny::Catch=REF(0x557a01c552b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x557a01e75be0)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x557a01e68aa8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x557a01c514e8)', 'ARRAY(0x557a01e68aa8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x557a01e68aa8)', 'CODE(0x557a01c514e8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x557a01d45650)', 'ARRAY(0x557a01e68aa8)', 'CODE(0x557a01c514e8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x557a01d45650)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x557a0183b998)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dea510)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x557a01d56558)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dea510)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x557a01f1d708)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dea510)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x557a01d45350)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x557a01d71058)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x557a01ec2128)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5579f6482ef0)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5579f6482f38)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x557a0186b8d0)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01dea510)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x557a01870ba0)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5579f5e8a1e0)', 'HASH(0x557a01dea510)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5579f5e8a1e0)', 'Net::Server::Proto::UNIX=GLOB(0x557a01d70cb0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5579f5e8a1e0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5579f5e8a1e0)', 'port', 'ARRAY(0x5579f641c8e0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5579f5e8a1e0)', 'CODE(0x5579f5e8a090)', 'HASH(0x5579f5e720c0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5579f5e8a0a8)', 'CODE(0x5579f5e8a090)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5579f5c38510)', 'Plack::Handler::Starman=HASH(0x5579f5e8a0a8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5579f5ac1e30)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1729394: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x557a01f02480)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x557a01ccbc18)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x557a01ccbc18)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5579f71fc748)', 'HASH(0x557a01f1e9e8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5579f71fc748)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f1e9e8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x557a01d58288)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f1e9e8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x557a01d40da0)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x557a01e929f8)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x557a01dec520)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x557a01856ca0)', 'Try::Tiny::Catch=REF(0x557a01cff080)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x557a01e77b80)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x557a01d437b0)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x557a0183ae70)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f1e9e8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x557a01d5b358)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f1e9e8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x557a01f1e6d0)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f1e9e8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x557a01d40008)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x557a01d6fc30)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x557a01ec1998)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5579f6482ed8)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5579f6482f20)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x557a0186c9c8)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x557a0184a088)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5579f5e8a1e0)', 'HASH(0x557a01f1e9e8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5579f5e8a1e0)', 'Net::Server::Proto::UNIX=GLOB(0x557a01d7a2d0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5579f5e8a1e0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5579f5e8a1e0)', 'port', 'ARRAY(0x5579f641c8e0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5579f5e8a1e0)', 'CODE(0x5579f5e8a090)', 'HASH(0x5579f5e720c0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5579f5e8a0a8)', 'CODE(0x5579f5e8a090)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5579f5c38510)', 'Plack::Handler::Starman=HASH(0x5579f5e8a0a8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5579f5ac1e30)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1729395: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x557a01f01230)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x557a01cc98b8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x557a01cc98b8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5579f721a7c0)', 'HASH(0x557a01e049a0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5579f721a7c0)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01e049a0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x557a01d562a0)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01e049a0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x557a01d3fb98)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x557a01da73b0)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x557a01ded958)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x557a01854e60)', 'Try::Tiny::Catch=REF(0x557a01cfd728)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x557a01e75be0)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x557a01d45650)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x557a0183b998)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01e049a0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x557a01d56558)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01e049a0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x557a01f1d708)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01e049a0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x557a01d45350)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x557a01d71058)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x557a01ec2128)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5579f6482ef0)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5579f6482f38)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x557a0186b8d0)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01e049a0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x557a01870ba0)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5579f5e8a1e0)', 'HASH(0x557a01e049a0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5579f5e8a1e0)', 'Net::Server::Proto::UNIX=GLOB(0x557a01cf1f80)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5579f5e8a1e0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5579f5e8a1e0)', 'port', 'ARRAY(0x5579f641c8e0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5579f5e8a1e0)', 'CODE(0x5579f5e8a090)', 'HASH(0x5579f5e720c0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5579f5e8a0a8)', 'CODE(0x5579f5e8a090)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5579f5c38510)', 'Plack::Handler::Starman=HASH(0x5579f5e8a0a8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5579f5ac1e30)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1729394: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x557a01dd8268)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x557a01cda748)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x557a01cda748)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5579f71fc748)', 'HASH(0x557a01ccba68)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5579f71fc748)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01ccba68)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x557a01d58288)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01ccba68)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x557a01d40da0)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x557a01e929f8)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x557a01dec520)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x557a01e1d948)', 'Try::Tiny::Catch=REF(0x557a01cada20)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x557a01e77b80)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x557a01e1d6d8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x557a01efffb0)', 'ARRAY(0x557a01e1d6d8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x557a01e1d6d8)', 'CODE(0x557a01efffb0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x557a01d437b0)', 'ARRAY(0x557a01e1d6d8)', 'CODE(0x557a01efffb0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x557a01d437b0)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x557a0183ae70)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01ccba68)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x557a01d5b358)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01ccba68)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x557a01f1e6d0)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01ccba68)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x557a01d40008)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x557a01d6fc30)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x557a01ec1998)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5579f6482ed8)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5579f6482f20)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x557a0186c9c8)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01ccba68)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x557a0184a088)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5579f5e8a1e0)', 'HASH(0x557a01ccba68)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5579f5e8a1e0)', 'Net::Server::Proto::UNIX=GLOB(0x557a01d2d3d0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5579f5e8a1e0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5579f5e8a1e0)', 'port', 'ARRAY(0x5579f641c8e0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5579f5e8a1e0)', 'CODE(0x5579f5e8a090)', 'HASH(0x5579f5e720c0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5579f5e8a0a8)', 'CODE(0x5579f5e8a090)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5579f5c38510)', 'Plack::Handler::Starman=HASH(0x5579f5e8a0a8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5579f5ac1e30)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1729395: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x557a01dd7090)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x557a01cc9990)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x557a01cc9990)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5579f721a7c0)', 'HASH(0x557a01f14358)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5579f721a7c0)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f14358)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x557a01d562a0)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f14358)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x557a01d3fb98)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x557a01da73b0)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x557a01ded958)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x557a01cdde40)', 'Try::Tiny::Catch=REF(0x557a01e37e10)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x557a01e75be0)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x557a01e1b828)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x557a01efec40)', 'ARRAY(0x557a01e1b828)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x557a01e1b828)', 'CODE(0x557a01efec40)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x557a01d45650)', 'ARRAY(0x557a01e1b828)', 'CODE(0x557a01efec40)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x557a01d45650)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x557a0183b998)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f14358)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x557a01d56558)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f14358)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x557a01f1d708)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f14358)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x557a01d45350)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x557a01d71058)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x557a01ec2128)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5579f6482ef0)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5579f6482f38)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x557a0186b8d0)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557a01f14358)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x557a01870ba0)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5579f5e8a1e0)', 'HASH(0x557a01f14358)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5579f5e8a1e0)', 'Net::Server::Proto::UNIX=GLOB(0x557a01f19af0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5579f5e8a1e0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5579f5e8a1e0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5579f5e8a1e0)', 'port', 'ARRAY(0x5579f641c8e0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5579f5e8a1e0)', 'CODE(0x5579f5e8a090)', 'HASH(0x5579f5e720c0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5579f5e8a0a8)', 'CODE(0x5579f5e8a090)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5579f5c38510)', 'Plack::Handler::Starman=HASH(0x5579f5e8a0a8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5579f5ac1e30)') called at /bin/starman line 38 2026/08/05-20:39:04 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-20:39:04 Worker processes cleaned up 2026/08/05-20:39:04 Server closing! Process Backgrounded 2026/08/05-20:39:06 Starman::Server (type Net::Server::PreFork) starting! pid(1746328) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-20:50:38 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-20:50:38 Worker processes cleaned up 2026/08/05-20:50:38 Server closing! Process Backgrounded 2026/08/05-20:50:41 Starman::Server (type Net::Server::PreFork) starting! pid(1747560) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Could not mkdir /tmp/cgi_compile_1747561: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55d517240898)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55d5227153b0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55d5227153b0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55d517f29290)', 'HASH(0x55d519dba870)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55d517f29290)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d519dba870)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55d5228e3d90)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d519dba870)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55d5228e3d48)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55d5226881a0)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55d522725878)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55d522883a58)', 'Try::Tiny::Catch=REF(0x55d522711358)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55d5227f92e0)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55d52268b618)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55d519de6b38)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d519dba870)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55d5228de278)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d519dba870)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55d5227dd4e0)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d519dba870)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55d5226cab50)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55d522880bb8)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55d5227f9898)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55d5171a03b8)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55d5171a0400)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55d5222aaf28)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d519dba870)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55d5222a1728)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55d516b17a00)', 'HASH(0x55d519dba870)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55d516b17a00)', 'Net::Server::Proto::UNIX=GLOB(0x55d522883dd0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55d516b17a00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55d516b17a00)', 'port', 'ARRAY(0x55d51713aaa0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55d516b17a00)', 'CODE(0x55d516b178b0)', 'HASH(0x55d516b8f830)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55d516b178c8)', 'CODE(0x55d516b178b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55d516954ee0)', 'Plack::Handler::Starman=HASH(0x55d516b178c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55d51662a5f0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1747562: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55d517240a10)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55d522904810)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55d522904810)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55d517f3a900)', 'HASH(0x55d5222a1ec8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55d517f3a900)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5222a1ec8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55d5228738d0)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5222a1ec8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55d5228fed00)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55d522873b58)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55d5227dec50)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55d522849000)', 'Try::Tiny::Catch=REF(0x55d5228e8d70)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55d52288e550)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55d522905410)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55d519e73b28)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5222a1ec8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55d52276e9d8)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5222a1ec8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55d522971e60)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5222a1ec8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55d5226b9de0)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55d5226b5580)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55d52289a870)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55d5171a03d0)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55d5171a0418)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55d5222a7be8)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55d5222992b8)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55d516b17a00)', 'HASH(0x55d5222a1ec8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55d516b17a00)', 'Net::Server::Proto::UNIX=GLOB(0x55d5228e9100)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55d516b17a00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55d516b17a00)', 'port', 'ARRAY(0x55d51713aaa0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55d516b17a00)', 'CODE(0x55d516b178b0)', 'HASH(0x55d516b8f830)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55d516b178c8)', 'CODE(0x55d516b178b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55d516954ee0)', 'Plack::Handler::Starman=HASH(0x55d516b178c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55d51662a5f0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1747561: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55d522948948)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55d522783810)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55d522783810)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55d517f29290)', 'HASH(0x55d5228ceb20)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55d517f29290)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ceb20)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55d5228e3d90)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ceb20)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55d5228e3d48)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55d5226881a0)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55d522725878)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55d5226b0ae0)', 'Try::Tiny::Catch=REF(0x55d522849d18)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55d5227f92e0)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55d522783378)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55d522883890)', 'ARRAY(0x55d522783378)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55d522783378)', 'CODE(0x55d522883890)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55d52268b618)', 'ARRAY(0x55d522783378)', 'CODE(0x55d522883890)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55d52268b618)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55d519de6b38)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ceb20)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55d5228de278)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ceb20)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55d5227dd4e0)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ceb20)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55d5226cab50)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55d522880bb8)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55d5227f9898)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55d5171a03b8)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55d5171a0400)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55d5222aaf28)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ceb20)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55d5222a1728)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55d516b17a00)', 'HASH(0x55d5228ceb20)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55d516b17a00)', 'Net::Server::Proto::UNIX=GLOB(0x55d5227dd9c0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55d516b17a00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55d516b17a00)', 'port', 'ARRAY(0x55d51713aaa0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55d516b17a00)', 'CODE(0x55d516b178b0)', 'HASH(0x55d516b8f830)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55d516b178c8)', 'CODE(0x55d516b178b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55d516954ee0)', 'Plack::Handler::Starman=HASH(0x55d516b178c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55d51662a5f0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1747562: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55d5228820a8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55d5227559d0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55d5227559d0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55d517f3a900)', 'HASH(0x55d522840b30)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55d517f3a900)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d522840b30)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55d5228738d0)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d522840b30)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55d5228fed00)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55d522873b58)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55d5227dec50)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55d5227deba8)', 'Try::Tiny::Catch=REF(0x55d52287f580)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55d52288e550)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55d522882b70)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55d522845e38)', 'ARRAY(0x55d522882b70)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55d522882b70)', 'CODE(0x55d522845e38)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55d522905410)', 'ARRAY(0x55d522882b70)', 'CODE(0x55d522845e38)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55d522905410)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55d519e73b28)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d522840b30)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55d52276e9d8)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d522840b30)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55d522971e60)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d522840b30)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55d5226b9de0)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55d5226b5580)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55d52289a870)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55d5171a03d0)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55d5171a0418)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55d5222a7be8)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d522840b30)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55d5222992b8)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55d516b17a00)', 'HASH(0x55d522840b30)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55d516b17a00)', 'Net::Server::Proto::UNIX=GLOB(0x55d5228cc9b8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55d516b17a00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55d516b17a00)', 'port', 'ARRAY(0x55d51713aaa0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55d516b17a00)', 'CODE(0x55d516b178b0)', 'HASH(0x55d516b8f830)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55d516b178c8)', 'CODE(0x55d516b178b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55d516954ee0)', 'Plack::Handler::Starman=HASH(0x55d516b178c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55d51662a5f0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1747561: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55d5227e0e58)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55d5226f2588)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55d5226f2588)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55d517f29290)', 'HASH(0x55d5228c99b8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55d517f29290)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228c99b8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55d5228e3d90)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228c99b8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55d5228e3d48)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55d5226881a0)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55d522725878)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55d517f38ed0)', 'Try::Tiny::Catch=REF(0x55d5229208b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55d5227f92e0)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55d52268b618)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55d519de6b38)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228c99b8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55d5228de278)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228c99b8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55d5227dd4e0)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228c99b8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55d5226cab50)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55d522880bb8)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55d5227f9898)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55d5171a03b8)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55d5171a0400)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55d5222aaf28)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228c99b8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55d5222a1728)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55d516b17a00)', 'HASH(0x55d5228c99b8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55d516b17a00)', 'Net::Server::Proto::UNIX=GLOB(0x55d5228ca2b8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55d516b17a00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55d516b17a00)', 'port', 'ARRAY(0x55d51713aaa0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55d516b17a00)', 'CODE(0x55d516b178b0)', 'HASH(0x55d516b8f830)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55d516b178c8)', 'CODE(0x55d516b178b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55d516954ee0)', 'Plack::Handler::Starman=HASH(0x55d516b178c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55d51662a5f0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1747562: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55d5228ffa80)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55d5228d2088)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55d5228d2088)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55d517f3a900)', 'HASH(0x55d5228ff4b0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55d517f3a900)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ff4b0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55d5228738d0)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ff4b0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55d5228fed00)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55d522873b58)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55d5227dec50)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55d517f3a438)', 'Try::Tiny::Catch=REF(0x55d522882e58)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55d52288e550)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55d522905410)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55d519e73b28)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ff4b0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55d52276e9d8)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ff4b0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55d522971e60)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ff4b0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55d5226b9de0)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55d5226b5580)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55d52289a870)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55d5171a03d0)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55d5171a0418)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55d5222a7be8)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55d5222992b8)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55d516b17a00)', 'HASH(0x55d5228ff4b0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55d516b17a00)', 'Net::Server::Proto::UNIX=GLOB(0x55d52287e8d8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55d516b17a00)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55d516b17a00)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55d516b17a00)', 'port', 'ARRAY(0x55d51713aaa0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55d516b17a00)', 'CODE(0x55d516b178b0)', 'HASH(0x55d516b8f830)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55d516b178c8)', 'CODE(0x55d516b178b0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55d516954ee0)', 'Plack::Handler::Starman=HASH(0x55d516b178c8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55d51662a5f0)') called at /bin/starman line 38 2026/08/05-20:53:39 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-20:53:39 Worker processes cleaned up 2026/08/05-20:53:39 Server closing! Process Backgrounded 2026/08/05-20:53:44 Starman::Server (type Net::Server::PreFork) starting! pid(1754641) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-20:54:30 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-20:54:30 Worker processes cleaned up 2026/08/05-20:54:30 Server closing! Process Backgrounded 2026/08/05-20:54:33 Starman::Server (type Net::Server::PreFork) starting! pid(1755753) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-20:55:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-20:55:29 Worker processes cleaned up 2026/08/05-20:55:29 Server closing! Process Backgrounded 2026/08/05-20:55:33 Starman::Server (type Net::Server::PreFork) starting! pid(1756563) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-21:03:10 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-21:03:10 Worker processes cleaned up 2026/08/05-21:03:10 Server closing! Process Backgrounded 2026/08/05-21:03:11 Starman::Server (type Net::Server::PreFork) starting! pid(1764767) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/05-21:15:18 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-21:15:19 Worker processes cleaned up 2026/08/05-21:15:19 Server closing! Process Backgrounded 2026/08/05-21:15:22 Starman::Server (type Net::Server::PreFork) starting! pid(1773129) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_1773130: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f017324ca8)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f022a2eab0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f022a2eab0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f017287a10)', 'HASH(0x55f02285fa58)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f017287a10)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f02285fa58)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f0229fdca0)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f02285fa58)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f022877270)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f02297dd78)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f022902f80)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f022a105f8)', 'Try::Tiny::Catch=REF(0x55f0229893c0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f022811088)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f0228114d8)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f02235c758)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f02285fa58)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f022862bc0)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f02285fa58)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f022919578)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f02285fa58)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f022969d60)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f02297dd60)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f0229b0c40)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f0172875a8)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f0172875f0)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f022385d50)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f02285fa58)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f02238c7b8)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f016bf89b0)', 'HASH(0x55f02285fa58)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f016bf89b0)', 'Net::Server::Proto::UNIX=GLOB(0x55f022820e80)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f016bf89b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f016bf89b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f016bf89b0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f016bf89b0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f016bf89b0)', 'port', 'ARRAY(0x55f01721ecc0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f016bf89b0)', 'CODE(0x55f016bf8860)', 'HASH(0x55f016c705e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f016bf8878)', 'CODE(0x55f016bf8860)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f016a37f48)', 'Plack::Handler::Starman=HASH(0x55f016bf8878)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f016888a48)') called at /bin/starman line 38 2026/08/05-21:49:39 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-21:49:39 Worker processes cleaned up 2026/08/05-21:49:39 Server closing! Process Backgrounded 2026/08/05-21:49:40 Starman::Server (type Net::Server::PreFork) starting! pid(1776542) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_1776543: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55e8a78de938)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55e8b30b5910)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55e8b30b5910)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55e8a85d7320)', 'HASH(0x55e8b30d35a8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55e8a85d7320)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30d35a8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55e8b3105988)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30d35a8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55e8b30f60b8)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55e8b308a4c8)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55e8b308a288)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55e8b30a2190)', 'Try::Tiny::Catch=REF(0x55e8b30bba80)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55e8b30b9200)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55e8b30b1460)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55e8b1217ca0)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30d35a8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55e8b308d7d0)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30d35a8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55e8b3085d00)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30d35a8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55e8b30bb2b8)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55e8b30b89f0)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55e8b30f5f50)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55e8a783e2d8)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55e8a783e320)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55e8b294de50)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55e8b2953a90)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55e8a71b2e90)', 'HASH(0x55e8b30d35a8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55e8a71b2e90)', 'Net::Server::Proto::UNIX=GLOB(0x55e8b30dea00)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55e8a71b2e90)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55e8a71b2e90)', 'port', 'ARRAY(0x55e8a77d7d20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55e8a71b2e90)', 'CODE(0x55e8a71b2d40)', 'HASH(0x55e8a722b0a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55e8a71b2d58)', 'CODE(0x55e8a71b2d40)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55e8a6ff2010)', 'Plack::Handler::Starman=HASH(0x55e8a71b2d58)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55e8a6ef02b0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1776545: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55e8a78de880)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55e8b30b5cf0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55e8b30b5cf0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55e8a85b18c8)', 'HASH(0x55e8b30df8f0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55e8a85b18c8)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30df8f0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55e8b3115df8)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30df8f0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55e8b3054980)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55e8b310d7a8)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55e8b306a6b8)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55e8b30898d8)', 'Try::Tiny::Catch=REF(0x55e8b3045888)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55e8b3022eb0)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55e8b3067d08)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55e8b121e890)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30df8f0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55e8b30c9b40)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30df8f0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55e8b307f5b0)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30df8f0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55e8b304daf8)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55e8b31065a8)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55e8b3076aa8)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55e8a783e2f0)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55e8a783e338)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55e8b294d718)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55e8b293de00)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55e8a71b2e90)', 'HASH(0x55e8b30df8f0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55e8a71b2e90)', 'Net::Server::Proto::UNIX=GLOB(0x55e8b306ace8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55e8a71b2e90)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55e8a71b2e90)', 'port', 'ARRAY(0x55e8a77d7d20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55e8a71b2e90)', 'CODE(0x55e8a71b2d40)', 'HASH(0x55e8a722b0a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55e8a71b2d58)', 'CODE(0x55e8a71b2d40)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55e8a6ff2010)', 'Plack::Handler::Starman=HASH(0x55e8a71b2d58)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55e8a6ef02b0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1776543: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55e8b30df378)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55e8b30bbf18)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55e8b30bbf18)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55e8a85d7320)', 'HASH(0x55e8b306f0f8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55e8a85d7320)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b306f0f8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55e8b3105988)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b306f0f8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55e8b30f60b8)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55e8b308a4c8)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55e8b308a288)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55e8b306ef90)', 'Try::Tiny::Catch=REF(0x55e8b29590a0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55e8b30b9200)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55e8b30b1460)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55e8b1217ca0)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b306f0f8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55e8b308d7d0)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b306f0f8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55e8b3085d00)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b306f0f8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55e8b30bb2b8)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55e8b30b89f0)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55e8b30f5f50)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55e8a783e2d8)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55e8a783e320)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55e8b294de50)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55e8b2953a90)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55e8a71b2e90)', 'HASH(0x55e8b306f0f8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55e8a71b2e90)', 'Net::Server::Proto::UNIX=GLOB(0x55e8b30d31d0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55e8a71b2e90)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55e8a71b2e90)', 'port', 'ARRAY(0x55e8a77d7d20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55e8a71b2e90)', 'CODE(0x55e8a71b2d40)', 'HASH(0x55e8a722b0a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55e8a71b2d58)', 'CODE(0x55e8a71b2d40)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55e8a6ff2010)', 'Plack::Handler::Starman=HASH(0x55e8a71b2d58)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55e8a6ef02b0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1776545: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55e8b30e7950)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55e8b3099528)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55e8b3099528)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55e8a85b18c8)', 'HASH(0x55e8b30e2508)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55e8a85b18c8)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30e2508)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55e8b3115df8)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30e2508)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55e8b3054980)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55e8b310d7a8)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55e8b306a6b8)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55e8b30e2568)', 'Try::Tiny::Catch=REF(0x55e8b2980c20)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55e8b3022eb0)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55e8b3067d08)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55e8b121e890)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30e2508)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55e8b30c9b40)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30e2508)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55e8b307f5b0)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30e2508)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55e8b304daf8)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55e8b31065a8)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55e8b3076aa8)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55e8a783e2f0)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55e8a783e338)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55e8b294d718)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30e2508)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55e8b293de00)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55e8a71b2e90)', 'HASH(0x55e8b30e2508)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55e8a71b2e90)', 'Net::Server::Proto::UNIX=GLOB(0x55e8b30f97d8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55e8a71b2e90)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55e8a71b2e90)', 'port', 'ARRAY(0x55e8a77d7d20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55e8a71b2e90)', 'CODE(0x55e8a71b2d40)', 'HASH(0x55e8a722b0a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55e8a71b2d58)', 'CODE(0x55e8a71b2d40)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55e8a6ff2010)', 'Plack::Handler::Starman=HASH(0x55e8a71b2d58)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55e8a6ef02b0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1776543: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55e8b304c890)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55e8b3048b00)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55e8b3048b00)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55e8a85d7320)', 'HASH(0x55e8b3044750)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55e8a85d7320)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b3044750)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55e8b3105988)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b3044750)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55e8b30f60b8)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55e8b308a4c8)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55e8b308a288)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55e8b30b88b8)', 'Try::Tiny::Catch=REF(0x55e8b29433e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55e8b30b9200)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55e8b30b1460)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55e8b1217ca0)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b3044750)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55e8b308d7d0)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b3044750)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55e8b3085d00)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b3044750)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55e8b30bb2b8)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55e8b30b89f0)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55e8b30f5f50)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55e8a783e2d8)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55e8a783e320)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55e8b294de50)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b3044750)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55e8b2953a90)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55e8a71b2e90)', 'HASH(0x55e8b3044750)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55e8a71b2e90)', 'Net::Server::Proto::UNIX=GLOB(0x55e8b3091db8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55e8a71b2e90)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55e8a71b2e90)', 'port', 'ARRAY(0x55e8a77d7d20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55e8a71b2e90)', 'CODE(0x55e8a71b2d40)', 'HASH(0x55e8a722b0a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55e8a71b2d58)', 'CODE(0x55e8a71b2d40)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55e8a6ff2010)', 'Plack::Handler::Starman=HASH(0x55e8a71b2d58)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55e8a6ef02b0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1776545: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55e8b30c5858)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55e8b2bc2b40)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55e8b2bc2b40)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55e8a85b18c8)', 'HASH(0x55e8b30395a0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55e8a85b18c8)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30395a0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55e8b3115df8)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30395a0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55e8b3054980)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55e8b310d7a8)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55e8b306a6b8)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55e8b30fd810)', 'Try::Tiny::Catch=REF(0x55e8b2946e10)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55e8b3022eb0)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55e8b3067d08)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55e8b121e890)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30395a0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55e8b30c9b40)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30395a0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55e8b307f5b0)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30395a0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55e8b304daf8)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55e8b31065a8)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55e8b3076aa8)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55e8a783e2f0)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55e8a783e338)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55e8b294d718)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30395a0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55e8b293de00)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55e8a71b2e90)', 'HASH(0x55e8b30395a0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55e8a71b2e90)', 'Net::Server::Proto::UNIX=GLOB(0x55e8b30ebcd0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55e8a71b2e90)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55e8a71b2e90)', 'port', 'ARRAY(0x55e8a77d7d20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55e8a71b2e90)', 'CODE(0x55e8a71b2d40)', 'HASH(0x55e8a722b0a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55e8a71b2d58)', 'CODE(0x55e8a71b2d40)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55e8a6ff2010)', 'Plack::Handler::Starman=HASH(0x55e8a71b2d58)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55e8a6ef02b0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1776543: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55e8b301f770)', 'package CGI::Compile::ROOT::kohadevbox_koha_mainpage_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/mainpage.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Copyright Paul Poulain 2002^J# Parts Copyright Liblime 2007^J# Copyright (C) 2013 Mark Tompsett^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Output qw( output_html_with_http_headers );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Koha;^Juse C4::Tags qw( get_count_by_tag_status );^Juse Koha::AdditionalContents;^Juse Koha::Patron::Modifications;^Juse Koha::Patron::Discharge;^Juse Koha::Reviews;^Juse Koha::ArticleRequests;^Juse Koha::BiblioFrameworks;^Juse Koha::ProblemReports;^Juse Koha::Quotes;^Juse Koha::Suggestions;^Juse Koha::BackgroundJobs;^Juse Koha::CurbsidePickups;^Juse Koha::Tickets;^J^Jmy $query = CGI->new;^J^Jmy ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(^J {^J template_name => "intranet-main.tt",^J query => $query,^J type => "intranet",^J flagsrequired => { catalogue => 1, },^J }^J);^J^Jmy $logged_in_user = Koha::Patrons->find($loggedinuser);^J^J# Checking if there is a Fast Cataloging Framework^J$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find(\'FA\');^J^Jmy $homebranch;^Jif ( C4::Context->userenv ) {^J $homebranch = C4::Context->userenv->{\'branch\'};^J}^Jmy $koha_news = Koha::AdditionalContents->search_for_display(^J {^J category => \'news\',^J location => [ \'staff_only\', \'staff_and_opac\' ],^J lang => $template->lang,^J library_id => $homebranch^J }^J);^J^J$template->param(^J koha_news => $koha_news,^J daily_quote => Koha::Quotes->get_daily_quote(),^J);^J^Jmy $branch =^J ( C4::Context->preference("IndependentBranchesPatronModifications")^J || C4::Context->preference("IndependentBranches") )^J && !$flags->{\'superlibrarian\'}^J ? C4::Context->userenv()->{\'branch\'}^J : undef;^J^Jmy $pendingcomments = Koha::Reviews->search_limited( { approved => 0 } )->count;^Jmy $pendingtags = get_count_by_tag_status(0);^J^J# Get current branch count and total viewable count, if they don\'t match then pass^J# both to template^J^Jif ( C4::Context->only_my_library ) {^J my $local_pendingsuggestions_count = Koha::Suggestions->search(^J { status => "ASKED", branchcode => C4::Context->userenv()->{\'branch\'}, archived => 0 } )->count();^J $template->param( pendingsuggestions => $local_pendingsuggestions_count );^J} else {^J my $pendingsuggestions = Koha::Suggestions->search( { status => "ASKED", archived => 0 } );^J my $local_pendingsuggestions_count =^J $pendingsuggestions->search( { \'me.branchcode\' => C4::Context->userenv()->{\'branch\'} } )->count();^J my $pendingsuggestions_count = $pendingsuggestions->count();^J $template->param(^J all_pendingsuggestions => $pendingsuggestions_count != $local_pendingsuggestions_count^J ? $pendingsuggestions_count^J : 0,^J pendingsuggestions => $local_pendingsuggestions_count^J );^J}^J^Jmy $pending_borrower_modifications = Koha::Patron::Modifications->pending_count($branch);^Jmy $pending_discharge_requests = Koha::Patron::Discharge::count( { pending => 1 } );^Jmy $pending_article_requests = Koha::ArticleRequests->search_limited(^J {^J status => Koha::ArticleRequest::Status::Requested,^J $branch ? ( \'me.branchcode\' => $branch ) : (),^J }^J)->count;^Jmy $pending_problem_reports = Koha::ProblemReports->search( { status => \'New\' } );^J^Jif ( C4::Context->preference(\'OpacCatalogConcerns\') || C4::Context->preference(\'CatalogConcerns\') ) {^J my $pending_biblio_tickets = Koha::Tickets->search(^J {^J resolved_date => undef,^J biblio_id => { \'!=\' => undef }^J }^J );^J $template->param( pending_biblio_tickets => $pending_biblio_tickets->count );^J}^J^Junless ( $logged_in_user->has_permission( { parameters => \'manage_background_jobs\' } ) ) {^J my $already_ran_jobs =^J Koha::BackgroundJobs->search( { borrowernumber => $logged_in_user->borrowernumber } )->count ? 1 : 0;^J $template->param( already_ran_jobs => $already_ran_jobs );^J}^J^J$template->param(^J holds_with_cancellation_requests => Koha::Holds->waiting->filter_by_has_cancellation_requests->count );^J^Jif ( C4::Context->preference(\'CurbsidePickup\') ) {^J $template->param(^J new_curbside_pickups => Koha::CurbsidePickups->search(^J {^J branchcode => $homebranch,^J }^J )->filter_by_to_be_staged->filter_by_scheduled_today,^J );^J}^J^Jif ( C4::Context->preference(\'PatronSelfRegistrationAlert\') ) {^J my $categorycode = C4::Context->preference(\'PatronSelfRegistrationDefaultCategory\');^J my $branchcode = C4::Context::mybranch();^J^J my $rs = Koha::Patrons->search( { categorycode => $categorycode } );^J^J $template->param(^J self_registered_count => $rs->count,^J self_registered_mybranch_count => $rs->search( { branchcode => $branchcode } )->count,^J );^J}^J^J$template->param(^J pendingcomments => $pendingcomments,^J pendingtags => $pendingtags,^J pending_borrower_modifications => $pending_borrower_modifications,^J pending_discharge_requests => $pending_discharge_requests,^J pending_article_requests => $pending_article_requests,^J pending_problem_reports => $pending_problem_reports,^J);^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55e8b3067308)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55e8b3067308)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55e8a783e4b8)', 'HASH(0x55e8b30487b8)', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55e8a783e4b8)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30487b8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55e8b30b8e70)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30487b8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55e8b30b1478)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55e8b30d9078)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55e8b303ec48)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55e8b30a4510)', 'Try::Tiny::Catch=REF(0x55e8b30c8708)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55e8b3091e48)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55e8b3105af0)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55e8b1217ca0)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30487b8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55e8b308d7d0)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30487b8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55e8b3085d00)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30487b8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55e8b30bb2b8)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55e8b30b89f0)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55e8b30f5f50)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55e8a783e2d8)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55e8a783e320)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55e8b294de50)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e8b30487b8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55e8b2953a90)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55e8a71b2e90)', 'HASH(0x55e8b30487b8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55e8a71b2e90)', 'Net::Server::Proto::UNIX=GLOB(0x55e8b3099498)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55e8a71b2e90)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55e8a71b2e90)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55e8a71b2e90)', 'port', 'ARRAY(0x55e8a77d7d20)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55e8a71b2e90)', 'CODE(0x55e8a71b2d40)', 'HASH(0x55e8a722b0a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55e8a71b2d58)', 'CODE(0x55e8a71b2d40)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55e8a6ff2010)', 'Plack::Handler::Starman=HASH(0x55e8a71b2d58)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55e8a6ef02b0)') called at /bin/starman line 38 2026/08/05-22:27:22 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-22:27:22 Worker processes cleaned up 2026/08/05-22:27:22 Server closing! Process Backgrounded 2026/08/05-22:27:23 Starman::Server (type Net::Server::PreFork) starting! pid(1801243) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_1801250: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5575e313e100)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5575ee8a3790)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5575ee8a3790)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5575e309e3c8)', 'HASH(0x5575ee8d8170)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5575e309e3c8)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5575ee8d8170)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5575ee9725a0)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5575ee8d8170)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5575ee902a58)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5575ee8be1f0)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5575ee88be40)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5575ee966980)', 'Try::Tiny::Catch=REF(0x5575ee898150)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5575ee890aa8)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5575ee8988a0)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5575ee269c48)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5575ee8d8170)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5575ee8f3b80)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5575ee8d8170)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5575ee8e8390)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5575ee8d8170)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5575ee87dde0)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5575ee8e87b0)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5575ee8a6800)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5575e309e110)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5575e309e158)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5575ee1a3bd8)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5575ee8d8170)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5575ee195570)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5575e2a15240)', 'HASH(0x5575ee8d8170)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5575e2a15240)', 'Net::Server::Proto::UNIX=GLOB(0x5575ee9077a8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5575e2a15240)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5575e2a15240)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5575e2a15240)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5575e2a15240)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5575e2a15240)', 'port', 'ARRAY(0x5575e3037af0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5575e2a15240)', 'CODE(0x5575e2a150f0)', 'HASH(0x5575e2a8d3b0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5575e2a15108)', 'CODE(0x5575e2a150f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5575e28534b0)', 'Plack::Handler::Starman=HASH(0x5575e2a15108)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5575e26a2758)') called at /bin/starman line 38 2026/08/05-22:41:49 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/05-22:41:50 Worker processes cleaned up 2026/08/05-22:41:50 Server closing! Process Backgrounded 2026/08/05-22:41:51 Starman::Server (type Net::Server::PreFork) starting! pid(1803109) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_1803116: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c9463497f0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dsearch_2dhistory_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-search-history.pl^J#!/usr/bin/perl^J^J# Copyright 2013 BibLibre SARL^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse C4::Auth qw( get_template_and_user );^Juse CGI qw ( -utf8 );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse C4::Search::History;^J^Jmy $cgi = CGI->new;^J^J# Getting the template and auth^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "opac-search-history.tt",^J query => $cgi,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Junless ( C4::Context->preference("EnableOpacSearchHistory") ) {^J print $cgi->redirect("/cgi-bin/koha/errors/404.pl"); # escape early^J exit;^J}^J^Jmy $type = $cgi->param(\'type\');^Jmy $op = $cgi->param(\'op\') || q{};^Jmy $previous = $cgi->param(\'previous\');^J^J# If the user is not logged in, we deal with the session^Junless ($loggedinuser) {^J^J # Deleting search history^J if ( $op eq \'cud-delete\' ) {^J^J # Deleting session\'s search history^J my @id = $cgi->multi_param(\'id\');^J my $all = not scalar(@id);^J^J my $type = $cgi->param(\'type\');^J my @searches = ();^J unless ($all) {^J @searches = C4::Search::History::get_from_session( { cgi => $cgi } );^J if ($type) {^J @searches = map { $_->{type} ne $type ? $_ : () } @searches;^J }^J if (@id) {^J @searches = map {^J my $search = $_;^J ( grep { $_ eq $search->{id} } @id ) ? () : $_^J } @searches;^J }^J }^J C4::Search::History::set_to_session( { cgi => $cgi, search_history => \@searches } );^J^J # Redirecting to this same url so the user won\'t see the search history link in the header^J print $cgi->redirect( -uri => \'/cgi-bin/koha/opac-search-history.pl\' );^J^J # Showing search history^J } else {^J^J # Getting the searches from session^J my @current_searches = C4::Search::History::get_from_session(^J {^J cgi => $cgi,^J }^J );^J^J my @current_biblio_searches = map { $_->{type} eq \'biblio\' ? $_ : () } @current_searches;^J^J my @current_authority_searches = map { $_->{type} eq \'authority\' ? $_ : () } @current_searches;^J^J $template->param(^J current_biblio_searches => \@current_biblio_searches,^J current_authority_searches => \@current_authority_searches,^J );^J }^J} else {^J^J # And if the user is logged in, we deal with the database^J^J # Deleting search history^J if ( $op eq \'cud-delete\' ) {^J my @id = $cgi->multi_param(\'id\');^J if (@id) {^J C4::Search::History::delete(^J {^J userid => $loggedinuser,^J id => [@id],^J }^J );^J } else {^J C4::Search::History::delete(^J {^J userid => $loggedinuser,^J }^J );^J }^J^J # Redirecting to this same url so the user won\'t see the search history link in the header^J print $cgi->redirect( -uri => \'/cgi-bin/koha/opac-search-history.pl\' );^J^J # Showing search history^J } else {^J my $current_searches = C4::Search::History::get(^J {^J userid => $loggedinuser,^J sessionid => $cgi->cookie("CGISESSID")^J }^J );^J my @current_biblio_searches = map { $_->{type} eq \'biblio\' ? $_ : () } @$current_searches;^J^J my @current_authority_searches = map { $_->{type} eq \'authority\' ? $_ : () } @$current_searches;^J^J my $previous_searches = C4::Search::History::get(^J {^J userid => $loggedinuser,^J sessionid => $cgi->cookie("CGISESSID"),^J previous => 1^J }^J );^J^J my @previous_biblio_searches = map { $_->{type} eq \'biblio\' ? $_ : () } @$previous_searches;^J^J my @previous_authority_searches = map { $_->{type} eq \'authority\' ? $_ : () } @$previous_searches;^J^J $template->param(^J current_biblio_searches => \@current_biblio_searches,^J current_authority_searches => \@current_authority_searches,^J previous_biblio_searches => \@previous_biblio_searches,^J previous_authority_searches => \@previous_authority_searches,^J^J );^J }^J}^J^J$template->param( searchhistoryview => 1 );^J^Joutput_html_with_http_headers $cgi, $cookie, $template->output, undef, { force_no_caching => 1 };^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-search-history.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c951862e60)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c951862e60)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c95178fc20)', '/kohadevbox/koha/opac/opac-search-history.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95178fc20)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c9518e7790)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95178fc20)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951834760)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c9518c8c70)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c9518c8bb0)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c951850a60)', 'Try::Tiny::Catch=REF(0x55c951804ef8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951830e80)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c951a61980)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c95146f9f0)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95178fc20)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c95178c7a8)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95178fc20)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951a61620)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95178fc20)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c9518add80)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a64748)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c951790148)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9020)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9068)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513afa38)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95178fc20)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b5d00)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c95178fc20)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c9519d8aa8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803112: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c946349b78)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c9518b3d60)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c9518b3d60)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c9519b79d8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519b79d8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c951a48140)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519b79d8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951871978)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c951a018f0)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c95194b398)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c951a116a0)', 'Try::Tiny::Catch=REF(0x55c951a543f8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951a6f1d8)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55c9519ea4d8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55c9517d8db8)', 'ARRAY(0x55c9519ea4d8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55c9519ea4d8)', 'CODE(0x55c9517d8db8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55c9517bdd58)', 'ARRAY(0x55c9519ea4d8)', 'CODE(0x55c9517d8db8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c9517bdd58)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c948f778f0)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519b79d8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c951a48248)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519b79d8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951807410)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519b79d8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c95184de00)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a540e0)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c9519da6a8)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9008)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9050)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513b07c0)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519b79d8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b6b38)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c9519b79d8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c95184dc38)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803116: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c95191a338)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c9517b7730)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c9517b7730)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c95189a190)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95189a190)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c9518e7790)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95189a190)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951834760)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c9518c8c70)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c9518c8bb0)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c9518603f8)', 'Try::Tiny::Catch=REF(0x55c9519949f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951830e80)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55c9519130e8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55c951995158)', 'ARRAY(0x55c9519130e8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55c9519130e8)', 'CODE(0x55c951995158)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55c951a61980)', 'ARRAY(0x55c9519130e8)', 'CODE(0x55c951995158)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c951a61980)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c95146f9f0)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95189a190)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c95178c7a8)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95189a190)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951a61620)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95189a190)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c9518add80)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a64748)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c951790148)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9020)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9068)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513afa38)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95189a190)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b5d00)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c95189a190)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c9518dce50)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803112: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c951882800)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c951882740)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c951882740)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c951836d08)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951836d08)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c951a48140)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951836d08)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951871978)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c951a018f0)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c95194b398)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c9517d90b8)', 'Try::Tiny::Catch=REF(0x55c95179c980)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951a6f1d8)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c9517bdd58)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c948f778f0)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951836d08)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c951a48248)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951836d08)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951807410)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951836d08)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c95184de00)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a540e0)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c9519da6a8)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9008)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9050)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513b07c0)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951836d08)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b6b38)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c951836d08)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c9517bebb0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803116: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c9519f3df8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c9517b5590)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c9517b5590)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c9519e8320)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519e8320)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c9518e7790)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519e8320)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951834760)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c9518c8c70)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c9518c8bb0)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c951b7a688)', 'Try::Tiny::Catch=REF(0x55c951a1e930)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951830e80)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c951a61980)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c95146f9f0)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519e8320)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c95178c7a8)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519e8320)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951a61620)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519e8320)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c9518add80)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a64748)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c951790148)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9020)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9068)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513afa38)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519e8320)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b5d00)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c9519e8320)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c951994c30)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803112: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c951a09e80)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c9517dd9f8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c9517dd9f8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c951862df0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951862df0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c951a48140)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951862df0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951871978)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c951a018f0)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c95194b398)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c9517b73d8)', 'Try::Tiny::Catch=REF(0x55c9518512b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951a6f1d8)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c9517bdd58)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c948f778f0)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951862df0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c951a48248)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951862df0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951807410)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951862df0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c95184de00)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a540e0)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c9519da6a8)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9008)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9050)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513b07c0)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951862df0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b6b38)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c951862df0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c951832d20)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803116: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c951a2dde8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c9517bf2d8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c9517bf2d8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c951963900)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951963900)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c9518e7790)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951963900)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951834760)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c9518c8c70)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c9518c8bb0)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c951b835f0)', 'Try::Tiny::Catch=REF(0x55c9519d8aa8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951830e80)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c951a61980)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951963900)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c95146f9f0)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951963900)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c95178c7a8)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951963900)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951a61620)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951963900)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c9518add80)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a64748)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c951790148)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9020)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9068)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513afa38)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951963900)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b5d00)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c951963900)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c95179a2e8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803112: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c9519f9a78)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c951a2a920)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c951a2a920)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c951795990)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951795990)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c951a48140)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951795990)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951871978)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c951a018f0)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c95194b398)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c951a54440)', 'Try::Tiny::Catch=REF(0x55c9513e3a28)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951a6f1d8)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c9517bdd58)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951795990)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c948f778f0)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951795990)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c951a48248)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951795990)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951807410)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951795990)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c95184de00)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a540e0)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c9519da6a8)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9008)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9050)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513b07c0)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951795990)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b6b38)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c951795990)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c9518633c0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803116: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c951a6d4d0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c951b83a28)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c951b83a28)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c951847d28)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951847d28)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c9518e7790)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951847d28)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951834760)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c9518c8c70)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c9518c8bb0)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c9519b54f0)', 'Try::Tiny::Catch=REF(0x55c951804bf8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951830e80)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c951a61980)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c95146f9f0)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951847d28)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c95178c7a8)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951847d28)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951a61620)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951847d28)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c9518add80)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a64748)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c951790148)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9020)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9068)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513afa38)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951847d28)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b5d00)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c951847d28)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c9519fb030)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803112: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c951996950)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c9519ed1e8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c9519ed1e8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c9517be3e8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9517be3e8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c951a48140)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9517be3e8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951871978)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c951a018f0)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c95194b398)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c951862940)', 'Try::Tiny::Catch=REF(0x55c951a1d3a8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951a6f1d8)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55c9517dd7d0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55c95178e1d8)', 'ARRAY(0x55c9517dd7d0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55c9517dd7d0)', 'CODE(0x55c95178e1d8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55c9517bdd58)', 'ARRAY(0x55c9517dd7d0)', 'CODE(0x55c95178e1d8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c9517bdd58)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c948f778f0)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9517be3e8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c951a48248)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9517be3e8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951807410)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9517be3e8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c95184de00)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a540e0)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c9519da6a8)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9008)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9050)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513b07c0)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9517be3e8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b6b38)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c9517be3e8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c9519ac1c0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803116: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c9517c2ca8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c9519b8690)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c9519b8690)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c951a49308)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a49308)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c9518e7790)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a49308)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951834760)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c9518c8c70)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c9518c8bb0)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c9519642f0)', 'Try::Tiny::Catch=REF(0x55c95181d9e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951830e80)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55c9517bc0f0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55c9517bf8c0)', 'ARRAY(0x55c9517bc0f0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55c9517bc0f0)', 'CODE(0x55c9517bf8c0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55c951a61980)', 'ARRAY(0x55c9517bc0f0)', 'CODE(0x55c9517bf8c0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c951a61980)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c95146f9f0)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a49308)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c95178c7a8)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a49308)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951a61620)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a49308)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c9518add80)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a64748)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c951790148)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9020)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9068)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513afa38)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a49308)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b5d00)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c951a49308)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c9518c85e0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803112: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c9517c5770)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c951a34608)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c951a34608)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c95196dbb0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95196dbb0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c951a48140)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95196dbb0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951871978)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c951a018f0)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c95194b398)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c95199bdd0)', 'Try::Tiny::Catch=REF(0x55c9519973d0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951a6f1d8)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c9517bdd58)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c948f778f0)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95196dbb0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c951a48248)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95196dbb0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951807410)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95196dbb0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c95184de00)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a540e0)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c9519da6a8)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9008)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9050)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513b07c0)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95196dbb0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b6b38)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c95196dbb0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c9517dd5a8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803116: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c9519dbd50)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c951a2db00)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c951a2db00)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c951b80018)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951b80018)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c9518e7790)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951b80018)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951834760)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c9518c8c70)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c9518c8bb0)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c951a01af0)', 'Try::Tiny::Catch=REF(0x55c951a29950)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951830e80)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c951a61980)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c95146f9f0)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951b80018)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c95178c7a8)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951b80018)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951a61620)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951b80018)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c9518add80)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a64748)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c951790148)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9020)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9068)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513afa38)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951b80018)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b5d00)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c951b80018)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c951a49968)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803112: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c9517dd458)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c951a6ec38)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c951a6ec38)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c951a34638)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a34638)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c951a48140)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a34638)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951871978)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c951a018f0)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c95194b398)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c95189c980)', 'Try::Tiny::Catch=REF(0x55c9518633c0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951a6f1d8)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c9517bdd58)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c948f778f0)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a34638)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c951a48248)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a34638)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951807410)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a34638)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c95184de00)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a540e0)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c9519da6a8)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9008)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9050)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513b07c0)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a34638)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b6b38)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c951a34638)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c9518c2f00)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803116: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c95196be68)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c9517bc630)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c9517bc630)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c951a29890)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a29890)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c9518e7790)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a29890)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951834760)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c9518c8c70)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c9518c8bb0)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c951a499b0)', 'Try::Tiny::Catch=REF(0x55c9517c32f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951830e80)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c951a61980)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c95146f9f0)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a29890)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c95178c7a8)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a29890)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951a61620)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a29890)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c9518add80)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a64748)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c951790148)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9020)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9068)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513afa38)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951a29890)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b5d00)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c951a29890)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c951964080)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803112: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c951a11ac0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c951882db8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c951882db8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c951833458)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951833458)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c951a48140)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951833458)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951871978)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c951a018f0)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c95194b398)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c9519fc918)', 'Try::Tiny::Catch=REF(0x55c9519ba298)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951a6f1d8)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c9517bdd58)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951833458)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c948f778f0)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951833458)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c951a48248)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951833458)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951807410)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951833458)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c95184de00)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a540e0)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c9519da6a8)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9008)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9050)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513b07c0)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c951833458)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b6b38)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c951833458)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c9519f5c08)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803116: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c951a1ab00)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c9517936a0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c9517936a0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c9518b20a0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9518b20a0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c9518e7790)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9518b20a0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951834760)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c9518c8c70)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c9518c8bb0)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c951793868)', 'Try::Tiny::Catch=REF(0x55c951830490)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951830e80)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c951a61980)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c95146f9f0)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9518b20a0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c95178c7a8)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9518b20a0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951a61620)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9518b20a0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c9518add80)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a64748)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c951790148)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9020)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9068)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513afa38)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9518b20a0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b5d00)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c9518b20a0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c9517bbb50)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803112: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c95178c4d8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c951863048)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c951863048)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c9519fc5b8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947032100)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519fc5b8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c951a48140)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519fc5b8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951871978)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c951a018f0)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c95194b398)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c951a1c9a0)', 'Try::Tiny::Catch=REF(0x55c951832990)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951a6f1d8)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c9517bdd58)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c948f778f0)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519fc5b8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c951a48248)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519fc5b8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951807410)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519fc5b8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c95184de00)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a540e0)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c9519da6a8)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9008)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9050)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513b07c0)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b6b38)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c9519fc5b8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c9519f5ae8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1803116: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55c951793670)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55c951a6d2f0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55c951a6d2f0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c95192a8c0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55c947043678)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95192a8c0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55c9518e7790)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95192a8c0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55c951834760)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55c9518c8c70)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55c9518c8bb0)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55c95191cf60)', 'Try::Tiny::Catch=REF(0x55c95189a5c8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55c951830e80)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55c951a61980)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55c95146f9f0)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95192a8c0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55c95178c7a8)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95192a8c0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55c951a61620)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95192a8c0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55c9518add80)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55c951a64748)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55c951790148)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55c9462a9020)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55c9462a9068)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55c9513afa38)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55c95192a8c0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55c9513b5d00)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55c945c1f740)', 'HASH(0x55c95192a8c0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55c945c1f740)', 'Net::Server::Proto::UNIX=GLOB(0x55c951b7a358)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55c945c1f740)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55c945c1f740)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'port', 'ARRAY(0x55c946242540)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55c945c1f740)', 'CODE(0x55c945c1f5f0)', 'HASH(0x55c945c98790)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55c945c1f608)', 'CODE(0x55c945c1f5f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55c945a5d1a0)', 'Plack::Handler::Starman=HASH(0x55c945c1f608)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55c945966158)') called at /bin/starman line 38 2026/08/06-00:06:36 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-00:06:36 Worker processes cleaned up 2026/08/06-00:06:36 Server closing! Process Backgrounded 2026/08/06-00:06:37 Starman::Server (type Net::Server::PreFork) starting! pid(1810315) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-02:42:46 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-02:42:46 Worker processes cleaned up 2026/08/06-02:42:46 Server closing! Process Backgrounded 2026/08/06-02:42:47 Starman::Server (type Net::Server::PreFork) starting! pid(1826559) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-03:58:27 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-03:58:27 Worker processes cleaned up 2026/08/06-03:58:27 Server closing! Process Backgrounded 2026/08/06-03:58:28 Starman::Server (type Net::Server::PreFork) starting! pid(1856924) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/06-04:56:51 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-04:56:51 Worker processes cleaned up 2026/08/06-04:56:51 Server closing! Process Backgrounded 2026/08/06-04:56:52 Starman::Server (type Net::Server::PreFork) starting! pid(1879277) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-04:57:02 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-04:57:02 Worker processes cleaned up 2026/08/06-04:57:02 Server closing! Process Backgrounded 2026/08/06-04:57:04 Starman::Server (type Net::Server::PreFork) starting! pid(1879781) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-05:05:21 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-05:05:22 Worker processes cleaned up 2026/08/06-05:05:22 Server closing! Process Backgrounded 2026/08/06-05:05:22 Starman::Server (type Net::Server::PreFork) starting! pid(1880351) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-05:19:21 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-05:19:21 Worker processes cleaned up 2026/08/06-05:19:21 Server closing! Process Backgrounded 2026/08/06-05:19:24 Starman::Server (type Net::Server::PreFork) starting! pid(1881165) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-05:30:29 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-05:30:29 Worker processes cleaned up 2026/08/06-05:30:29 Server closing! Process Backgrounded 2026/08/06-05:30:31 Starman::Server (type Net::Server::PreFork) starting! pid(1888822) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-07:49:08 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-07:49:08 Worker processes cleaned up 2026/08/06-07:49:08 Server closing! Process Backgrounded 2026/08/06-07:49:09 Starman::Server (type Net::Server::PreFork) starting! pid(1933994) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-08:11:00 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-08:11:00 Worker processes cleaned up 2026/08/06-08:11:00 Server closing! Process Backgrounded 2026/08/06-08:11:01 Starman::Server (type Net::Server::PreFork) starting! pid(1942218) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-08:19:29 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-08:19:29 Worker processes cleaned up 2026/08/06-08:19:29 Server closing! Process Backgrounded 2026/08/06-08:19:30 Starman::Server (type Net::Server::PreFork) starting! pid(1943097) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_1943098: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3b0663d38)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bc1561f8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bc1561f8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc0c5068)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0c5068)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bc0e05c8)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0c5068)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc125370)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc0ba4f0)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bc0c4e40)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bc156a08)', 'Try::Tiny::Catch=REF(0x55f3bc133bf8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bc1110c8)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bc115270)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb5cd808)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0c5068)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc0e09d0)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0c5068)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bc152f28)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0c5068)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bc10d640)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc153318)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bc110ee8)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36a8)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c36f0)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a9fb0)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb9afe50)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bc0c5068)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bc155dd8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943098: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bc12b710)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bc0d4b08)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bc0d4b08)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc0bb300)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0bb300)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bc0e05c8)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0bb300)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc125370)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc0ba4f0)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bc0c4e40)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bc174840)', 'Try::Tiny::Catch=REF(0x55f3bc07ce48)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bc1110c8)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bc115270)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb5cd808)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0bb300)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc0e09d0)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0bb300)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bc152f28)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0bb300)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bc10d640)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc153318)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bc110ee8)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36a8)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c36f0)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a9fb0)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb9afe50)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bc0bb300)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bb99f980)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943099: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3b0663900)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bbe6a9c8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bbe6a9c8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bc0493d8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0493d8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bbebf490)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0493d8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc049df8)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc049af8)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bbe92900)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bbf4c990)', 'Try::Tiny::Catch=REF(0x55f3bbff08a0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bbf7b298)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bbf82f30)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb97e128)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0493d8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc04f9e0)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0493d8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bbe5e220)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0493d8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bbf83188)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc051c88)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bbf7b868)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36c0)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c3708)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a5950)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb997600)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bc0493d8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bbfd8dc0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943098: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bc15c3b0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bc0aec48)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bc0aec48)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc0a32e0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0a32e0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bc0e05c8)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0a32e0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc125370)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc0ba4f0)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bc0c4e40)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bc160468)', 'Try::Tiny::Catch=REF(0x55f3bc0a3670)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bc1110c8)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bc115270)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb5cd808)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0a32e0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc0e09d0)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0a32e0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bc152f28)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0a32e0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bc10d640)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc153318)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bc110ee8)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36a8)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c36f0)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a9fb0)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb9afe50)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bc0a32e0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bc1337a8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943099: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bbdbabb0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bbd9b6d0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bbd9b6d0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbdba850)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdba850)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bbebf490)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdba850)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc049df8)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc049af8)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bbe92900)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bbf743a8)', 'Try::Tiny::Catch=REF(0x55f3bbe6e498)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bbf7b298)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55f3bbf749f0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55f3bbf4c960)', 'ARRAY(0x55f3bbf749f0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55f3bbf749f0)', 'CODE(0x55f3bbf4c960)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55f3bbf82f30)', 'ARRAY(0x55f3bbf749f0)', 'CODE(0x55f3bbf4c960)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bbf82f30)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb97e128)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdba850)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc04f9e0)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdba850)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bbe5e220)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdba850)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bbf83188)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc051c88)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bbf7b868)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36c0)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c3708)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a5950)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdba850)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb997600)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bbdba850)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bbfd8c88)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943098: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bc0af200)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bc12fb58)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bc12fb58)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc089570)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc089570)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bc0e05c8)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc089570)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc125370)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc0ba4f0)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bc0c4e40)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bc120250)', 'Try::Tiny::Catch=REF(0x55f3bc13eb18)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bc1110c8)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55f3bc132f20)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55f3bc0d8630)', 'ARRAY(0x55f3bc132f20)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55f3bc132f20)', 'CODE(0x55f3bc0d8630)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55f3bc115270)', 'ARRAY(0x55f3bc132f20)', 'CODE(0x55f3bc0d8630)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bc115270)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb5cd808)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc089570)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc0e09d0)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc089570)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bc152f28)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc089570)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bc10d640)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc153318)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bc110ee8)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36a8)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c36f0)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a9fb0)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc089570)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb9afe50)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bc089570)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bc0d5258)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943099: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bbd9b838)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bbdc5c70)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bbdc5c70)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbda0400)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbda0400)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bbebf490)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbda0400)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc049df8)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc049af8)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bbe92900)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bbf1e1e8)', 'Try::Tiny::Catch=REF(0x55f3bbd9beb0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bbf7b298)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55f3bbf68058)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55f3bbdbcbf0)', 'ARRAY(0x55f3bbf68058)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55f3bbf68058)', 'CODE(0x55f3bbdbcbf0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55f3bbf82f30)', 'ARRAY(0x55f3bbf68058)', 'CODE(0x55f3bbdbcbf0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bbf82f30)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb97e128)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbda0400)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc04f9e0)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbda0400)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bbe5e220)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbda0400)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bbf83188)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc051c88)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bbf7b868)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36c0)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c3708)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a5950)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbda0400)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb997600)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bbda0400)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bb99b7e0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943098: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bc085148)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bc149c58)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bc149c58)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc16c7d0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc16c7d0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bc0e05c8)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc16c7d0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc125370)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc0ba4f0)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bc0c4e40)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bc12f780)', 'Try::Tiny::Catch=REF(0x55f3bc12f618)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bc1110c8)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55f3bc16c5a8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55f3bc0af320)', 'ARRAY(0x55f3bc16c5a8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55f3bc16c5a8)', 'CODE(0x55f3bc0af320)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55f3bc115270)', 'ARRAY(0x55f3bc16c5a8)', 'CODE(0x55f3bc0af320)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bc115270)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb5cd808)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc16c7d0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc0e09d0)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc16c7d0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bc152f28)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc16c7d0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bc10d640)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc153318)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bc110ee8)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36a8)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c36f0)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a9fb0)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb9afe50)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bc16c7d0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bc089870)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943099: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bbd9fed8)', 'package CGI::Compile::ROOT::kohadevbox_koha_mainpage_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/mainpage.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Copyright Paul Poulain 2002^J# Parts Copyright Liblime 2007^J# Copyright (C) 2013 Mark Tompsett^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Output qw( output_html_with_http_headers );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Koha;^Juse C4::Tags qw( get_count_by_tag_status );^Juse Koha::AdditionalContents;^Juse Koha::Patron::Modifications;^Juse Koha::Patron::Discharge;^Juse Koha::Reviews;^Juse Koha::ArticleRequests;^Juse Koha::BiblioFrameworks;^Juse Koha::ProblemReports;^Juse Koha::Quotes;^Juse Koha::Suggestions;^Juse Koha::BackgroundJobs;^Juse Koha::CurbsidePickups;^Juse Koha::Tickets;^J^Jmy $query = CGI->new;^J^Jmy ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(^J {^J template_name => "intranet-main.tt",^J query => $query,^J type => "intranet",^J flagsrequired => { catalogue => 1, },^J }^J);^J^Jmy $logged_in_user = Koha::Patrons->find($loggedinuser);^J^J# Checking if there is a Fast Cataloging Framework^J$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find(\'FA\');^J^Jmy $homebranch;^Jif ( C4::Context->userenv ) {^J $homebranch = C4::Context->userenv->{\'branch\'};^J}^Jmy $koha_news = Koha::AdditionalContents->search_for_display(^J {^J category => \'news\',^J location => [ \'staff_only\', \'staff_and_opac\' ],^J lang => $template->lang,^J library_id => $homebranch^J }^J);^J^J$template->param(^J koha_news => $koha_news,^J daily_quote => Koha::Quotes->get_daily_quote(),^J);^J^Jmy $branch =^J ( C4::Context->preference("IndependentBranchesPatronModifications")^J || C4::Context->preference("IndependentBranches") )^J && !$flags->{\'superlibrarian\'}^J ? C4::Context->userenv()->{\'branch\'}^J : undef;^J^Jmy $pendingcomments = Koha::Reviews->search_limited( { approved => 0 } )->count;^Jmy $pendingtags = get_count_by_tag_status(0);^J^J# Get current branch count and total viewable count, if they don\'t match then pass^J# both to template^J^Jif ( C4::Context->only_my_library ) {^J my $local_pendingsuggestions_count = Koha::Suggestions->search(^J { status => "ASKED", branchcode => C4::Context->userenv()->{\'branch\'}, archived => 0 } )->count();^J $template->param( pendingsuggestions => $local_pendingsuggestions_count );^J} else {^J my $pendingsuggestions = Koha::Suggestions->search( { status => "ASKED", archived => 0 } );^J my $local_pendingsuggestions_count =^J $pendingsuggestions->search( { \'me.branchcode\' => C4::Context->userenv()->{\'branch\'} } )->count();^J my $pendingsuggestions_count = $pendingsuggestions->count();^J $template->param(^J all_pendingsuggestions => $pendingsuggestions_count != $local_pendingsuggestions_count^J ? $pendingsuggestions_count^J : 0,^J pendingsuggestions => $local_pendingsuggestions_count^J );^J}^J^Jmy $pending_borrower_modifications = Koha::Patron::Modifications->pending_count($branch);^Jmy $pending_discharge_requests = Koha::Patron::Discharge::count( { pending => 1 } );^Jmy $pending_article_requests = Koha::ArticleRequests->search_limited(^J {^J status => Koha::ArticleRequest::Status::Requested,^J $branch ? ( \'me.branchcode\' => $branch ) : (),^J }^J)->count;^Jmy $pending_problem_reports = Koha::ProblemReports->search( { status => \'New\' } );^J^Jif ( C4::Context->preference(\'OpacCatalogConcerns\') || C4::Context->preference(\'CatalogConcerns\') ) {^J my $pending_biblio_tickets = Koha::Tickets->search(^J {^J resolved_date => undef,^J biblio_id => { \'!=\' => undef }^J }^J );^J $template->param( pending_biblio_tickets => $pending_biblio_tickets->count );^J}^J^Junless ( $logged_in_user->has_permission( { parameters => \'manage_background_jobs\' } ) ) {^J my $already_ran_jobs =^J Koha::BackgroundJobs->search( { borrowernumber => $logged_in_user->borrowernumber } )->count ? 1 : 0;^J $template->param( already_ran_jobs => $already_ran_jobs );^J}^J^J$template->param(^J holds_with_cancellation_requests => Koha::Holds->waiting->filter_by_has_cancellation_requests->count );^J^Jif ( C4::Context->preference(\'CurbsidePickup\') ) {^J $template->param(^J new_curbside_pickups => Koha::CurbsidePickups->search(^J {^J branchcode => $homebranch,^J }^J )->filter_by_to_be_staged->filter_by_scheduled_today,^J );^J}^J^Jif ( C4::Context->preference(\'PatronSelfRegistrationAlert\') ) {^J my $categorycode = C4::Context->preference(\'PatronSelfRegistrationDefaultCategory\');^J my $branchcode = C4::Context::mybranch();^J^J my $rs = Koha::Patrons->search( { categorycode => $categorycode } );^J^J $template->param(^J self_registered_count => $rs->count,^J self_registered_mybranch_count => $rs->search( { branchcode => $branchcode } )->count,^J );^J}^J^J$template->param(^J pendingcomments => $pendingcomments,^J pendingtags => $pendingtags,^J pending_borrower_modifications => $pending_borrower_modifications,^J pending_discharge_requests => $pending_discharge_requests,^J pending_article_requests => $pending_article_requests,^J pending_problem_reports => $pending_problem_reports,^J);^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bbdfc768)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bbdfc768)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b05c3978)', 'HASH(0x55f3bbd995b0)', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b05c3978)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd995b0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bbf7f8f8)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd995b0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bbf82f18)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bbf7af68)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bbfd96d8)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bbdba7d8)', 'Try::Tiny::Catch=REF(0x55f3bbe3ad18)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bc04efd8)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bbf86ce8)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb97e128)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd995b0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc04f9e0)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd995b0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bbe5e220)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd995b0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bbf83188)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc051c88)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bbf7b868)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36c0)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c3708)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a5950)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb997600)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bbd995b0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bbde8fe0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943098: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bc1302d8)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bc07cb00)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bc07cb00)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b05c3960)', 'HASH(0x55f3bc130398)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b05c3960)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc130398)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bc10d460)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc130398)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc115288)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc10c9b0)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bc1690b0)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bc0ba568)', 'Try::Tiny::Catch=REF(0x55f3bc089780)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bc0bb0d8)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bc0c5368)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb5cd808)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc130398)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc0e09d0)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc130398)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bc152f28)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc130398)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bc10d640)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc153318)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bc110ee8)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36a8)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c36f0)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a9fb0)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc130398)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb9afe50)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bc130398)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bc14c340)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943099: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bbe6a980)', 'package CGI::Compile::ROOT::kohadevbox_koha_mainpage_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/mainpage.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Copyright Paul Poulain 2002^J# Parts Copyright Liblime 2007^J# Copyright (C) 2013 Mark Tompsett^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Output qw( output_html_with_http_headers );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Koha;^Juse C4::Tags qw( get_count_by_tag_status );^Juse Koha::AdditionalContents;^Juse Koha::Patron::Modifications;^Juse Koha::Patron::Discharge;^Juse Koha::Reviews;^Juse Koha::ArticleRequests;^Juse Koha::BiblioFrameworks;^Juse Koha::ProblemReports;^Juse Koha::Quotes;^Juse Koha::Suggestions;^Juse Koha::BackgroundJobs;^Juse Koha::CurbsidePickups;^Juse Koha::Tickets;^J^Jmy $query = CGI->new;^J^Jmy ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(^J {^J template_name => "intranet-main.tt",^J query => $query,^J type => "intranet",^J flagsrequired => { catalogue => 1, },^J }^J);^J^Jmy $logged_in_user = Koha::Patrons->find($loggedinuser);^J^J# Checking if there is a Fast Cataloging Framework^J$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find(\'FA\');^J^Jmy $homebranch;^Jif ( C4::Context->userenv ) {^J $homebranch = C4::Context->userenv->{\'branch\'};^J}^Jmy $koha_news = Koha::AdditionalContents->search_for_display(^J {^J category => \'news\',^J location => [ \'staff_only\', \'staff_and_opac\' ],^J lang => $template->lang,^J library_id => $homebranch^J }^J);^J^J$template->param(^J koha_news => $koha_news,^J daily_quote => Koha::Quotes->get_daily_quote(),^J);^J^Jmy $branch =^J ( C4::Context->preference("IndependentBranchesPatronModifications")^J || C4::Context->preference("IndependentBranches") )^J && !$flags->{\'superlibrarian\'}^J ? C4::Context->userenv()->{\'branch\'}^J : undef;^J^Jmy $pendingcomments = Koha::Reviews->search_limited( { approved => 0 } )->count;^Jmy $pendingtags = get_count_by_tag_status(0);^J^J# Get current branch count and total viewable count, if they don\'t match then pass^J# both to template^J^Jif ( C4::Context->only_my_library ) {^J my $local_pendingsuggestions_count = Koha::Suggestions->search(^J { status => "ASKED", branchcode => C4::Context->userenv()->{\'branch\'}, archived => 0 } )->count();^J $template->param( pendingsuggestions => $local_pendingsuggestions_count );^J} else {^J my $pendingsuggestions = Koha::Suggestions->search( { status => "ASKED", archived => 0 } );^J my $local_pendingsuggestions_count =^J $pendingsuggestions->search( { \'me.branchcode\' => C4::Context->userenv()->{\'branch\'} } )->count();^J my $pendingsuggestions_count = $pendingsuggestions->count();^J $template->param(^J all_pendingsuggestions => $pendingsuggestions_count != $local_pendingsuggestions_count^J ? $pendingsuggestions_count^J : 0,^J pendingsuggestions => $local_pendingsuggestions_count^J );^J}^J^Jmy $pending_borrower_modifications = Koha::Patron::Modifications->pending_count($branch);^Jmy $pending_discharge_requests = Koha::Patron::Discharge::count( { pending => 1 } );^Jmy $pending_article_requests = Koha::ArticleRequests->search_limited(^J {^J status => Koha::ArticleRequest::Status::Requested,^J $branch ? ( \'me.branchcode\' => $branch ) : (),^J }^J)->count;^Jmy $pending_problem_reports = Koha::ProblemReports->search( { status => \'New\' } );^J^Jif ( C4::Context->preference(\'OpacCatalogConcerns\') || C4::Context->preference(\'CatalogConcerns\') ) {^J my $pending_biblio_tickets = Koha::Tickets->search(^J {^J resolved_date => undef,^J biblio_id => { \'!=\' => undef }^J }^J );^J $template->param( pending_biblio_tickets => $pending_biblio_tickets->count );^J}^J^Junless ( $logged_in_user->has_permission( { parameters => \'manage_background_jobs\' } ) ) {^J my $already_ran_jobs =^J Koha::BackgroundJobs->search( { borrowernumber => $logged_in_user->borrowernumber } )->count ? 1 : 0;^J $template->param( already_ran_jobs => $already_ran_jobs );^J}^J^J$template->param(^J holds_with_cancellation_requests => Koha::Holds->waiting->filter_by_has_cancellation_requests->count );^J^Jif ( C4::Context->preference(\'CurbsidePickup\') ) {^J $template->param(^J new_curbside_pickups => Koha::CurbsidePickups->search(^J {^J branchcode => $homebranch,^J }^J )->filter_by_to_be_staged->filter_by_scheduled_today,^J );^J}^J^Jif ( C4::Context->preference(\'PatronSelfRegistrationAlert\') ) {^J my $categorycode = C4::Context->preference(\'PatronSelfRegistrationDefaultCategory\');^J my $branchcode = C4::Context::mybranch();^J^J my $rs = Koha::Patrons->search( { categorycode => $categorycode } );^J^J $template->param(^J self_registered_count => $rs->count,^J self_registered_mybranch_count => $rs->search( { branchcode => $branchcode } )->count,^J );^J}^J^J$template->param(^J pendingcomments => $pendingcomments,^J pendingtags => $pendingtags,^J pending_borrower_modifications => $pending_borrower_modifications,^J pending_discharge_requests => $pending_discharge_requests,^J pending_article_requests => $pending_article_requests,^J pending_problem_reports => $pending_problem_reports,^J);^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bbfeda98)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bbfeda98)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b05c3978)', 'HASH(0x55f3bbe52f00)', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b05c3978)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbe52f00)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bbf7f8f8)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbe52f00)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bbf82f18)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bbf7af68)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bbfd96d8)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bbdf8728)', 'Try::Tiny::Catch=REF(0x55f3bbd99328)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bc04efd8)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bbf86ce8)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb97e128)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbe52f00)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc04f9e0)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbe52f00)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bbe5e220)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbe52f00)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bbf83188)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc051c88)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bbf7b868)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36c0)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c3708)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a5950)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb997600)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bbe52f00)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bbf1dfc0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943098: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bc0e0dd8)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bc08d580)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bc08d580)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b05c3960)', 'HASH(0x55f3bc0b72a8)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b05c3960)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0b72a8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bc10d460)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0b72a8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc115288)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc10c9b0)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bc1690b0)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bc1338e0)', 'Try::Tiny::Catch=REF(0x55f3bc130290)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bc0bb0d8)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bc0c5368)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb5cd808)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0b72a8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc0e09d0)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0b72a8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bc152f28)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0b72a8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bc10d640)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc153318)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bc110ee8)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36a8)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c36f0)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a9fb0)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb9afe50)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bc0b72a8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bc149cb8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943099: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bbfed9f0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dtags_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-tags.pl^J#!/usr/bin/perl^J^J# Copyright 2000-2002 Katipo Communications^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^J=head1 NAME^J^Jopac-tags.pl^J^J=head1 DESCRIPTION^J^JTODO :: Description here^J^JC4::Scrubber is used to remove all markup content from the sumitted text.^J^J=cut^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse CGI::Cookie; # need to check cookies before having CGI parse the POST request^Juse Array::Utils qw( array_minus );^J^Juse C4::Auth qw( check_cookie_auth get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_with_http_headers is_ajax output_html_with_http_headers );^Juse C4::Scrubber;^Juse C4::Tags qw(^J add_tag^J get_approval_rows^J get_tag_rows^J remove_tag^J stratify_tags^J);^Juse C4::XSLT qw( XSLTParse4Display );^Juse Koha::Biblios;^J^Juse Koha::Logger;^Juse Koha::Biblios;^Juse Koha::CirculationRules;^J^Jmy %newtags = ();^Jmy @deltags = ();^Jmy %counts = ();^Jmy @errors = ();^Jmy $perBibResults = {};^J^J# Indexes of @errors that do not apply to a particular biblionumber.^Jmy @globalErrorIndexes = ();^J^Jsub ajax_auth_cgi { # returns CGI object^J my $needed_flags = shift;^J my %cookies = CGI::Cookie->fetch;^J my $input = CGI->new;^J my $sessid = $cookies{\'CGISESSID\'}->value;^J my ($auth_status) = check_cookie_auth( $sessid, $needed_flags );^J if ( $auth_status ne "ok" ) {^J output_with_http_headers $input, undef,^J "window.alert(\'Your CGI session cookie ($sessid) is not current. "^J . "Please refresh the page and try again.\');\n", \'js\';^J exit 0;^J }^J return $input;^J}^J^J# The trick here is to support multiple tags added to multiple biblios in one POST.^J# The HTML might not use this, but it makes it more web-servicey from the start.^J# So the name of param has to have biblionumber built in.^J# For lack of anything more compelling, we just use "newtag[biblionumber]"^J# We split the value into tags at comma and semicolon^J^Jmy $is_ajax = is_ajax();^Jmy $openadds = C4::Context->preference(\'TagsModeration\') ? 0 : 1;^Jmy $query = ($is_ajax) ? &ajax_auth_cgi( {} ) : CGI->new();^Jforeach ( $query->param ) {^J if (/^newtag(.*)/) {^J my $biblionumber = $1;^J unless ( $biblionumber =~ /^\d+$/ ) {^J push @errors, { +\'badparam\' => $_ };^J push @globalErrorIndexes, $#errors;^J next;^J }^J $newtags{$biblionumber} = $query->param($_);^J } elsif (/^del(\d+)$/) {^J push @deltags, $1;^J }^J}^J^Jmy $add_op = ( scalar( keys %newtags ) + scalar(@deltags) ) ? 1 : 0;^Jmy ( $template, $loggedinuser, $cookie );^Jif ($is_ajax) {^J $loggedinuser = C4::Context->userenv->{\'number\'}; # must occur AFTER auth^J} else {^J ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "opac-tags.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( $add_op ? 0 : 1 ), # auth required to add tags^J }^J );^J}^J^Junless ( C4::Context->preference(\'TagsEnabled\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jif ($add_op) {^J unless ($loggedinuser) {^J push @errors, { +\'login\' => 1 };^J push @globalErrorIndexes, $#errors;^J %newtags = (); # zero out any attempted additions^J @deltags = (); # zero out any attempted deletions^J }^J}^J^Jmy $op = $query->param(\'op\') || q{};^Jmy $dels = 0;^Jif ( $op eq \'cud-add\' ) {^J my $scrubber;^J my @newtags_keys = ( keys %newtags );^J if ( scalar @newtags_keys ) {^J $scrubber = C4::Scrubber->new();^J foreach my $biblionumber (@newtags_keys) {^J my $bibResults = { adds => 0, errors => [] };^J my @values = split /[;,]/, $newtags{$biblionumber};^J foreach (@values) {^J s/^\s*(.+)\s*$/$1/;^J my $clean_tag = $scrubber->scrub($_);^J unless ( $clean_tag eq $_ ) {^J if ( $clean_tag =~ /\S/ ) {^J push @errors, { scrubbed => $clean_tag };^J push @{ $bibResults->{errors} }, { scrubbed => $clean_tag };^J } else {^J push @errors, { scrubbed_all_bad => 1 };^J push @{ $bibResults->{errors} }, { scrubbed_all_bad => 1 };^J next; # we don\'t add it if there\'s nothing left!^J }^J }^J my $result =^J ($openadds) ? add_tag( $biblionumber, $clean_tag, $loggedinuser, $loggedinuser ) : # pre-approved^J add_tag( $biblionumber, $clean_tag, $loggedinuser );^J if ($result) {^J $counts{$biblionumber}++;^J $bibResults->{adds}++;^J } else {^J push @errors, { failed_add_tag => $clean_tag };^J push @{ $bibResults->{errors} }, { failed_add_tag => $clean_tag };^J Koha::Logger->get->warn( "add_tag($biblionumber,$clean_tag,$loggedinuser...) returned bad result ("^J . ( defined $result ? $result : \'UNDEF\' )^J . ")" );^J }^J }^J $perBibResults->{$biblionumber} = $bibResults;^J }^J }^J} elsif ( $op eq \'cud-del\' ) {^J foreach (@deltags) {^J if ( remove_tag( $_, $loggedinuser ) ) {^J $dels++;^J } else {^J push @errors, { failed_delete => $_ };^J }^J }^J}^J^Jif ($is_ajax) {^J my $sum = 0;^J foreach ( values %counts ) { $sum += $_; }^J my $js_reply = sprintf( "response = {\n\tadded: %d,\n\tdeleted: %d,\n\terrors: %d", $sum, $dels, scalar @errors );^J^J # If no add attempts were made, flag global errors.^J if (@globalErrorIndexes) {^J $js_reply .= ",\n\tglobal_errors: [";^J my $first = 1;^J foreach (@globalErrorIndexes) {^J $js_reply .= "," unless $first;^J $first = 0;^J $js_reply .= "\n\t\t$_";^J }^J $js_reply .= "\n\t]";^J }^J^J my $err_string = \'\';^J if ( scalar @errors ) {^J $err_string = ",\n\talerts: ["; # open response_function^J my $i = 1;^J foreach (@errors) {^J my $key = ( keys %$_ )[0];^J ( my $quote_escaped = $_->{$key} ) =~ s|"|\\"|g;^J $err_string .= sprintf qq{\n\t\t KOHA.Tags.tag_message.%s("%s")}, $key, $quote_escaped;^J if ( $i < scalar @errors ) { $err_string .= ","; }^J $i++;^J }^J $err_string .= "\n\t]\n"; # close response_function^J }^J^J # Add per-biblionumber results for use on results page^J my $js_perbib = "";^J for my $bib ( keys %$perBibResults ) {^J my $bibResult = $perBibResults->{$bib};^J my $js_bibres = ",\n\t$bib: {\n\t\tadded: $bibResult->{adds}";^J $js_bibres .= ",\n\t\terrors: [";^J my $i = 0;^J foreach ( @{ $bibResult->{errors} } ) {^J $js_bibres .= "," if ($i);^J my $key = ( keys %$_ )[0];^J ( my $quote_escaped = $_->{$key} ) =~ s|"|\\"|g;^J $js_bibres .= sprintf qq{\n\t\t\t KOHA.Tags.tag_message.%s("%s")}, $key, $quote_escaped;^J $i++;^J }^J $js_bibres .= "\n\t\t]\n\t}";^J $js_perbib .= $js_bibres;^J }^J^J output_with_http_headers( $query, undef, "$js_reply\n$err_string\n$js_perbib\n};", \'js\' );^J exit;^J}^J^Jmy $results = [];^Jmy $my_tags = [];^J^Jif ($loggedinuser) {^J my $patron = Koha::Patrons->find( { borrowernumber => $loggedinuser } );^J my $rules = C4::Context->yaml_preference(\'OpacHiddenItems\');^J my $should_hide = ($rules) ? 1 : 0;^J $my_tags = get_tag_rows( { borrowernumber => $loggedinuser } );^J my $my_approved_tags = get_approval_rows( { approved => 1 } );^J^J my $art_req_itypes;^J if ( C4::Context->preference(\'ArticleRequests\') ) {^J $art_req_itypes = Koha::CirculationRules->guess_article_requestable_itemtypes(^J { $patron ? ( categorycode => $patron->categorycode ) : () } );^J }^J^J # get biblionumbers stored in the cart^J my @cart_list;^J^J if ( $query->cookie("bib_list") ) {^J my $cart_list = $query->cookie("bib_list");^J @cart_list = split( /\//, $cart_list );^J }^J^J foreach my $tag (@$my_tags) {^J $tag->{visible} = 0;^J my $biblio = Koha::Biblios->find( $tag->{biblionumber} );^J my $record = $biblio->metadata_record(^J {^J embed_items => 1,^J interface => \'opac\',^J patron => $patron,^J }^J );^J next unless $record;^J my @hidden_items;^J if ($should_hide) {^J my $items = $biblio->items->search_ordered;^J my @all_itemnumbers = $items->get_column(\'itemnumber\');^J my @items_to_show = $items->filter_by_visible_in_opac( { opac => 1, patron => $patron } )->as_list;^J @hidden_items = array_minus( @all_itemnumbers, @items_to_show );^J }^J next^J if (^J (^J !$patron^J or ( $patron and !$patron->category->override_hidden_items )^J )^J and $biblio->hidden_in_opac( { rules => $rules } )^J );^J $tag->{title} = $biblio->title;^J $tag->{subtitle} = $biblio->subtitle;^J $tag->{medium} = $biblio->medium;^J $tag->{part_number} = $biblio->part_number;^J $tag->{part_name} = $biblio->part_name;^J $tag->{author} = $biblio->author;^J^J # BZ17530: \'Intelligent\' guess if result can be article requested^J $tag->{artreqpossible} = ( $art_req_itypes->{ $tag->{itemtype} // q{} } || $art_req_itypes->{\'*\'} ) ? 1 : q{};^J^J my $variables = { anonymous_session => ($loggedinuser) ? 0 : 1 };^J $tag->{XSLTBloc} = XSLTParse4Display(^J {^J biblionumber => $tag->{biblionumber},^J record => $record,^J xsl_syspref => \'OPACXSLTResultsDisplay\',^J fix_amps => 1,^J hidden_items => \@hidden_items,^J xslt_variables => $variables,^J }^J );^J^J my $date = $tag->{date_created} || \'\';^J $date =~ /\s+(\d{2}\:\d{2}\:\d{2})/;^J $tag->{time_created_display} = $1;^J $tag->{approved} = ( grep { $_->{term} eq $tag->{term} and $_->{approved} } @$my_approved_tags );^J $tag->{visible} = 1;^J^J # while we\'re checking each line, see if item is in the cart^J if ( grep { $_ eq $biblio->biblionumber } @cart_list ) {^J $tag->{incart} = 1;^J }^J }^J}^J^J$template->param( tagsview => 1 );^J^Jif ($add_op) {^J my $adds = 0;^J for ( values %counts ) { $adds += $_; }^J $template->param(^J add_op => 1,^J added_count => $adds,^J deleted_count => $dels,^J );^J} else {^J my ( $arg, $limit, $mine );^J my $hardmax = 100; # you might disagree what this value should be, but there definitely should be a max^J $limit = $query->param(\'limit\') || $hardmax;^J $mine = $query->param(\'mine\') || 0; # set if the patron want to see only his own tags.^J ( $limit =~ /^\d+$/ and $limit <= $hardmax ) or $limit = $hardmax;^J $template->param( limit => $limit );^J my $arghash = { approved => 1, limit => $limit, \'sort\' => \'-weight_total\' };^J $arghash->{\'borrowernumber\'} = $loggedinuser if $mine;^J^J # ($openadds) or $arghash->{approved} = 1;^J if ( $arg = $query->param(\'tag\') ) {^J $arghash->{term} = $arg;^J }^J^J # Bug 36785: Do not pass biblionumber: get_approval_rows does not \'recognize\' biblionumber^J $results = get_approval_rows($arghash);^J stratify_tags( 10, $results ); # work out the different sizes for things^J my $count = scalar @$results;^J $template->param( TAGLOOP_COUNT => $count, mine => $mine );^J}^J( scalar @errors ) and $template->param( ERRORS => \@errors );^Jmy @orderedresult = sort { uc( $a->{\'term\'} ) cmp uc( $b->{\'term\'} ) } @$results;^J( scalar @$results ) and $template->param( TAGLOOP => \@orderedresult );^J( scalar @$my_tags ) and $template->param( MY_TAGS => $my_tags );^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-tags.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bbeb3c48)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bbeb3c48)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbf65a78)', '/kohadevbox/koha/opac/opac-tags.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf65a78)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bbebf490)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf65a78)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc049df8)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc049af8)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bbe92900)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bbe001b8)', 'Try::Tiny::Catch=REF(0x55f3bbde8fe0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bbf7b298)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bbf82f30)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb97e128)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf65a78)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc04f9e0)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf65a78)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bbe5e220)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf65a78)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bbf83188)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc051c88)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bbf7b868)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36c0)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c3708)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a5950)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb997600)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bbf65a78)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bbe56c88)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943098: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bc160048)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc132d58)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc132d58)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bc0e05c8)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc132d58)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc125370)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc0ba4f0)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bc0c4e40)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bc12be48)', 'Try::Tiny::Catch=REF(0x55f3bc1498e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bc1110c8)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bc115270)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb5cd808)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc132d58)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc0e09d0)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc132d58)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bc152f28)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc132d58)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bc10d640)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc153318)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bc110ee8)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36a8)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c36f0)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a9fb0)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc132d58)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb9afe50)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bc132d58)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bc0ce568)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943099: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bbeb39a8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bc06d780)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bc06d780)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bc023c98)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc023c98)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bbebf490)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc023c98)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc049df8)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc049af8)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bbe92900)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bbd95988)', 'Try::Tiny::Catch=REF(0x55f3bc023cc8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bbf7b298)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bbf82f30)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb97e128)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc023c98)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc04f9e0)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc023c98)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bbe5e220)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc023c98)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bbf83188)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc051c88)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bbf7b868)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36c0)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c3708)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a5950)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc023c98)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb997600)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bc023c98)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bc024010)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943098: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bc0f5298)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bc168b88)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bc168b88)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc120448)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc120448)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bc0e05c8)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc120448)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc125370)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc0ba4f0)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bc0c4e40)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bc0f0240)', 'Try::Tiny::Catch=REF(0x55f3bc1564c8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bc1110c8)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bc115270)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb5cd808)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc120448)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc0e09d0)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc120448)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bc152f28)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc120448)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bc10d640)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc153318)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bc110ee8)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36a8)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c36f0)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a9fb0)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc120448)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb9afe50)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bc120448)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bc0d91b8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943099: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bc06a3b8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bbfd8f58)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bbfd8f58)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbdab688)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdab688)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bbebf490)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdab688)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc049df8)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc049af8)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bbe92900)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bc06a130)', 'Try::Tiny::Catch=REF(0x55f3bc023878)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bbf7b298)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bbf82f30)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb97e128)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdab688)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc04f9e0)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdab688)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bbe5e220)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdab688)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bbf83188)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc051c88)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bbf7b868)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36c0)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c3708)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a5950)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdab688)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb997600)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bbdab688)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bbdab838)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943098: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bc135db0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bc08fbd8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bc08fbd8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc0d1540)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0d1540)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bc0e05c8)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0d1540)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc125370)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc0ba4f0)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bc0c4e40)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bc0f4b78)', 'Try::Tiny::Catch=REF(0x55f3bc0aed20)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bc1110c8)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bc115270)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb5cd808)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0d1540)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc0e09d0)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0d1540)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bc152f28)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0d1540)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bc10d640)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc153318)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bc110ee8)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36a8)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c36f0)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a9fb0)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb9afe50)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bc0d1540)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bc094338)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943099: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bbe6e228)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bbf89a08)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bbf89a08)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbf50a18)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf50a18)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bbebf490)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf50a18)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc049df8)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc049af8)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bbe92900)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bbf65820)', 'Try::Tiny::Catch=REF(0x55f3bbf1b648)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bbf7b298)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bbf82f30)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb97e128)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf50a18)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc04f9e0)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf50a18)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bbe5e220)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf50a18)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bbf83188)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc051c88)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bbf7b868)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36c0)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c3708)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a5950)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb997600)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bbf50a18)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bbdba790)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943098: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bc0efac0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dsearch_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-search.pl^J#!/usr/bin/perl^J^J# Copyright 2008 Garry Column and the Koha Development team^J# Copyright 2010 BibLibre^J# Copyright 2011 KohaAloha, NZ^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^J# Script to perform searching^J# Mostly copied from search.pl, see POD there^Juse Modern::Perl;^J^J## STEP 1. Load things that are used in both search page and^J# results page and decide which template to load, operations^J# to perform, etc.^J## load Koha modules^Juse C4::Context;^Juse List::MoreUtils q/any/;^Juse Try::Tiny;^Juse Encode;^J^Juse Data::Dumper; # TODO remove^J^Juse Koha::SearchEngine::Search;^Juse Koha::SearchEngine::QueryBuilder;^J^Jmy $searchengine = C4::Context->preference("SearchEngine");^Jmy ( $builder, $searcher );^J^J#$searchengine = \'Zebra\'; # XXX^J$builder = Koha::SearchEngine::QueryBuilder->new( { index => \'biblios\' } );^J$searcher = Koha::SearchEngine::Search->new( { index => \'biblios\' } );^J^Juse C4::Output qw( output_html_with_http_headers pagination_bar output_with_http_headers );^Juse C4::Auth qw( get_template_and_user get_session );^Juse C4::Languages qw( getlanguage getLanguages );^Juse C4::Search qw( searchResults );^Juse C4::Search::History;^Juse C4::Biblio qw( GetXmlBiblio CountItemsIssued );^Juse C4::Koha qw( GetItemTypesCategorized getitemtypeimagelocation GetAuthorisedValues );^Juse C4::Tags qw( get_tags );^Juse C4::SocialData;^Juse C4::External::OverDrive;^J^Juse Koha::CirculationRules;^Juse Koha::Libraries;^Juse Koha::ItemTypes;^Juse Koha::Ratings;^Juse Koha::Virtualshelves;^Juse Koha::Library::Groups;^Juse Koha::Patrons;^Juse Koha::Plugins;^Juse Koha::SearchFields;^J^Juse POSIX qw(ceil floor strftime);^Juse URI::Escape;^Juse JSON qw/decode_json encode_json/;^Juse Business::ISBN;^J^J# create a new CGI object^J# FIXME: no_undef_params needs to be tested^Juse CGI qw(\'-no_undef_params\' -utf8);^Jmy $cgi = CGI->new;^J^Jmy $branch_group_limit = $cgi->param("branch_group_limit");^Jif ($branch_group_limit) {^J if ( $branch_group_limit =~ /^multibranchlimit-/ ) {^J^J # branch_group_limit is deprecated, it should no longer be used^J # For search groups we are going to convert this branch_group_limit CGI^J # parameter into a multibranchlimit limit CGI parameter for the purposes of^J # actually performing the query^J $cgi->param(^J -name => \'limit\',^J -values => \'multibranchlimit:\' . substr( $branch_group_limit, 17 )^J );^J } else {^J $cgi->append(^J -name => \'limit\',^J -values => [$branch_group_limit]^J );^J }^J}^J^Jmy ( $template, $borrowernumber, $cookie );^J^J# decide which template to use^Jmy $template_name;^Jmy $template_type = \'basic\';^Jmy @params = $cgi->multi_param("limit");^Jmy @searchCategories = $cgi->multi_param(\'searchcat\');^J^Jmy $format = $cgi->param("format") || \'\';^Jif ( $format =~ /(rss|atom|opensearchdescription)/ ) {^J $template_name = \'opac-opensearch.tt\';^J} elsif ( ( @params >= 1 )^J || ( defined $cgi->param("q") && $cgi->param("q") ne "" )^J || ( $cgi->param(\'multibranchlimit\') )^J || ( $cgi->param(\'limit-yr\') )^J || @searchCategories )^J{^J $template_name = \'opac-results.tt\';^J} else {^J $template_name = \'opac-advsearch.tt\';^J $template_type = \'advsearch\';^J}^J^J$format = \'rss\' if $format =~ /^rss2?$/;^J^J# load the template^J( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => $template_name,^J query => $cgi,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^Jmy $patron = Koha::Patrons->find($borrowernumber);^J^Jmy $lang = C4::Languages::getlanguage($cgi);^J^Jif ( $template_name eq \'opac-results.tt\' ) {^J $template->param( \'COinSinOPACResults\' => C4::Context->preference(\'COinSinOPACResults\') );^J}^J^J# get biblionumbers stored in the cart^Jmy @cart_list;^J^Jif ( $cgi->cookie("bib_list") ) {^J my $cart_list = $cgi->cookie("bib_list");^J @cart_list = split( /\//, $cart_list );^J}^J^Jif ( $format eq \'rss\' or $format eq \'opensearchdescription\' or $format eq \'atom\' ) {^J $template->param( $format => 1 );^J^J #NOTE: opensearchdescription doesn\'t actually use timestamp...^J $template->param( timestamp => strftime( "%Y-%m-%dT%H:%M:%S-00:00", gmtime ) ) if ( $format eq \'atom\' );^J^J # FIXME - the timestamp is a hack - the biblio update timestamp should be used for each^J # entry, but not sure if that\'s worth an extra database query for each bib^J}^J^J#NOTE: Return now for \'opensearchdescription\' BZ 32639^Jif ( $format && $format eq \'opensearchdescription\' ) {^J my $content_type = $format;^J output_with_http_headers $cgi, $cookie, $template->output, $content_type;^J exit;^J}^J^Jif ( C4::Context->preference("marcflavour") eq "UNIMARC" ) {^J $template->param( \'UNIMARC\' => 1 );^J} elsif ( C4::Context->preference("marcflavour") eq "MARC21" ) {^J $template->param( \'usmarc\' => 1 );^J}^J^J$template->param( \'OPACNoResultsFound\' => C4::Context->preference(\'OPACNoResultsFound\') );^J^J$template->param( OpacStarRatings => C4::Context->preference("OpacStarRatings") );^J^J## URI Re-Writing^J# Deprecated, but preserved because it\'s interesting :-)^J# The same thing can be accomplished with mod_rewrite in^J# a more elegant way^J#^J#my $rewrite_flag;^J#my $uri = $cgi->url(-base => 1);^J#my $relative_url = $cgi->url(-relative=>1);^J#$uri.="/".$relative_url."?";^J#warn "URI:$uri";^J#my @cgi_params_list = $cgi->param();^J#my $url_params = $cgi->Vars;^J#^J#for my $each_param_set (@cgi_params_list) {^J# $uri.= join "", map "\&$each_param_set=".$_, split("\0",$url_params->{$each_param_set}) if $url_params->{$each_param_set};^J#}^J#warn "New URI:$uri";^J# Only re-write a URI if there are params or if it already hasn\'t been re-written^J#unless (($cgi->param(\'r\')) || (!$cgi->param()) ) {^J# print $cgi->redirect( -uri=>$uri."&r=1",^J# -cookie => $cookie);^J# exit;^J#}^J^J# load the branches^J^Jif ( $cgi->param("returntosearch") ) {^J $template->param( \'ReturnToSearch\' => 1 );^J}^Jif ( $cgi->cookie("search_path_code") ) {^J my $pathcode = $cgi->cookie("search_path_code");^J if ( $pathcode eq \'ads\' ) {^J $template->param( \'ReturnPath\' => \'/cgi-bin/koha/opac-search.pl?returntosearch=1\' );^J } elsif ( $pathcode eq \'exs\' ) {^J my $return_params = \'expanded_options=1&returntosearch=1\';^J $return_params .= \'&weight_search_submitted=1\' if $cgi->param(\'weight_search_submitted\');^J $return_params .= \'&weight_search=1\' if $cgi->param(\'weight_search\');^J $template->param( \'ReturnPath\' => "/cgi-bin/koha/opac-search.pl?$return_params" );^J } else {^J warn "ReturnPath switch error";^J }^J}^J^Jmy @search_groups = Koha::Library::Groups->get_search_groups( { interface => \'opac\' } )->as_list;^J$template->param( search_groups => \@search_groups );^J^Jif ( $template_type && $template_type eq \'advsearch\' ) {^J^J # load the language limits (for search)^J my $languages_limit_loop = getLanguages( $lang, 1 );^J $template->param( search_languages_loop => $languages_limit_loop, );^J}^J^J# load the Type stuff^Jmy $itemtypes = GetItemTypesCategorized;^J^J# add translated_description to itemtypes^Jforeach my $itemtype ( keys %{$itemtypes} ) {^J^J # Itemtypes search categories don\'t have (yet) translated descriptions, they are auth values (and could still have no descriptions too BZ 18400)^J # If \'iscat\' (see ITEMTYPECAT) then there is no itemtype and the description is not translated^J my $translated_description =^J $itemtypes->{$itemtype}->{iscat}^J ? $itemtypes->{$itemtype}->{description}^J : Koha::ItemTypes->find($itemtype)->translated_description;^J $itemtypes->{$itemtype}->{translated_description} =^J $translated_description || $itemtypes->{$itemtype}->{description} || q{};^J}^J^J# the index parameter is different for item-level itemtypes^Jmy $itype_or_itemtype = ( C4::Context->preference("item-level_itypes") ) ? \'itype\' : \'itemtype\';^Jmy @advancedsearchesloop;^Jmy $cnt;^Jmy $advanced_search_types = C4::Context->preference("OpacAdvancedSearchTypes") || "itemtypes";^Jmy @advanced_search_types = split( /\|/, $advanced_search_types );^J^Jmy $hidingrules = C4::Context->yaml_preference(\'OpacHiddenItems\') // {};^J^Jmy @sorted_itemtypes =^J sort { $itemtypes->{$a}->{translated_description} cmp $itemtypes->{$b}->{translated_description} } keys %$itemtypes;^Jforeach my $advanced_srch_type (@advanced_search_types) {^J $advanced_srch_type =~ s/^\s*//;^J $advanced_srch_type =~ s/\s*$//;^J if ( $advanced_srch_type eq \'itemtypes\' ) {^J^J # itemtype is a special case, since it\'s not defined in authorized values^J my @itypesloop;^J foreach my $thisitemtype (@sorted_itemtypes) {^J next if $hidingrules->{itype} && any { $_ eq $thisitemtype } @{ $hidingrules->{itype} };^J next if $hidingrules->{itemtype} && any { $_ eq $thisitemtype } @{ $hidingrules->{itemtype} };^J my %row = (^J number => $cnt++,^J ccl => "$itype_or_itemtype,phr",^J code => $thisitemtype,^J description => $itemtypes->{$thisitemtype}->{translated_description},^J imageurl => getitemtypeimagelocation( \'opac\', $itemtypes->{$thisitemtype}->{\'imageurl\'} ),^J cat => $itemtypes->{$thisitemtype}->{\'iscat\'},^J hideinopac => $itemtypes->{$thisitemtype}->{\'hideinopac\'},^J searchcategory => $itemtypes->{$thisitemtype}->{\'searchcategory\'},^J );^J if ( !$itemtypes->{$thisitemtype}->{\'hideinopac\'} ) {^J push @itypesloop, \%row;^J }^J }^J my %search_code = (^J advanced_search_type => $advanced_srch_type,^J code_loop => \@itypesloop^J );^J push @advancedsearchesloop, \%search_code;^J } else {^J^J # covers all the other cases: non-itemtype authorized values^J my $advsearchtypes = GetAuthorisedValues( $advanced_srch_type, \'opac\' );^J my @authvalueloop;^J for my $thisitemtype (@$advsearchtypes) {^J my $hiding_key = lc $thisitemtype->{category};^J $hiding_key = "location" if $hiding_key eq \'loc\';^J next^J if $hidingrules->{$hiding_key} && any { $_ eq $thisitemtype->{authorised_value} }^J @{ $hidingrules->{$hiding_key} };^J my %row = (^J number => $cnt++,^J ccl => $advanced_srch_type,^J code => $thisitemtype->{authorised_value},^J description => $thisitemtype->{\'lib_opac\'} || $thisitemtype->{\'lib\'},^J searchcategory => $itemtypes->{$thisitemtype}->{\'searchcategory\'},^J imageurl => getitemtypeimagelocation( \'opac\', $thisitemtype->{\'imageurl\'} ),^J );^J push @authvalueloop, \%row;^J }^J my %search_code = (^J advanced_search_type => $advanced_srch_type,^J code_loop => \@authvalueloop^J );^J push @advancedsearchesloop, \%search_code;^J }^J}^J$template->param( advancedsearchesloop => \@advancedsearchesloop );^J^Jmy $default_sort_by = C4::Context->default_catalog_sort_by;^J^J# The following should only be loaded if we\'re bringing up the advanced search template^Jif ( $template_type && $template_type eq \'advsearch\' ) {^J^J # load the servers (used for searching -- to do federated searching, etc.)^J my $primary_servers_loop; # = displayPrimaryServers();^J $template->param( outer_servers_loop => $primary_servers_loop, );^J^J my $secondary_servers_loop;^J $template->param( outer_sup_servers_loop => $secondary_servers_loop, );^J^J # set the default sorting^J if ($default_sort_by) {^J $template->param( sort_by => $default_sort_by );^J }^J^J my @advsearch_limits = split /,/, C4::Context->preference(\'OpacAdvSearchOptions\');^J my @advsearch_more_limits = split /,/,^J C4::Context->preference(\'OpacAdvSearchMoreOptions\');^J $template->param(^J uc( C4::Context->preference("marcflavour") ) => 1, # we already did this for UNIMARC^J advsearch => 1,^J OpacAdvSearchOptions => \@advsearch_limits,^J OpacAdvSearchMoreOptions => \@advsearch_more_limits,^J );^J^J # use the global setting by default^J if ( C4::Context->preference("expandedSearchOption") == 1 ) {^J $template->param( expanded_options => C4::Context->preference("expandedSearchOption") );^J }^J^J # but let the user override it^J if ( defined $cgi->param(\'expanded_options\') ) {^J if ( ( $cgi->param(\'expanded_options\') == 0 ) || ( $cgi->param(\'expanded_options\') == 1 ) ) {^J $template->param( expanded_options => scalar $cgi->param(\'expanded_options\') );^J }^J }^J^J # Force expanded options if weight_search_submitted is present^J if ( $cgi->param(\'weight_search_submitted\') ) {^J $template->param( expanded_options => 1 );^J }^J^J # Always pass weight_search_submitted to template for checkbox logic^J $template->param( weight_search_submitted => scalar $cgi->param(\'weight_search_submitted\') );^J^J output_html_with_http_headers $cgi, $cookie, $template->output;^J exit;^J}^J^J### OK, if we\'re this far, we\'re performing an actual search^J^J# Fetch the parameter list as a hash in scalar context:^J# * returns parameter list as tied hash ref^J# * we can edit the values by changing the key^J# * multivalued CGI parameters are returned as a packaged string separated by "\0" (null)^Jmy $params = $cgi->Vars;^Jmy $tag;^Jif ( $params->{tag} ) {^J $tag = $params->{tag};^J $template->param( tag => $tag );^J}^J^J# String with params with the search criteria for the paging in opac-detail^J# param value is URI encoded and params separator is HTML encode (&)^Jmy $pasarParams = \'\';^Jmy $j = 0;^Jfor ( keys %$params ) {^J my @pasarParam = $cgi->multi_param($_);^J for my $paramValue (@pasarParam) {^J $pasarParams .= \'&\' if ( $j > 0 );^J $pasarParams .= uri_escape_utf8($_) . \'=\' . uri_escape_utf8($paramValue);^J $j++;^J }^J}^J^J# Params that can have more than one value^J# sort by is used to sort the query^J# in theory can have more than one but generally there\'s just one^Jmy @sort_by;^Jmy @allowed_sortby =^J qw /acqdate_asc acqdate_dsc author_az author_za call_number_asc call_number_dsc popularity_asc popularity_dsc pubdate_asc pubdate_dsc relevance title_az title_za/;^J@sort_by = $cgi->multi_param(\'sort_by\');^J$sort_by[0] = $default_sort_by if !$sort_by[0] && defined($default_sort_by);^Jforeach my $sort (@sort_by) {^J if ( grep { $_ eq $sort } @allowed_sortby ) {^J $template->param( $sort => 1 );^J }^J}^J$template->param( \'sort_by\' => $sort_by[0] );^J^J# Use the servers defined, or just search our local catalog(default)^Jmy @servers = $cgi->multi_param(\'server\');^Junless (@servers) {^J^J #FIXME: this should be handled using Context.pm^J @servers = ("biblioserver");^J^J # @servers = C4::Context->config("biblioserver");^J}^J^J# operators include boolean and proximity operators and are used^J# to evaluate multiple operands^Jmy @operators = $cgi->multi_param(\'op\');^J@operators = map { uri_unescape($_) } @operators;^J^J# indexes are query qualifiers, like \'title\', \'author\', etc. They^J# can be single or multiple parameters separated by comma: kw,right-Truncation^Jmy @indexes = $cgi->multi_param(\'idx\');^J@indexes = map { uri_unescape($_) } @indexes;^J^J# if a simple index (only one) display the index used in the top search box^Jif ( $indexes[0] && !$indexes[1] ) {^J my $idx = "ms_" . $indexes[0];^J $idx =~ s/\,/comma/g; # template toolkit doesn\'t like variables with a , in it^J $idx =~ s/-/dash/g; # template toolkit doesn\'t like variables with a dash in it^J $template->param( $idx => 1 );^J}^J^J# an operand can be a single term, a phrase, or a complete ccl query^Jmy @operands = $cgi->multi_param(\'q\');^J@operands = map { uri_unescape($_) } @operands;^J^J$template->{VARS}->{querystring} = join( \' \', @operands );^J^J# if a simple search, display the value in the search box^Jmy $basic_search = 0;^Jif ( $operands[0] && !$operands[1] ) {^J my $ms_query = $operands[0];^J $ms_query =~ s/ #\S+//;^J $template->param( ms_value => $ms_query );^J $basic_search = 1;^J}^J^J# limits are use to limit to results to a pre-defined category such as branch or language^Jmy @limits = $cgi->multi_param(\'limit\');^J@limits = map { uri_unescape($_) } @limits;^Jmy @nolimits = $cgi->multi_param(\'nolimit\');^J@nolimits = map { uri_unescape($_) } @nolimits;^Jmy %is_nolimit = map { $_ => 1 } @nolimits;^J@limits = grep { not $is_nolimit{$_} } @limits;^J^Jif ( @searchCategories > 0 ) {^J my @tabcat;^J foreach my $typecategory (@searchCategories) {^J push @tabcat, Koha::ItemTypes->search( { searchcategory => $typecategory } )->get_column(\'itemtype\');^J }^J^J foreach my $itemtypeInCategory (@tabcat) {^J push( @limits, "mc-$itype_or_itemtype,phr:" . $itemtypeInCategory );^J }^J}^J^J@limits = map { uri_unescape($_) } @limits;^J^Jmy $available;^Jforeach my $limit (@limits) {^J if ( $limit =~ /available/ ) {^J $available = 1;^J }^J}^J$template->param( available => $available );^J^J# append year limits if they exist^Jif ( $params->{\'limit-yr\'} ) {^J if ( $params->{\'limit-yr\'} =~ /\d{4}/ ) {^J push @limits, "yr,st-numeric=$params->{\'limit-yr\'}";^J } else {^J^J #FIXME: Should return a error to the user, incorrect date format specified^J }^J}^J^J# Params that can only have one value^Jmy $scan = $params->{\'scan\'};^Jmy $count = C4::Context->preference(\'OPACnumSearchResults\') || 20;^Jmy $countRSS = C4::Context->preference(\'numSearchRSSResults\') || 50;^Jmy $results_per_page = $params->{\'count\'} || $count;^Jmy $offset = $params->{\'offset\'} || 0;^J$offset = 0 if $offset < 0;^Jmy $page = $cgi->param(\'page\') || 1;^J$offset = ( $page - 1 ) * $results_per_page if $page > 1;^Jmy $hits;^Jmy $weight_search = $cgi->param(\'weight_search_submitted\')^J ? ( $cgi->param(\'weight_search\') ? 1 : 0 ) # Form was submitted, use actual checkbox value^J : 1; # Form not submitted^J^J# Define some global variables^Jmy ( $error, $query, $simple_query, $query_cgi, $query_desc, $limit, $limit_cgi, $limit_desc, $query_type );^J^Jmy $suppress = 0;^Jif ( C4::Context->preference(\'OpacSuppression\') ) {^J^J # OPAC suppression by IP address^J if ( C4::Context->preference(\'OpacSuppressionByIPRange\') ) {^J my $IPAddress = $ENV{\'REMOTE_ADDR\'};^J my $IPRange = C4::Context->preference(\'OpacSuppressionByIPRange\');^J $suppress = ( $IPAddress !~ /^$IPRange/ );^J } else {^J $suppress = 1;^J }^J}^J^J## I. BUILD THE QUERY^J( $error, $query, $simple_query, $query_cgi, $query_desc, $limit, $limit_cgi, $limit_desc, $query_type ) =^J $builder->build_query_compat(^J \@operators,^J \@operands,^J \@indexes,^J \@limits,^J \@sort_by,^J 0,^J $lang,^J {^J suppress => $suppress,^J is_opac => 1,^J weighted_fields => $weight_search,^J weight_search_submitted => $cgi->param(\'weight_search_submitted\') // undef^J }^J );^J^J$template->param( search_query => $query ) if C4::Context->preference(\'DumpSearchQueryTemplate\');^J^Jsub _input_cgi_parse {^J my @elements;^J my $query_cgi = shift or return @elements;^J for my $this_cgi ( split( \'&\', $query_cgi ) ) {^J next unless $this_cgi;^J $this_cgi =~ /(.*?)=(.*)/;^J push @elements, { input_name => $1, input_value => Encode::decode_utf8( uri_unescape($2) ) };^J }^J return @elements;^J}^J^J## parse the query_cgi string and put it into a form suitable for s^Jmy @query_inputs = _input_cgi_parse($query_cgi);^J$template->param( QUERY_INPUTS => \@query_inputs );^J^J## parse the limit_cgi string and put it into a form suitable for s^Jmy @limit_inputs = $limit_cgi ? _input_cgi_parse($limit_cgi) : ();^J^J# OpenURL^Jmy @OpenURL_itypes;^Jif ( C4::Context->preference(\'OPACShowOpenURL\') ) {^J @OpenURL_itypes = split( /\s/, C4::Context->preference(\'OPACOpenURLItemTypes\') );^J $template->param(^J OPACShowOpenURL => 1,^J OpenURLResolverURL => C4::Context->preference(\'OpenURLResolverURL\'),^J OpenURLText => C4::Context->preference(\'OpenURLText\'),^J OpenURLImageLocation => C4::Context->preference(\'OpenURLImageLocation\')^J );^J}^J^J$template->param( LIMIT_INPUTS => \@limit_inputs );^J^J## II. DO THE SEARCH AND GET THE RESULTS^Jmy $total = 0; # the total results for the whole set^Jmy $facets; # this object stores the faceted results that display on the left-hand of the results page^Jmy $results_hashref;^J^Jif ($tag) {^J $query_cgi = "tag=" . uri_escape_utf8($tag) . "&" . $query_cgi;^J my $taglist = get_tags( { term => $tag, approved => 1 } );^J $results_hashref->{biblioserver}->{hits} = scalar(@$taglist);^J my @marclist = map { C4::Biblio::GetXmlBiblio( $_->{biblionumber} ) } @$taglist;^J $results_hashref->{biblioserver}->{RECORDS} = \@marclist;^J^J # FIXME: tag search and standard search should work together, not exclusively^J # FIXME: Because search and standard search don\'t work together OpacHiddenItems^J # displays search results which should be hidden.^J # FIXME: No facets for tags search.^J} else {^J my $json = JSON->new->utf8->allow_nonref(1);^J $pasarParams .= \'&query=\' . uri_escape_utf8( $json->encode($query) );^J $pasarParams .= \'&count=\' . uri_escape_utf8($results_per_page);^J $pasarParams .= \'&simple_query=\' . uri_escape_utf8($simple_query) if $simple_query;^J $pasarParams .= \'&query_type=\' . uri_escape_utf8($query_type) if ($query_type);^J my $itemtypes_nocategory =^J { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search_with_localization->unblessed } };^J eval {^J ( $error, $results_hashref, $facets ) = $searcher->search_compat(^J $query, $simple_query, \@sort_by, \@servers, $results_per_page, $offset, undef,^J $itemtypes_nocategory, $query_type, $scan, 1^J );^J };^J}^J^J# use Data::Dumper; print STDERR "-" x 25, "\n", Dumper($results_hashref);^Jif ( not $tag and ( $@ || $error ) ) {^J my $query_error = q{};^J $query_error .= $error if $error;^J $query_error .= $@ if $@;^J $template->param( query_error => $query_error );^J output_html_with_http_headers $cgi, $cookie, $template->output;^J exit;^J}^J^J# At this point, each server has given us a result set^J# now we build that set for template display^Jmy @sup_results_array;^Jmy $search_context = {};^J$search_context->{\'interface\'} = \'opac\';^Jif ( C4::Context->preference(\'OpacHiddenItemsExceptions\') ) {^J $search_context->{patron} = $patron;^J}^J^Jmy $variables = { anonymous_session => ($borrowernumber) ? 0 : 1 };^J^Jmy @plugin_responses = Koha::Plugins->call(^J \'opac_results_xslt_variables\',^J {^J lang => $lang,^J patron_id => $borrowernumber^J }^J);^Jfor my $plugin_variables (@plugin_responses) {^J $variables = { %$variables, %$plugin_variables };^J}^J^Jfor ( my $i = 0 ; $i < @servers ; $i++ ) {^J my $server = $servers[$i];^J if ( $server && $server =~ /biblioserver/ ) { # this is the local bibliographic server^J $hits = $results_hashref->{$server}->{"hits"} // 0;^J if ( $hits == 0 && $basic_search ) {^J $operands[0] = \'"\' . $operands[0] . \'"\'; #quote it^J ## I. BUILD THE QUERY^J ( $error, $query, $simple_query, $query_cgi, $query_desc, $limit, $limit_cgi, $limit_desc, $query_type ) =^J $builder->build_query_compat(^J \@operators,^J \@operands,^J \@indexes,^J \@limits,^J \@sort_by,^J 0,^J $lang,^J {^J suppress => $suppress,^J is_opac => 1,^J weighted_fields => $weight_search,^J weight_search_submitted => $cgi->param(\'weight_search_submitted\')^J }^J );^J my $quoted_results_hashref;^J my $itemtypes_nocategory =^J { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search_with_localization->unblessed } };^J eval {^J ( $error, $quoted_results_hashref, $facets ) = $searcher->search_compat(^J $query, $simple_query, \@sort_by, \@servers, $results_per_page, $offset,^J undef, $itemtypes_nocategory, $query_type, $scan, 1^J );^J };^J my $quoted_hits = $quoted_results_hashref->{$server}->{"hits"} // 0;^J if ($quoted_hits) {^J $results_hashref->{\'biblioserver\'} = $quoted_results_hashref->{\'biblioserver\'};^J $hits = $quoted_hits;^J }^J }^J my $page = $cgi->param(\'page\') || 0;^J my @newresults = searchResults(^J $search_context, $query_desc, $hits, $results_per_page, $offset, $scan,^J $results_hashref->{$server}->{"RECORDS"}, $variables^J );^J $hits = 0 unless @newresults;^J^J my $art_req_itypes;^J if ( C4::Context->preference(\'ArticleRequests\') ) {^J $art_req_itypes = Koha::CirculationRules->guess_article_requestable_itemtypes(^J { $patron ? ( categorycode => $patron->categorycode ) : () } );^J }^J^J foreach my $res (@newresults) {^J^J # must define a value for size if not present in DB^J # in order to avoid problems generated by the default size value in TT^J if ( not exists $res->{\'size\'} ) { $res->{\'size\'} = "" }^J^J # while we\'re checking each line, see if item is in the cart^J if ( grep { $_ eq $res->{\'biblionumber\'} } @cart_list ) {^J $res->{\'incart\'} = 1;^J }^J^J if ( C4::Context->preference("Babeltheque") and $res->{normalized_isbn} ) {^J if ( my $isbn = Business::ISBN->new( $res->{normalized_isbn} ) ) {^J $isbn = $isbn->as_isbn13->as_string;^J $isbn =~ s/-//g;^J my $social_datas = C4::SocialData::get_data($isbn);^J if ($social_datas) {^J for my $key ( keys %$social_datas ) {^J $res->{$key} = $$social_datas{$key};^J if ( $key eq \'score_avg\' ) {^J $res->{score_int} = sprintf( "%.0f", $$social_datas{score_avg} );^J }^J }^J }^J }^J }^J^J if ( C4::Context->preference(\'TagsEnabled\')^J and C4::Context->preference(\'TagsShowOnList\') )^J {^J if ( my $bibnum = $res->{biblionumber} ) {^J $res->{itemsissued} = CountItemsIssued($bibnum);^J $res->{\'TagLoop\'} = get_tags(^J {^J biblionumber => $bibnum,^J approved => 1,^J sort => \'-weight\',^J limit => C4::Context->preference(\'TagsShowOnList\')^J }^J );^J }^J }^J^J $res->{shelves} = Koha::Virtualshelves->get_shelves_containing_record(^J {^J biblionumber => $res->{biblionumber},^J borrowernumber => $borrowernumber^J }^J );^J^J if ( C4::Context->preference(\'OpacStarRatings\') eq \'all\' ) {^J my $ratings = Koha::Ratings->search( { biblionumber => $res->{biblionumber} } );^J $res->{ratings} = $ratings;^J $res->{my_rating} =^J $borrowernumber ? $ratings->search( { borrowernumber => $borrowernumber } )->next : undef;^J }^J^J # BZ17530: \'Intelligent\' guess if result can be article requested^J $res->{artreqpossible} =^J ( $art_req_itypes->{ $res->{itemtype} // q{} } || $art_req_itypes->{\'*\'} ) ? 1 : q{};^J^J if ( C4::Context->preference(\'OPACLocalCoverImages\') ) {^J $res->{has_local_cover_image} = $res->{biblio_object} ? $res->{biblio_object}->cover_images->count : 0;^J }^J }^J^J if ( $results_hashref->{$server}->{"hits"} ) {^J $total = $total + $hits;^J }^J^J # Opac search history^J if ( C4::Context->preference(\'EnableOpacSearchHistory\') ) {^J unless ($offset) {^J my $path_info = $cgi->url( -path_info => 1 );^J my $query_cgi_history = $cgi->url( -query => 1 );^J $query_cgi_history =~ s/^$path_info\?//;^J $query_cgi_history =~ s/;/&/g;^J my $query_desc_history = join ", ", grep { defined $_ } $query_desc, $limit_desc;^J^J if ( $borrowernumber and $cgi->cookie("CGISESSID") ) {^J^J # To the session (the user is logged in)^J C4::Search::History::add(^J {^J userid => $borrowernumber,^J sessionid => $cgi->cookie("CGISESSID"),^J query_desc => $query_desc_history,^J query_cgi => $query_cgi_history,^J total => $total,^J type => "biblio",^J }^J );^J } else {^J my $new_searches = C4::Search::History::add_to_session(^J {^J cgi => $cgi,^J query_desc => $query_desc_history,^J query_cgi => $query_cgi_history,^J total => $total,^J type => "biblio",^J }^J );^J }^J }^J $template->param( EnableOpacSearchHistory => 1 );^J }^J^J ## If there\'s just one result, redirect to the detail page^J if ( $total == 1^J && $format ne \'rss\'^J && $format ne \'opensearchdescription\'^J && $format ne \'atom\'^J && C4::Context->preference(\'RedirectToSoleResult\') )^J {^J my $biblionumber = $newresults[0]->{biblionumber};^J if ( C4::Context->preference(\'BiblioDefaultView\') eq \'isbd\' ) {^J print $cgi->redirect("/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=$biblionumber");^J } elsif ( C4::Context->preference(\'BiblioDefaultView\') eq \'marc\' ) {^J print $cgi->redirect("/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=$biblionumber");^J } else {^J print $cgi->redirect("/cgi-bin/koha/opac-detail.pl?biblionumber=$biblionumber");^J }^J exit;^J }^J if ($hits) {^J^J # We build the encrypted list of first OPACnumSearchResults biblios to pass with the search criteria for paging on opac-detail^J $pasarParams .= \'&listBiblios=\';^J my $j = 0;^J foreach (@newresults) {^J my $bibnum = ( $_->{biblionumber} ) ? $_->{biblionumber} : 0;^J $pasarParams .= uri_escape_utf8($bibnum) . \',\';^J $j++;^J last if ( $j == $results_per_page );^J }^J chop $pasarParams if ( $pasarParams =~ /,$/ );^J $pasarParams .= \'&total=\' . uri_escape_utf8( int($total) ) if ( $pasarParams !~ /total=(?:[0-9]+)?/ );^J if ($pasarParams) {^J my $session = get_session( $cgi->cookie("CGISESSID") );^J $session->param( \'busc\' => $pasarParams );^J }^J $template->param( total => $hits );^J my $limit_cgi_not_availablity = $limit_cgi;^J $limit_cgi_not_availablity =~ s/&limit=available//g if defined $limit_cgi_not_availablity;^J $template->param( limit_cgi_not_availablity => $limit_cgi_not_availablity );^J $template->param( limit_cgi => $limit_cgi );^J $template->param( countrss => $countRSS );^J $template->param( query_cgi => $query_cgi );^J $template->param( query_desc => $query_desc );^J $template->param( limit_desc => $limit_desc );^J $template->param( offset => $offset );^J^J if ( $query_desc || $limit_desc ) {^J $template->param( searchdesc => 1 );^J }^J $template->param( results_per_page => $results_per_page );^J my $hide = keys %$hidingrules ? 1 : 0;^J^J $template->param(^J SEARCH_RESULTS => \@newresults,^J suppress_result_number => $hide,^J );^J if ( C4::Context->preference("OPACLocalCoverImages") ) {^J $template->param( OPACLocalCoverImages => 1 );^J }^J ## Build the page numbers on the bottom of the page^J my (^J $page_numbers, $hits_to_paginate, $pages, $current_page_number, $previous_page_offset,^J $next_page_offset, $last_page_offset^J )^J = Koha::SearchEngine::Search->pagination_bar(^J {^J hits => $hits,^J max_result_window => $searcher->max_result_window,^J results_per_page => $results_per_page,^J offset => $offset,^J sort_by => \@sort_by^J }^J );^J $template->param(^J hits_to_paginate => $hits_to_paginate,^J current_page_number => $current_page_number,^J pages => $pages^J );^J $template->param(^J PAGE_NUMBERS => $page_numbers,^J last_page_offset => $last_page_offset,^J previous_page_offset => $previous_page_offset^J ) unless $pages < 2;^J $template->param( next_page_offset => $next_page_offset ) unless $pages eq $current_page_number;^J }^J^J # no hits^J else {^J my $nohits = C4::Context->preference(\'OPACNoResultsFound\');^J if ( $nohits and $nohits =~ /{QUERY_KW}/ ) {^J^J # extracting keywords in case of relaunching search^J ( my $query_kw = $query_desc ) =~ s/ and|or / /g;^J my @query_kw = ( $query_kw =~ /([-\w]+\b)(?:[^:]|$)/g );^J $query_kw = join( \'+\', @query_kw );^J $nohits =~ s/{QUERY_KW}/$query_kw/g;^J $template->param( \'OPACNoResultsFound\' => $nohits );^J }^J $template->param(^J searchdesc => 1,^J query_desc => $query_desc,^J limit_desc => $limit_desc,^J query_cgi => $query_cgi,^J limit_cgi => $limit_cgi^J );^J }^J } # end of the if local^J # asynchronously search the authority server^J elsif ( $server && $server =~ /authorityserver/ ) { # this is the local authority server^J my @inner_sup_results_array;^J for my $sup_record ( @{ $results_hashref->{$server}->{"RECORDS"} } ) {^J my $marc_record_object = MARC::Record->new_from_usmarc($sup_record);^J my $title_field = $marc_record_object->field(100);^J push @inner_sup_results_array, {^J \'title\' => $title_field->subfield(\'a\'),^J \'link\' => "&idx=an&q=" . $marc_record_object->field(\'001\')->as_string(),^J };^J }^J my $servername = $server;^J push @sup_results_array, {^J servername => $servername,^J inner_sup_results_loop => \@inner_sup_results_array^J } if @inner_sup_results_array;^J }^J^J # FIXME: can add support for other targets as needed here^J $template->param( outer_sup_results_loop => \@sup_results_array );^J} #/end of the for loop^J^Jfor my $facet (@$facets) {^J for my $entry ( @{ $facet->{facets} } ) {^J my $index = $entry->{type_link_value};^J my $value = $entry->{facet_link_value};^J $entry->{active} = grep { $_->{input_value} eq qq{$index:$value} } @limit_inputs;^J }^J}^J^Jmy @search_filters = Koha::SearchFilters->search( { opac => 1 }, { order_by => "name" } )->as_list;^Jmy %active_filters;^Jforeach my $sf (@search_filters) {^J $active_filters{ $sf->id } = 1 if grep { "search_filter:" . $sf->id eq $_->{input_value} } @limit_inputs;^J}^J$template->param(^J search_filters => \@search_filters,^J active_filters => \%active_filters,^J) if C4::Context->preference(\'SavedSearchFilters\');^J^J$template->param(^J^J #classlist => $classlist,^J total => $total,^J opacfacets => 1,^J facets_loop => $facets,^J displayFacetCount => C4::Context->preference(\'displayFacetCount\') || 0,^J scan => $scan,^J search_error => $error,^J);^J^Jif ( $query_desc || $limit_desc ) {^J $template->param( searchdesc => 1 );^J}^J^J# VI. BUILD THE TEMPLATE^Jmy $some_private_shelves = Koha::Virtualshelves->get_some_shelves(^J {^J borrowernumber => $borrowernumber,^J add_allowed => 1,^J public => 0,^J }^J);^Jmy $some_public_shelves = Koha::Virtualshelves->get_some_shelves(^J {^J borrowernumber => $borrowernumber,^J add_allowed => 1,^J public => 1,^J }^J);^J^J$template->param(^J add_to_some_private_shelves => $some_private_shelves,^J add_to_some_public_shelves => $some_public_shelves,^J);^J^Jmy $content_type = ( $format eq \'rss\' or $format eq \'atom\' or $format eq \'opensearchdescription\' ) ? $format : \'html\';^J^J$template->{VARS}->{DidYouMean} =^J ( defined C4::Context->preference(\'OPACdidyoumean\') && C4::Context->preference(\'OPACdidyoumean\') =~ m/enable/ );^J^Jif ( $offset == 0 ) {^J $template->param( firstPage => 1 );^J}^J^J$template->param( borrowernumber => $borrowernumber );^Joutput_with_http_headers $cgi, $cookie, $template->output, $content_type;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-search.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bc0efc40)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bc0efc40)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc0f5298)', '/kohadevbox/koha/opac/opac-search.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f5298)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bc0e05c8)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f5298)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc125370)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc0ba4f0)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bc0c4e40)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bc118658)', 'Try::Tiny::Catch=REF(0x55f3bc085cd0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bc1110c8)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bc115270)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb5cd808)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f5298)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc0e09d0)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f5298)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bc152f28)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f5298)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bc10d640)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc153318)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bc110ee8)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36a8)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c36f0)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a9fb0)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb9afe50)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bc0f5298)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bc1747f8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943099: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bbfd89b8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dcourse_2ddetails_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-course-details.pl^J#!/usr/bin/perl^J^J#^J# Copyright 2012 Bywater Solutions^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^J^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_html_with_http_headers );^J^Juse C4::CourseReserves qw( GetCourse GetCourseReserve GetCourseReserves );^J^Jmy $cgi = CGI->new;^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-course-details.tt",^J query => $cgi,^J type => "opac",^J authnotrequired => 1,^J }^J);^J^Jmy $course_id = $cgi->param(\'course_id\');^J^Jdie("No course_id given") unless ($course_id);^J^Jmy $course = GetCourse($course_id);^Jmy $course_reserves = GetCourseReserves( course_id => $course_id, include_items => 1, include_count => 1 );^J^J$template->param(^J course => $course,^J course_reserves => $course_reserves,^J);^J^Joutput_html_with_http_headers $cgi, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-course-details.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bbd991f0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bbd991f0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbf1d930)', '/kohadevbox/koha/opac/opac-course-details.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf1d930)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bbebf490)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf1d930)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc049df8)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc049af8)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bbe92900)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bbdfc6d8)', 'Try::Tiny::Catch=REF(0x55f3bc06cfb8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bbf7b298)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bbf82f30)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb97e128)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf1d930)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc04f9e0)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf1d930)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bbe5e220)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf1d930)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bbf83188)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc051c88)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bbf7b868)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36c0)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c3708)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a5950)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb997600)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bbf1d930)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bbe52c00)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943098: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bc175248)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bc089ab0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bc089ab0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc0dcdb0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dcdb0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bc0e05c8)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dcdb0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc125370)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc0ba4f0)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bc0c4e40)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bc146b88)', 'Try::Tiny::Catch=REF(0x55f3bc090748)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bc1110c8)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bc115270)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb5cd808)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dcdb0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc0e09d0)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dcdb0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bc152f28)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dcdb0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bc10d640)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc153318)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bc110ee8)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36a8)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c36f0)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a9fb0)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb9afe50)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bc0dcdb0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bc0b73e0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943099: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bbdfc708)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bbff05b8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bbff05b8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbfede40)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbfede40)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bbebf490)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbfede40)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc049df8)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc049af8)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bbe92900)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bbe52b70)', 'Try::Tiny::Catch=REF(0x55f3bbdabc88)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bbf7b298)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bbf82f30)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb97e128)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbfede40)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc04f9e0)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbfede40)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bbe5e220)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbfede40)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bbf83188)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc051c88)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bbf7b868)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36c0)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c3708)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a5950)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbfede40)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb997600)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bbfede40)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bbf65970)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943098: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bc174828)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bc160420)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bc160420)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc0dd050)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dd050)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bc0e05c8)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dd050)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc125370)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc0ba4f0)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bc0c4e40)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bc0d5558)', 'Try::Tiny::Catch=REF(0x55f3bc12fd98)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bc1110c8)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bc115270)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb5cd808)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dd050)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc0e09d0)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dd050)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bc152f28)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dd050)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bc10d640)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc153318)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bc110ee8)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36a8)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c36f0)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a9fb0)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb9afe50)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bc0dd050)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bc12fc00)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943099: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bc02bb58)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bbdab2e0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bbdab2e0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbdf8a10)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdf8a10)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bbebf490)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdf8a10)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc049df8)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc049af8)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bbe92900)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bbd95d30)', 'Try::Tiny::Catch=REF(0x55f3bbdba568)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bbf7b298)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55f3bbdab730)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55f3bc023fb0)', 'ARRAY(0x55f3bbdab730)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55f3bbdab730)', 'CODE(0x55f3bc023fb0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55f3bbf82f30)', 'ARRAY(0x55f3bbdab730)', 'CODE(0x55f3bc023fb0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bbf82f30)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb97e128)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdf8a10)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc04f9e0)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdf8a10)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bbe5e220)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdf8a10)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bbf83188)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc051c88)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bbf7b868)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36c0)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c3708)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a5950)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb997600)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bbdf8a10)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bbdfbdf0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943098: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bc0d4b38)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bc133220)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bc133220)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc12b788)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc12b788)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bc0e05c8)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc12b788)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc125370)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc0ba4f0)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bc0c4e40)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bc0e8bf0)', 'Try::Tiny::Catch=REF(0x55f3bc0cde30)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bc1110c8)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55f3bc07cb90)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55f3bc1499a0)', 'ARRAY(0x55f3bc07cb90)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55f3bc07cb90)', 'CODE(0x55f3bc1499a0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55f3bc115270)', 'ARRAY(0x55f3bc07cb90)', 'CODE(0x55f3bc1499a0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bc115270)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb5cd808)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc12b788)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc0e09d0)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc12b788)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bc152f28)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc12b788)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bc10d640)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc153318)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bc110ee8)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36a8)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c36f0)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a9fb0)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc12b788)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb9afe50)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bc12b788)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bc149ac0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943099: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bbeb3e10)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bbf1dfc0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bbf1dfc0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbd98db8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b13555e0)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd98db8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bbebf490)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd98db8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc049df8)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc049af8)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bbe92900)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bbd99850)', 'Try::Tiny::Catch=REF(0x55f3bbeb4170)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bbf7b298)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55f3bbd998b0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55f3bbf508c8)', 'ARRAY(0x55f3bbd998b0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55f3bbd998b0)', 'CODE(0x55f3bbf508c8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55f3bbf82f30)', 'ARRAY(0x55f3bbd998b0)', 'CODE(0x55f3bbf508c8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bbf82f30)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb97e128)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd98db8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc04f9e0)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd98db8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bbe5e220)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd98db8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bbf83188)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc051c88)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bbf7b868)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36c0)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c3708)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a5950)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb997600)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bbd98db8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bbef9b68)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1943098: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3bc0ecd00)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f3bc120130)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f3bc120130)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc0f4ef0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f3b134d348)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f4ef0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f3bc0e05c8)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f4ef0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f3bc125370)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f3bc0ba4f0)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f3bc0c4e40)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f3bc0e9628)', 'Try::Tiny::Catch=REF(0x55f3bc1468d0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f3bc1110c8)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55f3bc12bed8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55f3bc0a31f0)', 'ARRAY(0x55f3bc12bed8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55f3bc12bed8)', 'CODE(0x55f3bc0a31f0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55f3bc115270)', 'ARRAY(0x55f3bc12bed8)', 'CODE(0x55f3bc0a31f0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f3bc115270)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f3bb5cd808)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f4ef0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f3bc0e09d0)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f4ef0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f3bc152f28)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f4ef0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f3bc10d640)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f3bc153318)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f3bc110ee8)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f3b05c36a8)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f3b05c36f0)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f3bb9a9fb0)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f3bb9afe50)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f3aff384c0)', 'HASH(0x55f3bc0f4ef0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f3aff384c0)', 'Net::Server::Proto::UNIX=GLOB(0x55f3bc09ff50)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f3aff384c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f3aff384c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'port', 'ARRAY(0x55f3b055e550)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f3aff384c0)', 'CODE(0x55f3aff38370)', 'HASH(0x55f3affb03e0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f3aff38388)', 'CODE(0x55f3aff38370)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f3afd770d0)', 'Plack::Handler::Starman=HASH(0x55f3aff38388)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f3afb241e0)') called at /bin/starman line 38 2026/08/06-09:44:31 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-09:44:32 Worker processes cleaned up 2026/08/06-09:44:32 Server closing! Process Backgrounded 2026/08/06-09:44:36 Starman::Server (type Net::Server::PreFork) starting! pid(1968656) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_1968663: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f40b13eba0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dauthorities_2dhome_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-authorities-home.pl^J#!/usr/bin/perl^J^J# Copyright 2000-2002 Katipo Communications^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse URI::Escape qw( uri_escape_utf8 );^Juse Array::Utils qw(intersect);^J^Juse C4::Auth qw( get_template_and_user );^J^Juse C4::Context;^Juse C4::Output qw( pagination_bar output_html_with_http_headers );^Juse C4::Koha;^Juse C4::Search::History;^Juse C4::Languages;^Juse Koha::XSLT::Base;^J^Juse Koha::Authority::Types;^Juse Koha::SearchEngine::Search;^Juse Koha::SearchEngine::QueryBuilder;^J^Jmy $query = CGI->new;^Jmy $op = $query->param(\'op\') || \'\';^Jmy $authtypecode = $query->param(\'authtypecode\') || \'\';^Jmy $dbh = C4::Context->dbh;^J^Jmy $startfrom = $query->param(\'startfrom\') || 1;^Jmy $resultsperpage = $query->param(\'resultsperpage\') || 20;^Jmy $authid = $query->param(\'authid\');^Jmy ( $template, $loggedinuser, $cookie );^J^Jmy $authority_types = Koha::Authority::Types->search( {}, { order_by => [\'authtypetext\'] } );^J^Jif ( $op eq "do_search" ) {^J my @input_marclist = $query->multi_param(\'marclist\');^J my @and_or = $query->multi_param(\'and_or\');^J my @excluding = $query->multi_param(\'excluding\');^J my @operator = $query->multi_param(\'operator\');^J my $orderby = $query->param(\'orderby\');^J my @value = $query->multi_param(\'value\');^J $value[0] ||= q||;^J^J # validation of "Where"^J my @valid_marc_list = qw( all match mainentry );^J my @marclist = intersect( @input_marclist, @valid_marc_list );^J @marclist = (\'all\') unless @marclist;^J^J my $builder = Koha::SearchEngine::QueryBuilder->new( { index => $Koha::SearchEngine::AUTHORITIES_INDEX } );^J my $searcher = Koha::SearchEngine::Search->new( { index => $Koha::SearchEngine::AUTHORITIES_INDEX } );^J my $search_query = $builder->build_authorities_query_compat(^J \@marclist, \@and_or,^J \@excluding, \@operator, \@value, $authtypecode, $orderby^J );^J my $offset = ( $startfrom - 1 ) * $resultsperpage + 1;^J my ( $results, $total ) = $searcher->search_auth_compat( $search_query, $offset, $resultsperpage );^J ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "opac-authoritiessearchresultlist.tt",^J query => $query,^J type => \'opac\',^J authnotrequired => 1,^J }^J );^J $template->param( search_query => $search_query ) if C4::Context->preference(\'DumpSearchQueryTemplate\');^J^J # multi page display gestion^J my $value_url = uri_escape_utf8( $value[0] );^J my $base_url =^J "opac-authorities-home.pl?"^J . "marclist=$marclist[0]"^J . "&and_or=$and_or[0]"^J . "&excluding=$excluding[0]"^J . "&operator=$operator[0]"^J . "&value=$value_url"^J . "&resultsperpage=$resultsperpage"^J . "&type=opac"^J . "&op=do_search"^J . "&authtypecode=$authtypecode"^J . "&orderby=$orderby";^J^J my $from = ( $startfrom - 1 ) * $resultsperpage + 1;^J my $to;^J if ( !defined $total ) {^J $total = 0;^J }^J^J if ( $total < $startfrom * $resultsperpage ) {^J $to = $total;^J } else {^J $to = $startfrom * $resultsperpage;^J }^J^J my $AuthorityXSLTOpacResultsDisplay = C4::Context->preference(\'AuthorityXSLTOpacResultsDisplay\');^J if ( $results && $AuthorityXSLTOpacResultsDisplay ) {^J my $lang = C4::Languages::getlanguage();^J foreach my $result (@$results) {^J my $authority = Koha::Authorities->find( $result->{authid} );^J next unless $authority;^J my $authtypecode = $authority->authtypecode;^J my $xsl = $AuthorityXSLTOpacResultsDisplay;^J^J $xsl =~ s/\{langcode\}/$lang/g;^J $xsl =~ s/\{authtypecode\}/$authtypecode/g;^J my $xslt_engine = Koha::XSLT::Base->new;^J my $output = $xslt_engine->transform( { xml => $authority->marcxml, file => $xsl } );^J if ( $xslt_engine->err ) {^J warn "XSL transformation failed ($xsl): " . $xslt_engine->err;^J next;^J }^J $result->{html} = $output;^J }^J }^J^J $template->param(^J pagination_bar => pagination_bar(^J $base_url, int( $total / $resultsperpage ) + 1,^J $startfrom, \'startfrom\'^J ),^J total => $total,^J from => $from,^J to => $to,^J );^J^J unless ( C4::Context->preference(\'OPACShowUnusedAuthorities\') ) {^J^J # TODO implement usage counts in the indexes to filter during searching^J my @usedauths = grep { $_->{used} > 0 } @$results;^J $results = \@usedauths;^J }^J^J $template->param( result => $results ) if $results;^J^J # Opac search history^J if ( C4::Context->preference(\'EnableOpacSearchHistory\') ) {^J if ( $startfrom == 1 ) {^J my $path_info = $query->url( -path_info => 1 );^J my $query_cgi_history = $query->url( -query => 1 );^J $query_cgi_history =~ s/^$path_info\?//;^J $query_cgi_history =~ s/;/&/g;^J^J unless ($loggedinuser) {^J my $new_search = C4::Search::History::add_to_session(^J {^J cgi => $query,^J query_desc => $value[0],^J query_cgi => $query_cgi_history,^J total => $total,^J type => "authority",^J }^J );^J } else {^J^J # To the session (the user is logged in)^J C4::Search::History::add(^J {^J userid => $loggedinuser,^J sessionid => $query->cookie("CGISESSID"),^J query_desc => $value[0],^J query_cgi => $query_cgi_history,^J total => $total,^J type => "authority",^J }^J );^J }^J }^J }^J^J $template->param( orderby => $orderby );^J $template->param(^J startfrom => $startfrom,^J resultsperpage => $resultsperpage,^J countfuzzy => !( C4::Context->preference(\'OPACShowUnusedAuthorities\') ),^J resultcount => scalar @$results,^J authtypecode => $authtypecode,^J authtypetext => $authority_types->find($authtypecode)->authtypetext,^J isEDITORS => $authtypecode eq \'EDITORS\',^J );^J^J} else {^J ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "opac-authorities-home.tt",^J query => $query,^J type => \'opac\',^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J );^J^J}^J^J$template->param(^J authority_types => $authority_types,^J authtypecode => $authtypecode,^J);^J^J# Print the page^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-authorities-home.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f416b021c8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f416b021c8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f40be35fe0)', 'HASH(0x55f416a4ec68)', '/kohadevbox/koha/opac/opac-authorities-home.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f40be35fe0)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f416a4ec68)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f416901830)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f416a4ec68)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f416a4f178)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f416a91030)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f416a9d048)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f41685e438)', 'Try::Tiny::Catch=REF(0x55f4169b31b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f416927108)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f41689bd30)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f40dd6e690)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f416a4ec68)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f416901608)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f416a4ec68)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f416868b38)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f416a4ec68)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f4169ad5e0)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f4169afd00)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f416927ae0)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f40b09e700)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f40b09e748)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f41647f6e0)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f416a4ec68)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f41647f0b0)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f40aa15e90)', 'HASH(0x55f416a4ec68)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f40aa15e90)', 'Net::Server::Proto::UNIX=GLOB(0x55f4169b00d8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f40aa15e90)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f40aa15e90)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f40aa15e90)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f40aa15e90)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f40aa15e90)', 'port', 'ARRAY(0x55f40b0381a0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f40aa15e90)', 'CODE(0x55f40aa15d40)', 'HASH(0x55f40aa8d870)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f40aa15d58)', 'CODE(0x55f40aa15d40)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f40a854798)', 'Plack::Handler::Starman=HASH(0x55f40aa15d58)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f40a75cd38)') called at /bin/starman line 38 2026/08/06-10:05:52 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-10:05:52 Worker processes cleaned up 2026/08/06-10:05:52 Server closing! Process Backgrounded 2026/08/06-10:05:53 Starman::Server (type Net::Server::PreFork) starting! pid(1976977) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-10:23:37 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-10:23:37 Worker processes cleaned up 2026/08/06-10:23:37 Server closing! Process Backgrounded 2026/08/06-10:23:38 Starman::Server (type Net::Server::PreFork) starting! pid(1977842) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_1977844: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x563dc35521c8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x563dcefbc778)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x563dcefbc778)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x563dc42421c0)', 'HASH(0x563dcec7f630)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x563dc42421c0)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcec7f630)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x563dcefc8bc0)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcec7f630)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x563dcef8b9e8)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x563dcf0549a8)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x563dcefe76f0)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x563dcf073b28)', 'Try::Tiny::Catch=REF(0x563dcf0236e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x563dcefec090)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x563dcefcfce0)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x563dce968ba0)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcec7f630)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x563dcefdbb78)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcec7f630)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x563dcf051410)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcec7f630)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x563dcf05f018)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x563dcefe28d0)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x563dcefe2e28)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x563dc34b1568)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x563dc34b15b0)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x563dce8a84e0)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcec7f630)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x563dce895118)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x563dc2eb6a10)', 'HASH(0x563dcec7f630)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x563dc2eb6a10)', 'Net::Server::Proto::UNIX=GLOB(0x563dcefc35f8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x563dc2eb6a10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'port', 'ARRAY(0x563dc344b430)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'CODE(0x563dc2eb68c0)', 'HASH(0x563dc2e9e940)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x563dc2eb68d8)', 'CODE(0x563dc2eb68c0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x563dc2c65b60)', 'Plack::Handler::Starman=HASH(0x563dc2eb68d8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x563dc2b0f1e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1977846: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x563dc3552040)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x563dcefbb130)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x563dcefbb130)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x563dc424c520)', 'HASH(0x563dcfc2d750)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x563dc424c520)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcfc2d750)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x563dcefc7ff0)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcfc2d750)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x563dcf055c50)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x563dcf055e60)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x563dcefe9e10)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x563dcf072508)', 'Try::Tiny::Catch=REF(0x563dcf022288)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x563dcefeabf0)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x563dcefd1098)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x563dce87e4d8)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcfc2d750)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x563dcefddfd0)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcfc2d750)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x563dcef7f0b8)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcfc2d750)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x563dcef77350)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x563dcefc21c0)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x563dcefbde70)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x563dc34b1580)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x563dc34b15c8)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x563dce8a6208)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcfc2d750)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x563dce8a0d50)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x563dc2eb6a10)', 'HASH(0x563dcfc2d750)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x563dc2eb6a10)', 'Net::Server::Proto::UNIX=GLOB(0x563dcefc7150)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x563dc2eb6a10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'port', 'ARRAY(0x563dc344b430)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'CODE(0x563dc2eb68c0)', 'HASH(0x563dc2e9e940)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x563dc2eb68d8)', 'CODE(0x563dc2eb68c0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x563dc2c65b60)', 'Plack::Handler::Starman=HASH(0x563dc2eb68d8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x563dc2b0f1e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1977844: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x563dceffb308)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x563dcf06ee30)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x563dcf06ee30)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x563dc42421c0)', 'HASH(0x563dcef9a9c0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x563dc42421c0)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef9a9c0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x563dcefc8bc0)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef9a9c0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x563dcef8b9e8)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x563dcf0549a8)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x563dcefe76f0)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x563dcf01a208)', 'Try::Tiny::Catch=REF(0x563dcefe2438)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x563dcefec090)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x563dcef8c210)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x563dcf073a38)', 'ARRAY(0x563dcef8c210)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x563dcef8c210)', 'CODE(0x563dcf073a38)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x563dcefcfce0)', 'ARRAY(0x563dcef8c210)', 'CODE(0x563dcf073a38)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x563dcefcfce0)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x563dce968ba0)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef9a9c0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x563dcefdbb78)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef9a9c0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x563dcf051410)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef9a9c0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x563dcf05f018)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x563dcefe28d0)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x563dcefe2e28)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x563dc34b1568)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x563dc34b15b0)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x563dce8a84e0)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x563dce895118)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x563dc2eb6a10)', 'HASH(0x563dcef9a9c0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x563dc2eb6a10)', 'Net::Server::Proto::UNIX=GLOB(0x563dcef8e760)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x563dc2eb6a10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'port', 'ARRAY(0x563dc344b430)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'CODE(0x563dc2eb68c0)', 'HASH(0x563dc2e9e940)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x563dc2eb68d8)', 'CODE(0x563dc2eb68c0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x563dc2c65b60)', 'Plack::Handler::Starman=HASH(0x563dc2eb68d8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x563dc2b0f1e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1977846: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x563dceffa598)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x563dcf06d470)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x563dcf06d470)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x563dc424c520)', 'HASH(0x563dceffa490)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x563dc424c520)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dceffa490)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x563dcefc7ff0)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dceffa490)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x563dcf055c50)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x563dcf055e60)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x563dcefe9e10)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x563dcf01cdb0)', 'Try::Tiny::Catch=REF(0x563dcf058eb8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x563dcefeabf0)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x563dcf009bb8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x563dcf072418)', 'ARRAY(0x563dcf009bb8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x563dcf009bb8)', 'CODE(0x563dcf072418)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x563dcefd1098)', 'ARRAY(0x563dcf009bb8)', 'CODE(0x563dcf072418)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x563dcefd1098)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x563dce87e4d8)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dceffa490)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x563dcefddfd0)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dceffa490)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x563dcef7f0b8)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dceffa490)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x563dcef77350)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x563dcefc21c0)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x563dcefbde70)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x563dc34b1580)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x563dc34b15c8)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x563dce8a6208)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dceffa490)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x563dce8a0d50)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x563dc2eb6a10)', 'HASH(0x563dceffa490)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x563dc2eb6a10)', 'Net::Server::Proto::UNIX=GLOB(0x563dcefe1910)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x563dc2eb6a10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'port', 'ARRAY(0x563dc344b430)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'CODE(0x563dc2eb68c0)', 'HASH(0x563dc2e9e940)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x563dc2eb68d8)', 'CODE(0x563dc2eb68c0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x563dc2c65b60)', 'Plack::Handler::Starman=HASH(0x563dc2eb68d8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x563dc2b0f1e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1977844: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x563dcf005b68)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x563dcf005040)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x563dcf005040)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x563dc42421c0)', 'HASH(0x563dcf06a0c0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x563dc42421c0)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06a0c0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x563dcefc8bc0)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06a0c0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x563dcef8b9e8)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x563dcf0549a8)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x563dcefe76f0)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x563dcefe3020)', 'Try::Tiny::Catch=REF(0x563dcefef2b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x563dcefec090)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x563dcefcfce0)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x563dce968ba0)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06a0c0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x563dcefdbb78)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06a0c0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x563dcf051410)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06a0c0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x563dcf05f018)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x563dcefe28d0)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x563dcefe2e28)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x563dc34b1568)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x563dc34b15b0)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x563dce8a84e0)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x563dce895118)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x563dc2eb6a10)', 'HASH(0x563dcf06a0c0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x563dc2eb6a10)', 'Net::Server::Proto::UNIX=GLOB(0x563dcf00ad80)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x563dc2eb6a10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'port', 'ARRAY(0x563dc344b430)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'CODE(0x563dc2eb68c0)', 'HASH(0x563dc2e9e940)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x563dc2eb68d8)', 'CODE(0x563dc2eb68c0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x563dc2c65b60)', 'Plack::Handler::Starman=HASH(0x563dc2eb68d8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x563dc2b0f1e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1977846: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x563dcf00d6f8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x563dceffec00)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x563dceffec00)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x563dc424c520)', 'HASH(0x563dcf06db60)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x563dc424c520)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06db60)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x563dcefc7ff0)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06db60)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x563dcf055c50)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x563dcf055e60)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x563dcefe9e10)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x563dcefa9148)', 'Try::Tiny::Catch=REF(0x563dceff1538)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x563dcefeabf0)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x563dcefd1098)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x563dce87e4d8)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06db60)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x563dcefddfd0)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06db60)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x563dcef7f0b8)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06db60)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x563dcef77350)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x563dcefc21c0)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x563dcefbde70)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x563dc34b1580)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x563dc34b15c8)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x563dce8a6208)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf06db60)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x563dce8a0d50)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x563dc2eb6a10)', 'HASH(0x563dcf06db60)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x563dc2eb6a10)', 'Net::Server::Proto::UNIX=GLOB(0x563dcefbac08)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x563dc2eb6a10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'port', 'ARRAY(0x563dc344b430)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'CODE(0x563dc2eb68c0)', 'HASH(0x563dc2e9e940)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x563dc2eb68d8)', 'CODE(0x563dc2eb68c0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x563dc2c65b60)', 'Plack::Handler::Starman=HASH(0x563dc2eb68d8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x563dc2b0f1e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1977844: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x563dcf06ecf8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x563dcefdeff0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x563dcefdeff0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x563dc42421c0)', 'HASH(0x563dcf0053b8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x563dc42421c0)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf0053b8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x563dcefc8bc0)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf0053b8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x563dcef8b9e8)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x563dcf0549a8)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x563dcefe76f0)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x563dcf003268)', 'Try::Tiny::Catch=REF(0x563dcf005508)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x563dcefec090)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x563dcefcfce0)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x563dce968ba0)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf0053b8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x563dcefdbb78)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf0053b8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x563dcf051410)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf0053b8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x563dcf05f018)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x563dcefe28d0)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x563dcefe2e28)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x563dc34b1568)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x563dc34b15b0)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x563dce8a84e0)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf0053b8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x563dce895118)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x563dc2eb6a10)', 'HASH(0x563dcf0053b8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x563dc2eb6a10)', 'Net::Server::Proto::UNIX=GLOB(0x563dcef9a9c0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x563dc2eb6a10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'port', 'ARRAY(0x563dc344b430)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'CODE(0x563dc2eb68c0)', 'HASH(0x563dc2e9e940)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x563dc2eb68d8)', 'CODE(0x563dc2eb68c0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x563dc2c65b60)', 'Plack::Handler::Starman=HASH(0x563dc2eb68d8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x563dc2b0f1e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1977846: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x563dcf004c80)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x563dcef92810)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x563dcef92810)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x563dc424c520)', 'HASH(0x563dcf004410)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x563dc424c520)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf004410)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x563dcefc7ff0)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf004410)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x563dcf055c50)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x563dcf055e60)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x563dcefe9e10)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x563dcf0017d8)', 'Try::Tiny::Catch=REF(0x563dcf004f08)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x563dcefeabf0)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x563dcefd1098)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x563dce87e4d8)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf004410)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x563dcefddfd0)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf004410)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x563dcef7f0b8)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf004410)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x563dcef77350)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x563dcefc21c0)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x563dcefbde70)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x563dc34b1580)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x563dc34b15c8)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x563dce8a6208)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcf004410)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x563dce8a0d50)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x563dc2eb6a10)', 'HASH(0x563dcf004410)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x563dc2eb6a10)', 'Net::Server::Proto::UNIX=GLOB(0x563dceffa490)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x563dc2eb6a10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'port', 'ARRAY(0x563dc344b430)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'CODE(0x563dc2eb68c0)', 'HASH(0x563dc2e9e940)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x563dc2eb68d8)', 'CODE(0x563dc2eb68c0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x563dc2c65b60)', 'Plack::Handler::Starman=HASH(0x563dc2eb68d8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x563dc2b0f1e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1977844: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x563dcefa1510)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x563dcefdee58)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x563dcefdee58)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x563dc42421c0)', 'HASH(0x563dcef92e70)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x563dc42421c0)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef92e70)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x563dcefc8bc0)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef92e70)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x563dcef8b9e8)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x563dcf0549a8)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x563dcefe76f0)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x563dcf00b2f0)', 'Try::Tiny::Catch=REF(0x563dcef969b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x563dcefec090)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x563dcefcfce0)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x563dce968ba0)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef92e70)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x563dcefdbb78)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef92e70)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x563dcf051410)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef92e70)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x563dcf05f018)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x563dcefe28d0)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x563dcefe2e28)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x563dc34b1568)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x563dc34b15b0)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x563dce8a84e0)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef92e70)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x563dce895118)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x563dc2eb6a10)', 'HASH(0x563dcef92e70)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x563dc2eb6a10)', 'Net::Server::Proto::UNIX=GLOB(0x563dcf06a0c0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x563dc2eb6a10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'port', 'ARRAY(0x563dc344b430)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'CODE(0x563dc2eb68c0)', 'HASH(0x563dc2e9e940)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x563dc2eb68d8)', 'CODE(0x563dc2eb68c0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x563dc2c65b60)', 'Plack::Handler::Starman=HASH(0x563dc2eb68d8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x563dc2b0f1e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1977846: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x563dcefa10c8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x563dcef99a88)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x563dcef99a88)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x563dc424c520)', 'HASH(0x563dcef95358)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x563dc424c520)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef95358)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x563dcefc7ff0)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef95358)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x563dcf055c50)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x563dcf055e60)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x563dcefe9e10)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x563dcefb3520)', 'Try::Tiny::Catch=REF(0x563dcefa1578)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x563dcefeabf0)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x563dcefd1098)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x563dce87e4d8)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef95358)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x563dcefddfd0)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef95358)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x563dcef7f0b8)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef95358)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x563dcef77350)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x563dcefc21c0)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x563dcefbde70)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x563dc34b1580)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x563dc34b15c8)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x563dce8a6208)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef95358)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x563dce8a0d50)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x563dc2eb6a10)', 'HASH(0x563dcef95358)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x563dc2eb6a10)', 'Net::Server::Proto::UNIX=GLOB(0x563dcf06db60)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x563dc2eb6a10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'port', 'ARRAY(0x563dc344b430)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'CODE(0x563dc2eb68c0)', 'HASH(0x563dc2e9e940)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x563dc2eb68d8)', 'CODE(0x563dc2eb68c0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x563dc2c65b60)', 'Plack::Handler::Starman=HASH(0x563dc2eb68d8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x563dc2b0f1e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1977844: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x563dcefdbc08)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x563dcf03cf40)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x563dcf03cf40)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x563dc42421c0)', 'HASH(0x563dcef96698)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x563dc42421c0)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef96698)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x563dcefc8bc0)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef96698)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x563dcef8b9e8)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x563dcf0549a8)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x563dcefe76f0)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x563dcf0765f8)', 'Try::Tiny::Catch=REF(0x563dcefde990)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x563dcefec090)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x563dcefcfce0)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x563dce968ba0)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef96698)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x563dcefdbb78)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef96698)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x563dcf051410)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef96698)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x563dcf05f018)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x563dcefe28d0)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x563dcefe2e28)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x563dc34b1568)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x563dc34b15b0)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x563dce8a84e0)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcef96698)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x563dce895118)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x563dc2eb6a10)', 'HASH(0x563dcef96698)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x563dc2eb6a10)', 'Net::Server::Proto::UNIX=GLOB(0x563dcf0053b8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x563dc2eb6a10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'port', 'ARRAY(0x563dc344b430)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'CODE(0x563dc2eb68c0)', 'HASH(0x563dc2e9e940)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x563dc2eb68d8)', 'CODE(0x563dc2eb68c0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x563dc2c65b60)', 'Plack::Handler::Starman=HASH(0x563dc2eb68d8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x563dc2b0f1e0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_1977846: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x563dcef99f38)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x563dcf040338)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x563dcf040338)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x563dc424c520)', 'HASH(0x563dcefddeb0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x563dc424c520)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcefddeb0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x563dcefc7ff0)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcefddeb0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x563dcf055c50)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x563dcf055e60)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x563dcefe9e10)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x563dcef9a178)', 'Try::Tiny::Catch=REF(0x563dcef99e18)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x563dcefeabf0)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x563dcefd1098)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x563dce87e4d8)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcefddeb0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x563dcefddfd0)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcefddeb0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x563dcef7f0b8)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcefddeb0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x563dcef77350)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x563dcefc21c0)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x563dcefbde70)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x563dc34b1580)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x563dc34b15c8)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x563dce8a6208)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x563dcefddeb0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x563dce8a0d50)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x563dc2eb6a10)', 'HASH(0x563dcefddeb0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x563dc2eb6a10)', 'Net::Server::Proto::UNIX=GLOB(0x563dcf004410)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x563dc2eb6a10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x563dc2eb6a10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'port', 'ARRAY(0x563dc344b430)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x563dc2eb6a10)', 'CODE(0x563dc2eb68c0)', 'HASH(0x563dc2e9e940)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x563dc2eb68d8)', 'CODE(0x563dc2eb68c0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x563dc2c65b60)', 'Plack::Handler::Starman=HASH(0x563dc2eb68d8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x563dc2b0f1e0)') called at /bin/starman line 38 2026/08/06-10:47:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-10:47:24 Worker processes cleaned up 2026/08/06-10:47:24 Server closing! Process Backgrounded 2026/08/06-10:47:25 Starman::Server (type Net::Server::PreFork) starting! pid(1993373) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-10:54:52 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-10:54:52 Worker processes cleaned up 2026/08/06-10:54:52 Server closing! Process Backgrounded 2026/08/06-10:54:53 Starman::Server (type Net::Server::PreFork) starting! pid(1993931) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-11:29:41 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-11:29:41 Worker processes cleaned up 2026/08/06-11:29:41 Server closing! Process Backgrounded 2026/08/06-11:29:42 Starman::Server (type Net::Server::PreFork) starting! pid(1995048) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-12:56:07 Received QUIT. Running a graceful shutdown Sending children hup signal Child process 1995050 exited with status 0 - signal was 1 2026/08/06-12:56:07 Worker processes cleaned up 2026/08/06-12:56:07 Server closing! Process Backgrounded 2026/08/06-12:56:09 Starman::Server (type Net::Server::PreFork) starting! pid(2032447) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-13:17:13 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-13:17:13 Worker processes cleaned up 2026/08/06-13:17:13 Server closing! Process Backgrounded 2026/08/06-13:17:15 Starman::Server (type Net::Server::PreFork) starting! pid(2033583) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-14:21:46 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-14:21:46 Worker processes cleaned up 2026/08/06-14:21:46 Server closing! Process Backgrounded 2026/08/06-14:21:47 Starman::Server (type Net::Server::PreFork) starting! pid(2048918) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-15:13:41 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-15:13:41 Worker processes cleaned up 2026/08/06-15:13:41 Server closing! Process Backgrounded 2026/08/06-15:13:42 Starman::Server (type Net::Server::PreFork) starting! pid(2071262) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-15:41:00 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-15:41:00 Worker processes cleaned up 2026/08/06-15:41:00 Server closing! Process Backgrounded 2026/08/06-15:41:02 Starman::Server (type Net::Server::PreFork) starting! pid(2077306) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-16:08:11 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-16:08:11 Worker processes cleaned up 2026/08/06-16:08:11 Server closing! Process Backgrounded 2026/08/06-16:08:14 Starman::Server (type Net::Server::PreFork) starting! pid(2080665) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-16:10:16 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-16:10:16 Worker processes cleaned up 2026/08/06-16:10:16 Server closing! Process Backgrounded 2026/08/06-16:10:17 Starman::Server (type Net::Server::PreFork) starting! pid(2081176) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-16:26:01 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-16:26:01 Worker processes cleaned up 2026/08/06-16:26:01 Server closing! Process Backgrounded 2026/08/06-16:26:03 Starman::Server (type Net::Server::PreFork) starting! pid(2081773) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-16:52:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-16:52:24 Worker processes cleaned up 2026/08/06-16:52:24 Server closing! Process Backgrounded 2026/08/06-16:52:25 Starman::Server (type Net::Server::PreFork) starting! pid(2083001) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-17:48:04 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-17:48:04 Worker processes cleaned up 2026/08/06-17:48:04 Server closing! Process Backgrounded 2026/08/06-17:48:07 Starman::Server (type Net::Server::PreFork) starting! pid(2116720) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-18:03:11 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-18:03:13 Worker processes cleaned up 2026/08/06-18:03:13 Server closing! Process Backgrounded 2026/08/06-18:03:14 Starman::Server (type Net::Server::PreFork) starting! pid(2124726) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-18:10:19 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-18:10:19 Worker processes cleaned up 2026/08/06-18:10:19 Server closing! Process Backgrounded 2026/08/06-18:10:21 Starman::Server (type Net::Server::PreFork) starting! pid(2125435) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-18:37:44 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-18:37:44 Worker processes cleaned up 2026/08/06-18:37:44 Server closing! Process Backgrounded 2026/08/06-18:37:45 Starman::Server (type Net::Server::PreFork) starting! pid(2140489) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-18:59:23 Received QUIT. Running a graceful shutdown Sending children hup signal Child process 2140492 exited with status 0 - signal was 1 2026/08/06-18:59:23 Worker processes cleaned up 2026/08/06-18:59:23 Server closing! Process Backgrounded 2026/08/06-18:59:25 Starman::Server (type Net::Server::PreFork) starting! pid(2148999) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/06-19:14:26 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-19:14:27 Worker processes cleaned up 2026/08/06-19:14:27 Server closing! Process Backgrounded 2026/08/06-19:14:28 Starman::Server (type Net::Server::PreFork) starting! pid(2151151) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-19:19:12 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-19:19:12 Worker processes cleaned up 2026/08/06-19:19:12 Server closing! Process Backgrounded 2026/08/06-19:19:14 Starman::Server (type Net::Server::PreFork) starting! pid(2151687) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-19:48:15 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-19:48:16 Worker processes cleaned up 2026/08/06-19:48:16 Server closing! Process Backgrounded 2026/08/06-19:48:17 Starman::Server (type Net::Server::PreFork) starting! pid(2152573) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-20:20:50 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-20:20:50 Worker processes cleaned up 2026/08/06-20:20:50 Server closing! Process Backgrounded 2026/08/06-20:20:51 Starman::Server (type Net::Server::PreFork) starting! pid(2154192) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-20:20:53 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-20:20:53 Worker processes cleaned up 2026/08/06-20:20:53 Server closing! Process Backgrounded 2026/08/06-20:20:54 Starman::Server (type Net::Server::PreFork) starting! pid(2154542) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-20:31:41 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-20:31:41 Worker processes cleaned up 2026/08/06-20:31:41 Server closing! Process Backgrounded 2026/08/06-20:31:42 Starman::Server (type Net::Server::PreFork) starting! pid(2169629) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-21:08:54 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-21:08:54 Worker processes cleaned up 2026/08/06-21:08:54 Server closing! Process Backgrounded 2026/08/06-21:08:55 Starman::Server (type Net::Server::PreFork) starting! pid(2170659) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-21:14:25 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-21:14:25 Worker processes cleaned up 2026/08/06-21:14:25 Server closing! Process Backgrounded 2026/08/06-21:14:26 Starman::Server (type Net::Server::PreFork) starting! pid(2171240) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-21:36:44 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-21:36:44 Worker processes cleaned up 2026/08/06-21:36:44 Server closing! Process Backgrounded 2026/08/06-21:36:45 Starman::Server (type Net::Server::PreFork) starting! pid(2186840) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-22:23:27 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-22:23:28 Worker processes cleaned up 2026/08/06-22:23:28 Server closing! Process Backgrounded 2026/08/06-22:23:29 Starman::Server (type Net::Server::PreFork) starting! pid(2202161) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-22:59:25 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-22:59:25 Worker processes cleaned up 2026/08/06-22:59:25 Server closing! Process Backgrounded 2026/08/06-22:59:26 Starman::Server (type Net::Server::PreFork) starting! pid(2210213) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/06-23:04:18 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/06-23:04:18 Worker processes cleaned up 2026/08/06-23:04:18 Server closing! Process Backgrounded 2026/08/06-23:04:18 Starman::Server (type Net::Server::PreFork) starting! pid(2210978) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-01:31:06 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-01:31:06 Worker processes cleaned up 2026/08/07-01:31:06 Server closing! Process Backgrounded 2026/08/07-01:31:08 Starman::Server (type Net::Server::PreFork) starting! pid(2269994) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-01:35:13 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-01:35:13 Worker processes cleaned up 2026/08/07-01:35:13 Server closing! Process Backgrounded 2026/08/07-01:35:14 Starman::Server (type Net::Server::PreFork) starting! pid(2277860) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-01:44:03 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-01:44:03 Worker processes cleaned up 2026/08/07-01:44:03 Server closing! Process Backgrounded 2026/08/07-01:44:04 Starman::Server (type Net::Server::PreFork) starting! pid(2285887) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-01:48:36 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-01:48:37 Worker processes cleaned up 2026/08/07-01:48:37 Server closing! Process Backgrounded 2026/08/07-01:48:38 Starman::Server (type Net::Server::PreFork) starting! pid(2293737) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-01:54:34 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-01:54:34 Worker processes cleaned up 2026/08/07-01:54:34 Server closing! Process Backgrounded 2026/08/07-01:54:35 Starman::Server (type Net::Server::PreFork) starting! pid(2301530) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-02:07:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-02:07:24 Worker processes cleaned up 2026/08/07-02:07:24 Server closing! Process Backgrounded 2026/08/07-02:07:25 Starman::Server (type Net::Server::PreFork) starting! pid(2302523) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-02:12:37 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-02:12:37 Worker processes cleaned up 2026/08/07-02:12:37 Server closing! Process Backgrounded 2026/08/07-02:12:38 Starman::Server (type Net::Server::PreFork) starting! pid(2303407) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-03:03:54 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-03:03:54 Worker processes cleaned up 2026/08/07-03:03:54 Server closing! Process Backgrounded 2026/08/07-03:03:55 Starman::Server (type Net::Server::PreFork) starting! pid(2311602) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-03:31:03 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-03:31:03 Worker processes cleaned up 2026/08/07-03:31:03 Server closing! Process Backgrounded 2026/08/07-03:31:04 Starman::Server (type Net::Server::PreFork) starting! pid(2319456) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-03:35:32 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-03:35:32 Worker processes cleaned up 2026/08/07-03:35:32 Server closing! Process Backgrounded 2026/08/07-03:35:33 Starman::Server (type Net::Server::PreFork) starting! pid(2327298) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-03:45:52 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-03:45:52 Worker processes cleaned up 2026/08/07-03:45:52 Server closing! Process Backgrounded 2026/08/07-03:45:53 Starman::Server (type Net::Server::PreFork) starting! pid(2335470) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-03:57:16 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-03:57:16 Worker processes cleaned up 2026/08/07-03:57:16 Server closing! Process Backgrounded 2026/08/07-03:57:17 Starman::Server (type Net::Server::PreFork) starting! pid(2343594) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-04:00:15 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-04:00:15 Worker processes cleaned up 2026/08/07-04:00:15 Server closing! Process Backgrounded 2026/08/07-04:00:19 Starman::Server (type Net::Server::PreFork) starting! pid(2358042) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-04:09:38 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-04:09:38 Worker processes cleaned up 2026/08/07-04:09:38 Server closing! Process Backgrounded 2026/08/07-04:09:39 Starman::Server (type Net::Server::PreFork) starting! pid(2359175) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-05:19:51 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-05:19:51 Worker processes cleaned up 2026/08/07-05:19:51 Server closing! Process Backgrounded 2026/08/07-05:19:52 Starman::Server (type Net::Server::PreFork) starting! pid(2367976) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-05:19:52 Received QUIT. Running a graceful shutdown Sending children hup signal panic: fold_constants JMPENV_PUSH returned 2. Child process 2367978 exited with status 29 2026/08/07-05:19:52 Worker processes cleaned up 2026/08/07-05:19:52 Server closing! Process Backgrounded 2026/08/07-05:19:53 Starman::Server (type Net::Server::PreFork) starting! pid(2368322) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-05:27:54 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-05:27:55 Worker processes cleaned up 2026/08/07-05:27:55 Server closing! Process Backgrounded 2026/08/07-05:27:56 Starman::Server (type Net::Server::PreFork) starting! pid(2369082) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-05:38:54 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-05:38:54 Worker processes cleaned up 2026/08/07-05:38:54 Server closing! Process Backgrounded 2026/08/07-05:38:56 Starman::Server (type Net::Server::PreFork) starting! pid(2384103) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-06:11:43 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-06:11:43 Worker processes cleaned up 2026/08/07-06:11:43 Server closing! Process Backgrounded 2026/08/07-06:11:44 Starman::Server (type Net::Server::PreFork) starting! pid(2391987) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-07:08:41 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-07:08:41 Worker processes cleaned up 2026/08/07-07:08:41 Server closing! Process Backgrounded 2026/08/07-07:08:43 Starman::Server (type Net::Server::PreFork) starting! pid(2414715) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-09:05:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-09:05:48 Worker processes cleaned up 2026/08/07-09:05:48 Server closing! Process Backgrounded 2026/08/07-09:05:49 Starman::Server (type Net::Server::PreFork) starting! pid(2444735) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-09:56:06 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-09:56:06 Worker processes cleaned up 2026/08/07-09:56:06 Server closing! Process Backgrounded 2026/08/07-09:56:07 Starman::Server (type Net::Server::PreFork) starting! pid(2511152) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-09:57:18 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-09:57:18 Worker processes cleaned up 2026/08/07-09:57:18 Server closing! Process Backgrounded 2026/08/07-09:57:20 Starman::Server (type Net::Server::PreFork) starting! pid(2511805) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-10:07:14 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-10:07:14 Worker processes cleaned up 2026/08/07-10:07:14 Server closing! Process Backgrounded 2026/08/07-10:07:15 Starman::Server (type Net::Server::PreFork) starting! pid(2527058) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-10:07:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-10:07:24 Worker processes cleaned up 2026/08/07-10:07:24 Server closing! Process Backgrounded 2026/08/07-10:07:25 Starman::Server (type Net::Server::PreFork) starting! pid(2527556) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-10:54:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-10:54:17 Worker processes cleaned up 2026/08/07-10:54:17 Server closing! Process Backgrounded 2026/08/07-10:54:18 Starman::Server (type Net::Server::PreFork) starting! pid(2528787) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-11:40:14 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-11:40:14 Worker processes cleaned up 2026/08/07-11:40:14 Server closing! Process Backgrounded 2026/08/07-11:40:15 Starman::Server (type Net::Server::PreFork) starting! pid(2543914) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-11:54:57 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-11:54:58 Worker processes cleaned up 2026/08/07-11:54:58 Server closing! Process Backgrounded 2026/08/07-11:54:59 Starman::Server (type Net::Server::PreFork) starting! pid(2551946) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-12:01:52 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-12:01:52 Worker processes cleaned up 2026/08/07-12:01:52 Server closing! Process Backgrounded 2026/08/07-12:01:53 Starman::Server (type Net::Server::PreFork) starting! pid(2559922) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-13:02:11 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-13:02:11 Worker processes cleaned up 2026/08/07-13:02:11 Server closing! Process Backgrounded 2026/08/07-13:02:13 Starman::Server (type Net::Server::PreFork) starting! pid(2561515) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-13:15:29 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-13:15:29 Worker processes cleaned up 2026/08/07-13:15:29 Server closing! Process Backgrounded 2026/08/07-13:15:30 Starman::Server (type Net::Server::PreFork) starting! pid(2569525) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-13:20:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-13:20:28 Worker processes cleaned up 2026/08/07-13:20:28 Server closing! Process Backgrounded 2026/08/07-13:20:29 Starman::Server (type Net::Server::PreFork) starting! pid(2577228) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-13:32:46 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-13:32:46 Worker processes cleaned up 2026/08/07-13:32:46 Server closing! Process Backgrounded 2026/08/07-13:32:47 Starman::Server (type Net::Server::PreFork) starting! pid(2585213) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-13:37:39 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-13:37:39 Worker processes cleaned up 2026/08/07-13:37:39 Server closing! Process Backgrounded 2026/08/07-13:37:40 Starman::Server (type Net::Server::PreFork) starting! pid(2593020) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-13:39:36 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-13:39:36 Worker processes cleaned up 2026/08/07-13:39:36 Server closing! Process Backgrounded 2026/08/07-13:39:37 Starman::Server (type Net::Server::PreFork) starting! pid(2593610) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_2593611: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55d0c2af8008)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55d0ce2282c8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55d0ce2282c8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55d0c37eea48)', 'HASH(0x55d0c37f1480)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55d0c37eea48)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f1480)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55d0ce501050)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f1480)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55d0ce22c888)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55d0ce390aa0)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55d0ce399690)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55d0ce26c0f0)', 'Try::Tiny::Catch=REF(0x55d0ce268bc8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55d0ce3fe7c8)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55d0ce3b0808)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55d0c5725c20)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f1480)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55d0ce5012f0)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f1480)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55d0ce4056d8)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f1480)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55d0ce2413e0)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55d0ce2dc850)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55d0ce3f9dc0)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55d0c2a578d8)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55d0c2a57920)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55d0cde44a48)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f1480)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55d0cde44f28)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55d0c23cd130)', 'HASH(0x55d0c37f1480)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55d0c23cd130)', 'Net::Server::Proto::UNIX=GLOB(0x55d0ce2685f8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55d0c23cd130)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55d0c23cd130)', 'port', 'ARRAY(0x55d0c29f2380)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55d0c23cd130)', 'CODE(0x55d0c23ccfe0)', 'HASH(0x55d0c24462a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55d0c23ccff8)', 'CODE(0x55d0c23ccfe0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55d0c220d2e8)', 'Plack::Handler::Starman=HASH(0x55d0c23ccff8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55d0c2129408)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_2593612: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55d0c2af7e70)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55d0ce37e180)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55d0ce37e180)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55d0c37efb08)', 'HASH(0x55d0c37f2a88)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55d0c37efb08)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f2a88)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55d0ce399ca0)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f2a88)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55d0ce447408)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55d0ce2ac728)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55d0ce3b6160)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55d0ce4ed590)', 'Try::Tiny::Catch=REF(0x55d0ce2f6ea0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55d0ce268d58)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55d0ce45c878)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55d0ce2954f8)', 'ARRAY(0x55d0ce45c878)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55d0ce45c878)', 'CODE(0x55d0ce2954f8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55d0ce2be6c0)', 'ARRAY(0x55d0ce45c878)', 'CODE(0x55d0ce2954f8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55d0ce2be6c0)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55d0cdf09220)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f2a88)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55d0ce399f58)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f2a88)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55d0cde4ad48)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f2a88)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55d0ce2c3368)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55d0ce2292e0)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55d0ce26cfc0)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55d0c2a578f0)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55d0c2a57938)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55d0cde45250)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55d0cde4a520)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55d0c23cd130)', 'HASH(0x55d0c37f2a88)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55d0c23cd130)', 'Net::Server::Proto::UNIX=GLOB(0x55d0ce22dca0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55d0c23cd130)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55d0c23cd130)', 'port', 'ARRAY(0x55d0c29f2380)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55d0c23cd130)', 'CODE(0x55d0c23ccfe0)', 'HASH(0x55d0c24462a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55d0c23ccff8)', 'CODE(0x55d0c23ccfe0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55d0c220d2e8)', 'Plack::Handler::Starman=HASH(0x55d0c23ccff8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55d0c2129408)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_2593611: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55d0ce22c318)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55d0ce4d8e20)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55d0ce4d8e20)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55d0c37eea48)', 'HASH(0x55d0cde4fe40)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55d0c37eea48)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0cde4fe40)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55d0ce501050)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0cde4fe40)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55d0ce22c888)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55d0ce390aa0)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55d0ce399690)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55d0ce268778)', 'Try::Tiny::Catch=REF(0x55d0ce453d18)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55d0ce3fe7c8)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55d0ce4ecbc0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55d0ce26c048)', 'ARRAY(0x55d0ce4ecbc0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55d0ce4ecbc0)', 'CODE(0x55d0ce26c048)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55d0ce3b0808)', 'ARRAY(0x55d0ce4ecbc0)', 'CODE(0x55d0ce26c048)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55d0ce3b0808)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55d0c5725c20)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0cde4fe40)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55d0ce5012f0)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0cde4fe40)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55d0ce4056d8)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0cde4fe40)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55d0ce2413e0)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55d0ce2dc850)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55d0ce3f9dc0)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55d0c2a578d8)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55d0c2a57920)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55d0cde44a48)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55d0cde44f28)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55d0c23cd130)', 'HASH(0x55d0cde4fe40)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55d0c23cd130)', 'Net::Server::Proto::UNIX=GLOB(0x55d0ce26c540)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55d0c23cd130)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55d0c23cd130)', 'port', 'ARRAY(0x55d0c29f2380)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55d0c23cd130)', 'CODE(0x55d0c23ccfe0)', 'HASH(0x55d0c24462a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55d0c23ccff8)', 'CODE(0x55d0c23ccfe0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55d0c220d2e8)', 'Plack::Handler::Starman=HASH(0x55d0c23ccff8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55d0c2129408)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_2593612: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55d0ce4ab610)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55d0ce298760)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55d0ce298760)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55d0c37efb08)', 'HASH(0x55d0ce295390)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55d0c37efb08)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce295390)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55d0ce399ca0)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce295390)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55d0ce447408)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55d0ce2ac728)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55d0ce3b6160)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55d0ce403960)', 'Try::Tiny::Catch=REF(0x55d0ce406960)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55d0ce268d58)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55d0ce2be6c0)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55d0cdf09220)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce295390)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55d0ce399f58)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce295390)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55d0cde4ad48)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce295390)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55d0ce2c3368)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55d0ce2292e0)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55d0ce26cfc0)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55d0c2a578f0)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55d0c2a57938)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55d0cde45250)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce295390)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55d0cde4a520)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55d0c23cd130)', 'HASH(0x55d0ce295390)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55d0c23cd130)', 'Net::Server::Proto::UNIX=GLOB(0x55d0ce4f11f0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55d0c23cd130)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55d0c23cd130)', 'port', 'ARRAY(0x55d0c29f2380)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55d0c23cd130)', 'CODE(0x55d0c23ccfe0)', 'HASH(0x55d0c24462a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55d0c23ccff8)', 'CODE(0x55d0c23ccfe0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55d0c220d2e8)', 'Plack::Handler::Starman=HASH(0x55d0c23ccff8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55d0c2129408)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_2593611: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55d0ce3788b0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55d0ce2e0b38)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55d0ce2e0b38)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55d0c37eea48)', 'HASH(0x55d0ce4e8f40)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55d0c37eea48)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce4e8f40)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55d0ce501050)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce4e8f40)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55d0ce22c888)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55d0ce390aa0)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55d0ce399690)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55d0ce268580)', 'Try::Tiny::Catch=REF(0x55d0ce2beef8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55d0ce3fe7c8)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55d0ce3b0808)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55d0c5725c20)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce4e8f40)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55d0ce5012f0)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce4e8f40)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55d0ce4056d8)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce4e8f40)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55d0ce2413e0)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55d0ce2dc850)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55d0ce3f9dc0)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55d0c2a578d8)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55d0c2a57920)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55d0cde44a48)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55d0cde44f28)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55d0c23cd130)', 'HASH(0x55d0ce4e8f40)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55d0c23cd130)', 'Net::Server::Proto::UNIX=GLOB(0x55d0ce453fb8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55d0c23cd130)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55d0c23cd130)', 'port', 'ARRAY(0x55d0c29f2380)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55d0c23cd130)', 'CODE(0x55d0c23ccfe0)', 'HASH(0x55d0c24462a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55d0c23ccff8)', 'CODE(0x55d0c23ccfe0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55d0c220d2e8)', 'Plack::Handler::Starman=HASH(0x55d0c23ccff8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55d0c2129408)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_2593612: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55d0ce29b7b8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55d0ce438e40)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55d0ce438e40)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55d0c37efb08)', 'HASH(0x55d0ce2f9f68)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55d0c37efb08)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce2f9f68)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55d0ce399ca0)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce2f9f68)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55d0ce447408)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55d0ce2ac728)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55d0ce3b6160)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55d0ce2ac770)', 'Try::Tiny::Catch=REF(0x55d0ce385d30)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55d0ce268d58)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55d0ce2be6c0)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55d0cdf09220)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce2f9f68)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55d0ce399f58)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce2f9f68)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55d0cde4ad48)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce2f9f68)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55d0ce2c3368)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55d0ce2292e0)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55d0ce26cfc0)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55d0c2a578f0)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55d0c2a57938)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55d0cde45250)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55d0cde4a520)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55d0c23cd130)', 'HASH(0x55d0ce2f9f68)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55d0c23cd130)', 'Net::Server::Proto::UNIX=GLOB(0x55d0ce4edd28)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55d0c23cd130)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55d0c23cd130)', 'port', 'ARRAY(0x55d0c29f2380)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55d0c23cd130)', 'CODE(0x55d0c23ccfe0)', 'HASH(0x55d0c24462a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55d0c23ccff8)', 'CODE(0x55d0c23ccfe0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55d0c220d2e8)', 'Plack::Handler::Starman=HASH(0x55d0c23ccff8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55d0c2129408)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_2593611: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55d0ce2e4910)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55d0ce2c2138)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55d0ce2c2138)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55d0c37eea48)', 'HASH(0x55d0ce390770)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55d0c37eea48)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce390770)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55d0ce501050)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce390770)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55d0ce22c888)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55d0ce390aa0)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55d0ce399690)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55d0ce2e0ad8)', 'Try::Tiny::Catch=REF(0x55d0ce4d96f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55d0ce3fe7c8)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55d0ce3b0808)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55d0c5725c20)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce390770)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55d0ce5012f0)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce390770)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55d0ce4056d8)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce390770)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55d0ce2413e0)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55d0ce2dc850)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55d0ce3f9dc0)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55d0c2a578d8)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55d0c2a57920)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55d0cde44a48)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce390770)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55d0cde44f28)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55d0c23cd130)', 'HASH(0x55d0ce390770)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55d0c23cd130)', 'Net::Server::Proto::UNIX=GLOB(0x55d0ce375608)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55d0c23cd130)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55d0c23cd130)', 'port', 'ARRAY(0x55d0c29f2380)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55d0c23cd130)', 'CODE(0x55d0c23ccfe0)', 'HASH(0x55d0c24462a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55d0c23ccff8)', 'CODE(0x55d0c23ccfe0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55d0c220d2e8)', 'Plack::Handler::Starman=HASH(0x55d0c23ccff8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55d0c2129408)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_2593612: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55d0ce435e08)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dmain_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-main.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Parts Copyright (C) 2013 Mark Tompsett^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Quotes;^Juse C4::Members;^Juse C4::Overdues qw( checkoverdues );^Juse Koha::Checkouts;^Juse Koha::Holds;^Juse Koha::Patron::Messages;^J^Jmy $input = CGI->new;^Jmy $dbh = C4::Context->dbh;^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-main.tt",^J type => "opac",^J query => $input,^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $casAuthentication = C4::Context->preference(\'casAuthentication\');^J$template->param(^J casAuthentication => $casAuthentication,^J);^J^Jmy $homebranch = $ENV{OPAC_BRANCH_DEFAULT};^Jif ( C4::Context->userenv ) {^J $homebranch = C4::Context->userenv->{\'branch\'};^J}^Jif ( defined $input->param(\'branch\') and length $input->param(\'branch\') ) {^J $homebranch = $input->param(\'branch\');^J} elsif ( C4::Context->userenv and defined $input->param(\'branch\') and length $input->param(\'branch\') == 0 ) {^J $homebranch = "";^J}^J^Jmy $news_id = $input->param(\'news_id\');^J$template->param( news_id => $news_id );^J^J# For dashboard^Jmy $patron = Koha::Patrons->find($borrowernumber);^J^Jif ($patron) {^J my $checkouts = Koha::Checkouts->search( { borrowernumber => $borrowernumber } )->count;^J my ( $overdues_count, $overdues ) = checkoverdues($borrowernumber);^J my $holds_pending = Koha::Holds->count_holds( { borrowernumber => $borrowernumber, found => undef } );^J my $holds_waiting = Koha::Holds->search( { borrowernumber => $borrowernumber } )->waiting->count;^J my $patron_messages = Koha::Patron::Messages->search(^J {^J borrowernumber => $borrowernumber,^J message_type => \'B\',^J }^J );^J my $patron_note = $patron->opacnote;^J my $total = $patron->account->balance;^J my $saving_display = C4::Context->preference(\'OPACShowSavings\');^J my $savings = 0;^J if ( $saving_display =~ /summary/ ) {^J $savings = $patron->get_savings;^J }^J if ( $checkouts > 0^J || $overdues_count > 0^J || $holds_pending > 0^J || $holds_waiting > 0^J || $total > 0^J || $patron_note^J || $patron_messages->count^J || $savings > 0 )^J {^J $template->param(^J dashboard_info => 1,^J checkouts => $checkouts,^J overdues => $overdues_count,^J holds_pending => $holds_pending,^J holds_waiting => $holds_waiting,^J total_owing => $total,^J patron_messages => $patron_messages,^J opacnote => $patron_note,^J savings => $savings,^J );^J }^J}^J^J$template->param( branchcode => $homebranch ) if $homebranch;^J$template->param(^J daily_quote => Koha::Quotes->get_daily_quote(),^J);^J^Joutput_html_with_http_headers $input, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-main.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55d0ce2a6c70)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55d0ce2a6c70)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55d0c37efb08)', 'HASH(0x55d0ce280c50)', '/kohadevbox/koha/opac/opac-main.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55d0c37efb08)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce280c50)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55d0ce399ca0)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce280c50)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55d0ce447408)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55d0ce2ac728)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55d0ce3b6160)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55d0ce2237f8)', 'Try::Tiny::Catch=REF(0x55d0ce438c90)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55d0ce268d58)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55d0ce2be6c0)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55d0cdf09220)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce280c50)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55d0ce399f58)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce280c50)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55d0cde4ad48)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce280c50)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55d0ce2c3368)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55d0ce2292e0)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55d0ce26cfc0)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55d0c2a578f0)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55d0c2a57938)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55d0cde45250)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d0ce280c50)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55d0cde4a520)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55d0c23cd130)', 'HASH(0x55d0ce280c50)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55d0c23cd130)', 'Net::Server::Proto::UNIX=GLOB(0x55d0ce2dac60)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55d0c23cd130)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55d0c23cd130)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55d0c23cd130)', 'port', 'ARRAY(0x55d0c29f2380)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55d0c23cd130)', 'CODE(0x55d0c23ccfe0)', 'HASH(0x55d0c24462a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55d0c23ccff8)', 'CODE(0x55d0c23ccfe0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55d0c220d2e8)', 'Plack::Handler::Starman=HASH(0x55d0c23ccff8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55d0c2129408)') called at /bin/starman line 38 2026/08/07-14:45:51 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-14:45:52 Worker processes cleaned up 2026/08/07-14:45:52 Server closing! Process Backgrounded 2026/08/07-14:45:55 Starman::Server (type Net::Server::PreFork) starting! pid(2595291) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-14:56:38 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-14:56:38 Worker processes cleaned up 2026/08/07-14:56:38 Server closing! Process Backgrounded 2026/08/07-14:56:39 Starman::Server (type Net::Server::PreFork) starting! pid(2602710) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-15:05:34 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-15:05:34 Worker processes cleaned up 2026/08/07-15:05:34 Server closing! Process Backgrounded 2026/08/07-15:05:35 Starman::Server (type Net::Server::PreFork) starting! pid(2610478) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-15:17:57 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-15:17:57 Worker processes cleaned up 2026/08/07-15:17:57 Server closing! Process Backgrounded 2026/08/07-15:17:58 Starman::Server (type Net::Server::PreFork) starting! pid(2618437) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-15:55:45 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-15:55:45 Worker processes cleaned up 2026/08/07-15:55:45 Server closing! Process Backgrounded 2026/08/07-15:55:47 Starman::Server (type Net::Server::PreFork) starting! pid(2620077) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-16:01:20 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-16:01:20 Worker processes cleaned up 2026/08/07-16:01:20 Server closing! Process Backgrounded 2026/08/07-16:01:21 Starman::Server (type Net::Server::PreFork) starting! pid(2620619) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-16:18:13 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-16:18:13 Worker processes cleaned up 2026/08/07-16:18:13 Server closing! Process Backgrounded 2026/08/07-16:18:14 Starman::Server (type Net::Server::PreFork) starting! pid(2628397) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-16:57:05 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-16:57:05 Worker processes cleaned up 2026/08/07-16:57:05 Server closing! Process Backgrounded 2026/08/07-16:57:06 Starman::Server (type Net::Server::PreFork) starting! pid(2636488) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-18:01:08 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-18:01:08 Worker processes cleaned up 2026/08/07-18:01:08 Server closing! Process Backgrounded 2026/08/07-18:01:11 Starman::Server (type Net::Server::PreFork) starting! pid(2637965) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-18:01:25 Received QUIT. Running a graceful shutdown Sending children hup signal Child process 2637980 exited with status 0 - signal was 1 2026/08/07-18:01:25 Worker processes cleaned up 2026/08/07-18:01:25 Server closing! Process Backgrounded 2026/08/07-18:01:29 Starman::Server (type Net::Server::PreFork) starting! pid(2638508) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-18:03:42 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-18:03:42 Worker processes cleaned up 2026/08/07-18:03:42 Server closing! Process Backgrounded 2026/08/07-18:03:43 Starman::Server (type Net::Server::PreFork) starting! pid(2645982) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-18:04:31 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-18:04:31 Worker processes cleaned up 2026/08/07-18:04:31 Server closing! Process Backgrounded 2026/08/07-18:04:32 Starman::Server (type Net::Server::PreFork) starting! pid(2646606) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-18:12:56 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-18:12:56 Worker processes cleaned up 2026/08/07-18:12:56 Server closing! Process Backgrounded 2026/08/07-18:12:57 Starman::Server (type Net::Server::PreFork) starting! pid(2654683) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-18:18:32 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-18:18:32 Worker processes cleaned up 2026/08/07-18:18:32 Server closing! Process Backgrounded 2026/08/07-18:18:33 Starman::Server (type Net::Server::PreFork) starting! pid(2655569) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-18:23:02 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-18:23:02 Worker processes cleaned up 2026/08/07-18:23:02 Server closing! Process Backgrounded 2026/08/07-18:23:03 Starman::Server (type Net::Server::PreFork) starting! pid(2662931) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-18:25:14 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-18:25:14 Worker processes cleaned up 2026/08/07-18:25:14 Server closing! Process Backgrounded 2026/08/07-18:25:15 Starman::Server (type Net::Server::PreFork) starting! pid(2663525) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-18:34:55 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-18:34:55 Worker processes cleaned up 2026/08/07-18:34:55 Server closing! Process Backgrounded 2026/08/07-18:34:56 Starman::Server (type Net::Server::PreFork) starting! pid(2664099) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-19:18:14 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-19:18:14 Worker processes cleaned up 2026/08/07-19:18:14 Server closing! Process Backgrounded 2026/08/07-19:18:15 Starman::Server (type Net::Server::PreFork) starting! pid(2664921) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-19:54:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-19:54:48 Worker processes cleaned up 2026/08/07-19:54:48 Server closing! Process Backgrounded 2026/08/07-19:54:49 Starman::Server (type Net::Server::PreFork) starting! pid(2673196) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-19:55:51 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-19:55:51 Worker processes cleaned up 2026/08/07-19:55:51 Server closing! Process Backgrounded 2026/08/07-19:55:52 Starman::Server (type Net::Server::PreFork) starting! pid(2673877) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-20:12:01 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-20:12:02 Worker processes cleaned up 2026/08/07-20:12:02 Server closing! Process Backgrounded 2026/08/07-20:12:03 Starman::Server (type Net::Server::PreFork) starting! pid(2689265) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-20:14:31 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-20:14:31 Worker processes cleaned up 2026/08/07-20:14:31 Server closing! Process Backgrounded 2026/08/07-20:14:32 Starman::Server (type Net::Server::PreFork) starting! pid(2689990) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-20:25:16 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-20:25:16 Worker processes cleaned up 2026/08/07-20:25:16 Server closing! Process Backgrounded 2026/08/07-20:25:17 Starman::Server (type Net::Server::PreFork) starting! pid(2704938) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-20:51:03 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-20:51:03 Worker processes cleaned up 2026/08/07-20:51:03 Server closing! Process Backgrounded 2026/08/07-20:51:04 Starman::Server (type Net::Server::PreFork) starting! pid(2712763) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/07-22:09:03 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-22:09:03 Worker processes cleaned up 2026/08/07-22:09:03 Server closing! Process Backgrounded 2026/08/07-22:09:05 Starman::Server (type Net::Server::PreFork) starting! pid(2721947) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-22:12:19 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-22:12:19 Worker processes cleaned up 2026/08/07-22:12:19 Server closing! Process Backgrounded 2026/08/07-22:12:20 Starman::Server (type Net::Server::PreFork) starting! pid(2722672) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-22:21:25 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-22:21:25 Worker processes cleaned up 2026/08/07-22:21:25 Server closing! Process Backgrounded 2026/08/07-22:21:26 Starman::Server (type Net::Server::PreFork) starting! pid(2730484) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-23:27:37 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-23:27:38 Worker processes cleaned up 2026/08/07-23:27:38 Server closing! Process Backgrounded 2026/08/07-23:27:39 Starman::Server (type Net::Server::PreFork) starting! pid(2731494) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-23:45:09 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-23:45:09 Worker processes cleaned up 2026/08/07-23:45:09 Server closing! Process Backgrounded 2026/08/07-23:45:10 Starman::Server (type Net::Server::PreFork) starting! pid(2739535) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-23:53:08 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-23:53:08 Worker processes cleaned up 2026/08/07-23:53:08 Server closing! Process Backgrounded 2026/08/07-23:53:09 Starman::Server (type Net::Server::PreFork) starting! pid(2747478) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/07-23:59:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/07-23:59:28 Worker processes cleaned up 2026/08/07-23:59:28 Server closing! Process Backgrounded 2026/08/07-23:59:29 Starman::Server (type Net::Server::PreFork) starting! pid(2755379) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-00:02:29 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-00:02:29 Worker processes cleaned up 2026/08/08-00:02:29 Server closing! Process Backgrounded 2026/08/08-00:02:30 Starman::Server (type Net::Server::PreFork) starting! pid(2756144) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-00:02:30 Received QUIT. Running a graceful shutdown Sending children hup signal panic: fold_constants JMPENV_PUSH returned 2. Child process 2756146 exited with status 29 2026/08/08-00:02:30 Worker processes cleaned up 2026/08/08-00:02:30 Server closing! Process Backgrounded 2026/08/08-00:02:31 Starman::Server (type Net::Server::PreFork) starting! pid(2756488) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-00:07:06 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-00:07:06 Worker processes cleaned up 2026/08/08-00:07:06 Server closing! Process Backgrounded 2026/08/08-00:07:07 Starman::Server (type Net::Server::PreFork) starting! pid(2771647) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-00:08:14 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-00:08:15 Worker processes cleaned up 2026/08/08-00:08:15 Server closing! Process Backgrounded 2026/08/08-00:08:16 Starman::Server (type Net::Server::PreFork) starting! pid(2772175) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-00:08:50 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-00:08:50 Worker processes cleaned up 2026/08/08-00:08:50 Server closing! Process Backgrounded 2026/08/08-00:08:53 Starman::Server (type Net::Server::PreFork) starting! pid(2772712) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-01:29:49 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-01:29:49 Worker processes cleaned up 2026/08/08-01:29:49 Server closing! Process Backgrounded 2026/08/08-01:29:50 Starman::Server (type Net::Server::PreFork) starting! pid(2795755) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-01:34:16 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-01:34:16 Worker processes cleaned up 2026/08/08-01:34:16 Server closing! Process Backgrounded 2026/08/08-01:34:17 Starman::Server (type Net::Server::PreFork) starting! pid(2796293) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-01:45:08 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-01:45:08 Worker processes cleaned up 2026/08/08-01:45:08 Server closing! Process Backgrounded 2026/08/08-01:45:09 Starman::Server (type Net::Server::PreFork) starting! pid(2804269) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-02:37:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-02:37:24 Worker processes cleaned up 2026/08/08-02:37:24 Server closing! Process Backgrounded 2026/08/08-02:37:25 Starman::Server (type Net::Server::PreFork) starting! pid(2805311) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-03:08:38 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-03:08:38 Worker processes cleaned up 2026/08/08-03:08:38 Server closing! Process Backgrounded 2026/08/08-03:08:39 Starman::Server (type Net::Server::PreFork) starting! pid(2813325) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-03:17:29 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-03:17:29 Worker processes cleaned up 2026/08/08-03:17:29 Server closing! Process Backgrounded 2026/08/08-03:17:29 Starman::Server (type Net::Server::PreFork) starting! pid(2821265) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-03:19:41 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-03:19:41 Worker processes cleaned up 2026/08/08-03:19:41 Server closing! Process Backgrounded 2026/08/08-03:19:42 Starman::Server (type Net::Server::PreFork) starting! pid(2821790) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-05:04:54 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-05:04:54 Worker processes cleaned up 2026/08/08-05:04:54 Server closing! Process Backgrounded 2026/08/08-05:04:55 Starman::Server (type Net::Server::PreFork) starting! pid(2844761) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-05:18:47 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-05:18:47 Worker processes cleaned up 2026/08/08-05:18:47 Server closing! Process Backgrounded 2026/08/08-05:18:48 Starman::Server (type Net::Server::PreFork) starting! pid(2845365) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-06:02:51 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-06:02:51 Worker processes cleaned up 2026/08/08-06:02:51 Server closing! Process Backgrounded 2026/08/08-06:02:52 Starman::Server (type Net::Server::PreFork) starting! pid(2860960) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-06:10:45 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-06:10:45 Worker processes cleaned up 2026/08/08-06:10:45 Server closing! Process Backgrounded 2026/08/08-06:10:46 Starman::Server (type Net::Server::PreFork) starting! pid(2868913) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-06:20:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-06:20:17 Worker processes cleaned up 2026/08/08-06:20:17 Server closing! Process Backgrounded 2026/08/08-06:20:18 Starman::Server (type Net::Server::PreFork) starting! pid(2876861) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-06:27:55 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-06:27:55 Worker processes cleaned up 2026/08/08-06:27:55 Server closing! Process Backgrounded 2026/08/08-06:27:56 Starman::Server (type Net::Server::PreFork) starting! pid(2884792) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-07:47:37 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-07:47:37 Worker processes cleaned up 2026/08/08-07:47:37 Server closing! Process Backgrounded 2026/08/08-07:47:38 Starman::Server (type Net::Server::PreFork) starting! pid(2900150) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-07:57:47 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-07:57:48 Worker processes cleaned up 2026/08/08-07:57:48 Server closing! Process Backgrounded 2026/08/08-07:57:49 Starman::Server (type Net::Server::PreFork) starting! pid(2900726) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-08:09:08 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-08:09:08 Worker processes cleaned up 2026/08/08-08:09:08 Server closing! Process Backgrounded 2026/08/08-08:09:09 Starman::Server (type Net::Server::PreFork) starting! pid(2908674) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-08:14:22 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-08:14:22 Worker processes cleaned up 2026/08/08-08:14:22 Server closing! Process Backgrounded 2026/08/08-08:14:23 Starman::Server (type Net::Server::PreFork) starting! pid(2916535) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-08:15:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-08:15:48 Worker processes cleaned up 2026/08/08-08:15:48 Server closing! Process Backgrounded 2026/08/08-08:15:49 Starman::Server (type Net::Server::PreFork) starting! pid(2917137) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-09:46:04 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-09:46:05 Worker processes cleaned up 2026/08/08-09:46:05 Server closing! Process Backgrounded 2026/08/08-09:46:09 Starman::Server (type Net::Server::PreFork) starting! pid(2962490) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-09:46:23 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-09:46:23 Worker processes cleaned up 2026/08/08-09:46:23 Server closing! Process Backgrounded 2026/08/08-09:46:27 Starman::Server (type Net::Server::PreFork) starting! pid(2963018) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-09:46:32 Received QUIT. Running a graceful shutdown Sending children hup signal panic: fold_constants JMPENV_PUSH returned 2. Child process 2963021 exited with status 29 2026/08/08-09:46:32 Worker processes cleaned up 2026/08/08-09:46:32 Server closing! Process Backgrounded 2026/08/08-09:46:35 Starman::Server (type Net::Server::PreFork) starting! pid(2963558) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-09:46:43 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-09:46:43 Worker processes cleaned up 2026/08/08-09:46:43 Server closing! Process Backgrounded 2026/08/08-09:46:47 Starman::Server (type Net::Server::PreFork) starting! pid(2964128) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/08-09:51:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-09:51:18 Worker processes cleaned up 2026/08/08-09:51:18 Server closing! Process Backgrounded 2026/08/08-09:51:22 Starman::Server (type Net::Server::PreFork) starting! pid(2976862) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-10:06:02 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-10:06:02 Worker processes cleaned up 2026/08/08-10:06:02 Server closing! Process Backgrounded 2026/08/08-10:06:04 Starman::Server (type Net::Server::PreFork) starting! pid(3009108) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-10:06:04 Received QUIT. Running a graceful shutdown Sending children hup signal panic: fold_constants JMPENV_PUSH returned 2. panic: fold_constants JMPENV_PUSH returned 2. Child process 3009110 exited with status 29 Child process 3009111 exited with status 29 2026/08/08-10:06:04 Worker processes cleaned up 2026/08/08-10:06:04 Server closing! Process Backgrounded 2026/08/08-10:06:05 Starman::Server (type Net::Server::PreFork) starting! pid(3009446) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-10:07:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-10:07:18 Worker processes cleaned up 2026/08/08-10:07:18 Server closing! Process Backgrounded 2026/08/08-10:07:21 Starman::Server (type Net::Server::PreFork) starting! pid(3010184) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/08-10:22:05 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-10:22:05 Worker processes cleaned up 2026/08/08-10:22:05 Server closing! Process Backgrounded 2026/08/08-10:22:06 Starman::Server (type Net::Server::PreFork) starting! pid(3040079) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-10:22:10 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-10:22:10 Worker processes cleaned up 2026/08/08-10:22:10 Server closing! Process Backgrounded 2026/08/08-10:22:12 Starman::Server (type Net::Server::PreFork) starting! pid(3040497) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/08-10:22:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-10:22:48 Worker processes cleaned up 2026/08/08-10:22:48 Server closing! Process Backgrounded 2026/08/08-10:22:49 Starman::Server (type Net::Server::PreFork) starting! pid(3041071) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-10:23:27 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-10:23:27 Worker processes cleaned up 2026/08/08-10:23:27 Server closing! Process Backgrounded 2026/08/08-10:23:28 Starman::Server (type Net::Server::PreFork) starting! pid(3041686) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-10:35:50 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-10:35:50 Worker processes cleaned up 2026/08/08-10:35:50 Server closing! Process Backgrounded 2026/08/08-10:35:51 Starman::Server (type Net::Server::PreFork) starting! pid(3043104) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-11:21:34 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-11:21:34 Worker processes cleaned up 2026/08/08-11:21:34 Server closing! Process Backgrounded 2026/08/08-11:21:35 Starman::Server (type Net::Server::PreFork) starting! pid(3044035) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-11:30:29 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-11:30:29 Worker processes cleaned up 2026/08/08-11:30:29 Server closing! Process Backgrounded 2026/08/08-11:30:30 Starman::Server (type Net::Server::PreFork) starting! pid(3051966) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-12:10:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-12:10:18 Worker processes cleaned up 2026/08/08-12:10:18 Server closing! Process Backgrounded 2026/08/08-12:10:19 Starman::Server (type Net::Server::PreFork) starting! pid(3074215) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-12:22:59 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-12:22:59 Worker processes cleaned up 2026/08/08-12:22:59 Server closing! Process Backgrounded 2026/08/08-12:23:00 Starman::Server (type Net::Server::PreFork) starting! pid(3082282) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/08-12:28:11 Received QUIT. Running a graceful shutdown Sending children hup signal Child process 3082284 exited with status 0 - signal was 1 2026/08/08-12:28:11 Worker processes cleaned up 2026/08/08-12:28:11 Server closing! Process Backgrounded 2026/08/08-12:28:12 Starman::Server (type Net::Server::PreFork) starting! pid(3082832) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-12:49:07 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-12:49:07 Worker processes cleaned up 2026/08/08-12:49:07 Server closing! Process Backgrounded 2026/08/08-12:49:08 Starman::Server (type Net::Server::PreFork) starting! pid(3098180) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-13:05:23 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-13:05:25 Worker processes cleaned up 2026/08/08-13:05:25 Server closing! Process Backgrounded 2026/08/08-13:05:26 Starman::Server (type Net::Server::PreFork) starting! pid(3098817) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/08-13:19:46 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-13:19:47 Worker processes cleaned up 2026/08/08-13:19:47 Server closing! Process Backgrounded 2026/08/08-13:19:48 Starman::Server (type Net::Server::PreFork) starting! pid(3106594) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-13:29:22 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-13:29:22 Worker processes cleaned up 2026/08/08-13:29:22 Server closing! Process Backgrounded 2026/08/08-13:29:23 Starman::Server (type Net::Server::PreFork) starting! pid(3107199) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-13:40:25 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-13:40:26 Worker processes cleaned up 2026/08/08-13:40:26 Server closing! Process Backgrounded 2026/08/08-13:40:27 Starman::Server (type Net::Server::PreFork) starting! pid(3107854) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-15:34:16 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-15:34:16 Worker processes cleaned up 2026/08/08-15:34:16 Server closing! Process Backgrounded 2026/08/08-15:34:17 Starman::Server (type Net::Server::PreFork) starting! pid(3167532) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/08-15:58:06 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-15:58:06 Worker processes cleaned up 2026/08/08-15:58:06 Server closing! Process Backgrounded 2026/08/08-15:58:07 Starman::Server (type Net::Server::PreFork) starting! pid(3175713) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-16:21:40 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-16:21:40 Worker processes cleaned up 2026/08/08-16:21:40 Server closing! Process Backgrounded 2026/08/08-16:21:41 Starman::Server (type Net::Server::PreFork) starting! pid(3183510) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-16:37:59 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-16:38:00 Worker processes cleaned up 2026/08/08-16:38:00 Server closing! Process Backgrounded 2026/08/08-16:38:01 Starman::Server (type Net::Server::PreFork) starting! pid(3184712) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-16:49:52 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-16:49:52 Worker processes cleaned up 2026/08/08-16:49:52 Server closing! Process Backgrounded 2026/08/08-16:49:53 Starman::Server (type Net::Server::PreFork) starting! pid(3185329) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-16:59:06 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-16:59:06 Worker processes cleaned up 2026/08/08-16:59:06 Server closing! Process Backgrounded 2026/08/08-16:59:07 Starman::Server (type Net::Server::PreFork) starting! pid(3193230) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-17:02:12 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-17:02:13 Worker processes cleaned up 2026/08/08-17:02:13 Server closing! Process Backgrounded 2026/08/08-17:02:14 Starman::Server (type Net::Server::PreFork) starting! pid(3193763) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-19:32:27 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-19:32:27 Worker processes cleaned up 2026/08/08-19:32:27 Server closing! Process Backgrounded 2026/08/08-19:32:28 Starman::Server (type Net::Server::PreFork) starting! pid(3232893) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-20:30:59 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-20:31:00 Worker processes cleaned up 2026/08/08-20:31:00 Server closing! Process Backgrounded 2026/08/08-20:31:01 Starman::Server (type Net::Server::PreFork) starting! pid(3248396) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-21:46:50 Received QUIT. Running a graceful shutdown Sending children hup signal Child process 3249526 exited with status 0 - signal was 1 2026/08/08-21:46:50 Worker processes cleaned up 2026/08/08-21:46:50 Server closing! Process Backgrounded 2026/08/08-21:46:51 Starman::Server (type Net::Server::PreFork) starting! pid(3249872) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-21:47:42 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-21:47:43 Worker processes cleaned up 2026/08/08-21:47:43 Server closing! Process Backgrounded 2026/08/08-21:47:44 Starman::Server (type Net::Server::PreFork) starting! pid(3250378) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/08-21:56:25 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/08-21:56:25 Worker processes cleaned up 2026/08/08-21:56:25 Server closing! Process Backgrounded 2026/08/08-21:56:26 Starman::Server (type Net::Server::PreFork) starting! pid(3250987) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-02:27:58 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-02:27:58 Worker processes cleaned up 2026/08/09-02:27:58 Server closing! Process Backgrounded 2026/08/09-02:27:59 Starman::Server (type Net::Server::PreFork) starting! pid(3290298) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-02:43:00 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-02:43:00 Worker processes cleaned up 2026/08/09-02:43:00 Server closing! Process Backgrounded 2026/08/09-02:43:01 Starman::Server (type Net::Server::PreFork) starting! pid(3291019) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-02:43:03 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-02:43:03 Worker processes cleaned up 2026/08/09-02:43:03 Server closing! Process Backgrounded 2026/08/09-02:43:04 Starman::Server (type Net::Server::PreFork) starting! pid(3291370) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-03:32:25 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-03:32:25 Worker processes cleaned up 2026/08/09-03:32:25 Server closing! Process Backgrounded 2026/08/09-03:32:26 Starman::Server (type Net::Server::PreFork) starting! pid(3292691) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-03:49:38 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-03:49:38 Worker processes cleaned up 2026/08/09-03:49:38 Server closing! Process Backgrounded 2026/08/09-03:49:39 Starman::Server (type Net::Server::PreFork) starting! pid(3293354) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-04:18:10 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-04:18:10 Worker processes cleaned up 2026/08/09-04:18:10 Server closing! Process Backgrounded 2026/08/09-04:18:11 Starman::Server (type Net::Server::PreFork) starting! pid(3294317) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-04:33:46 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-04:33:47 Worker processes cleaned up 2026/08/09-04:33:47 Server closing! Process Backgrounded 2026/08/09-04:33:47 Starman::Server (type Net::Server::PreFork) starting! pid(3295481) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-04:43:35 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-04:43:35 Worker processes cleaned up 2026/08/09-04:43:35 Server closing! Process Backgrounded 2026/08/09-04:43:39 Starman::Server (type Net::Server::PreFork) starting! pid(3304031) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-05:27:56 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-05:27:57 Worker processes cleaned up 2026/08/09-05:27:57 Server closing! Process Backgrounded 2026/08/09-05:27:58 Starman::Server (type Net::Server::PreFork) starting! pid(3347305) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-07:02:12 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-07:02:12 Worker processes cleaned up 2026/08/09-07:02:12 Server closing! Process Backgrounded 2026/08/09-07:02:13 Starman::Server (type Net::Server::PreFork) starting! pid(3370894) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-07:14:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-07:14:29 Worker processes cleaned up 2026/08/09-07:14:29 Server closing! Process Backgrounded 2026/08/09-07:14:29 Starman::Server (type Net::Server::PreFork) starting! pid(3378926) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-08:37:18 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-08:37:18 Worker processes cleaned up 2026/08/09-08:37:18 Server closing! Process Backgrounded 2026/08/09-08:37:19 Starman::Server (type Net::Server::PreFork) starting! pid(3387570) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-08:52:01 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-08:52:01 Worker processes cleaned up 2026/08/09-08:52:01 Server closing! Process Backgrounded 2026/08/09-08:52:02 Starman::Server (type Net::Server::PreFork) starting! pid(3402757) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-09:02:33 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-09:02:33 Worker processes cleaned up 2026/08/09-09:02:33 Server closing! Process Backgrounded 2026/08/09-09:02:34 Starman::Server (type Net::Server::PreFork) starting! pid(3410738) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-09:10:39 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-09:10:40 Worker processes cleaned up 2026/08/09-09:10:40 Server closing! Process Backgrounded 2026/08/09-09:10:41 Starman::Server (type Net::Server::PreFork) starting! pid(3418687) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-10:35:41 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-10:35:41 Worker processes cleaned up 2026/08/09-10:35:41 Server closing! Process Backgrounded 2026/08/09-10:35:42 Starman::Server (type Net::Server::PreFork) starting! pid(3427539) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-10:43:44 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-10:43:45 Worker processes cleaned up 2026/08/09-10:43:45 Server closing! Process Backgrounded 2026/08/09-10:43:46 Starman::Server (type Net::Server::PreFork) starting! pid(3435329) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-10:58:08 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-10:58:08 Worker processes cleaned up 2026/08/09-10:58:08 Server closing! Process Backgrounded 2026/08/09-10:58:09 Starman::Server (type Net::Server::PreFork) starting! pid(3450440) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-12:11:10 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-12:11:10 Worker processes cleaned up 2026/08/09-12:11:10 Server closing! Process Backgrounded 2026/08/09-12:11:11 Starman::Server (type Net::Server::PreFork) starting! pid(3466162) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-12:22:39 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-12:22:39 Worker processes cleaned up 2026/08/09-12:22:39 Server closing! Process Backgrounded 2026/08/09-12:22:40 Starman::Server (type Net::Server::PreFork) starting! pid(3474163) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-12:34:57 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-12:34:57 Worker processes cleaned up 2026/08/09-12:34:57 Server closing! Process Backgrounded 2026/08/09-12:34:58 Starman::Server (type Net::Server::PreFork) starting! pid(3482159) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-12:44:33 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-12:44:33 Worker processes cleaned up 2026/08/09-12:44:33 Server closing! Process Backgrounded 2026/08/09-12:44:34 Starman::Server (type Net::Server::PreFork) starting! pid(3490127) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-13:36:46 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-13:36:46 Worker processes cleaned up 2026/08/09-13:36:46 Server closing! Process Backgrounded 2026/08/09-13:36:48 Starman::Server (type Net::Server::PreFork) starting! pid(3498034) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-13:43:22 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-13:43:23 Worker processes cleaned up 2026/08/09-13:43:23 Server closing! Process Backgrounded 2026/08/09-13:43:24 Starman::Server (type Net::Server::PreFork) starting! pid(3498888) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-13:54:22 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-13:54:22 Worker processes cleaned up 2026/08/09-13:54:22 Server closing! Process Backgrounded 2026/08/09-13:54:23 Starman::Server (type Net::Server::PreFork) starting! pid(3506871) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-14:06:15 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-14:06:15 Worker processes cleaned up 2026/08/09-14:06:15 Server closing! Process Backgrounded 2026/08/09-14:06:16 Starman::Server (type Net::Server::PreFork) starting! pid(3522119) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-14:08:07 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-14:08:07 Worker processes cleaned up 2026/08/09-14:08:07 Server closing! Process Backgrounded 2026/08/09-14:08:08 Starman::Server (type Net::Server::PreFork) starting! pid(3522827) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-14:08:11 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-14:08:11 Worker processes cleaned up 2026/08/09-14:08:11 Server closing! Process Backgrounded 2026/08/09-14:08:12 Starman::Server (type Net::Server::PreFork) starting! pid(3523177) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/09-14:21:08 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-14:21:08 Worker processes cleaned up 2026/08/09-14:21:08 Server closing! Process Backgrounded 2026/08/09-14:21:09 Starman::Server (type Net::Server::PreFork) starting! pid(3538462) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-16:27:32 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-16:27:32 Worker processes cleaned up 2026/08/09-16:27:32 Server closing! Process Backgrounded 2026/08/09-16:27:33 Starman::Server (type Net::Server::PreFork) starting! pid(3554652) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-18:29:31 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-18:29:31 Worker processes cleaned up 2026/08/09-18:29:31 Server closing! Process Backgrounded 2026/08/09-18:29:32 Starman::Server (type Net::Server::PreFork) starting! pid(3570910) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-18:38:55 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-18:38:55 Worker processes cleaned up 2026/08/09-18:38:55 Server closing! Process Backgrounded 2026/08/09-18:38:56 Starman::Server (type Net::Server::PreFork) starting! pid(3585953) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-18:40:47 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-18:40:48 Worker processes cleaned up 2026/08/09-18:40:48 Server closing! Process Backgrounded 2026/08/09-18:40:48 Starman::Server (type Net::Server::PreFork) starting! pid(3586514) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-19:01:18 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-19:01:18 Worker processes cleaned up 2026/08/09-19:01:18 Server closing! Process Backgrounded 2026/08/09-19:01:19 Starman::Server (type Net::Server::PreFork) starting! pid(3601718) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-21:19:38 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-21:19:38 Worker processes cleaned up 2026/08/09-21:19:38 Server closing! Process Backgrounded 2026/08/09-21:19:40 Starman::Server (type Net::Server::PreFork) starting! pid(3618702) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-21:49:32 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-21:49:32 Worker processes cleaned up 2026/08/09-21:49:32 Server closing! Process Backgrounded 2026/08/09-21:49:33 Starman::Server (type Net::Server::PreFork) starting! pid(3619504) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-22:36:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-22:36:49 Worker processes cleaned up 2026/08/09-22:36:49 Server closing! Process Backgrounded 2026/08/09-22:36:50 Starman::Server (type Net::Server::PreFork) starting! pid(3635469) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/09-23:49:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/09-23:49:48 Worker processes cleaned up 2026/08/09-23:49:48 Server closing! Process Backgrounded 2026/08/09-23:49:49 Starman::Server (type Net::Server::PreFork) starting! pid(3643836) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-00:11:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-00:11:17 Worker processes cleaned up 2026/08/10-00:11:17 Server closing! Process Backgrounded 2026/08/10-00:11:18 Starman::Server (type Net::Server::PreFork) starting! pid(3644609) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-00:18:22 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-00:18:22 Worker processes cleaned up 2026/08/10-00:18:22 Server closing! Process Backgrounded 2026/08/10-00:18:23 Starman::Server (type Net::Server::PreFork) starting! pid(3645264) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-00:30:04 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-00:30:04 Worker processes cleaned up 2026/08/10-00:30:04 Server closing! Process Backgrounded 2026/08/10-00:30:05 Starman::Server (type Net::Server::PreFork) starting! pid(3653317) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-00:44:19 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-00:44:19 Worker processes cleaned up 2026/08/10-00:44:19 Server closing! Process Backgrounded 2026/08/10-00:44:20 Starman::Server (type Net::Server::PreFork) starting! pid(3661325) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-00:53:05 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-00:53:05 Worker processes cleaned up 2026/08/10-00:53:05 Server closing! Process Backgrounded 2026/08/10-00:53:06 Starman::Server (type Net::Server::PreFork) starting! pid(3669306) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-02:12:20 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-02:12:21 Received QUIT. Running a graceful shutdown Sending children hup signal Child process 3670177 exited with status 0 - signal was 1 2026/08/10-02:12:21 Worker processes cleaned up 2026/08/10-02:12:21 Server closing! Process Backgrounded 2026/08/10-02:12:25 Starman::Server (type Net::Server::PreFork) starting! pid(3708183) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-02:12:25 Pid_file already exists for running process (3708183)... aborting at line 142 in file /usr/share/perl5/Net/Server.pm 2026/08/10-02:12:25 Received QUIT. Running a graceful shutdown 2026/08/10-02:12:25 Worker processes cleaned up 2026/08/10-02:12:25 Server closing! 2026/08/10-02:12:36 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-02:12:36 Worker processes cleaned up 2026/08/10-02:12:36 Server closing! Process Backgrounded 2026/08/10-02:12:40 Starman::Server (type Net::Server::PreFork) starting! pid(3709020) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-02:18:54 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-02:18:54 Worker processes cleaned up 2026/08/10-02:18:54 Server closing! Process Backgrounded 2026/08/10-02:18:58 Starman::Server (type Net::Server::PreFork) starting! pid(3731113) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-02:19:05 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-02:19:05 Worker processes cleaned up 2026/08/10-02:19:05 Server closing! Process Backgrounded 2026/08/10-02:19:09 Starman::Server (type Net::Server::PreFork) starting! pid(3731588) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/10-02:19:29 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-02:19:30 Worker processes cleaned up 2026/08/10-02:19:30 Server closing! Process Backgrounded 2026/08/10-02:19:34 Starman::Server (type Net::Server::PreFork) starting! pid(3732363) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-02:35:11 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-02:35:11 Worker processes cleaned up 2026/08/10-02:35:11 Server closing! Process Backgrounded 2026/08/10-02:35:13 Starman::Server (type Net::Server::PreFork) starting! pid(3755576) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-02:35:16 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-02:35:17 Worker processes cleaned up 2026/08/10-02:35:17 Server closing! Process Backgrounded 2026/08/10-02:35:20 Starman::Server (type Net::Server::PreFork) starting! pid(3756263) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/10-07:09:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-07:09:24 Worker processes cleaned up 2026/08/10-07:09:24 Server closing! Process Backgrounded 2026/08/10-07:09:25 Starman::Server (type Net::Server::PreFork) starting! pid(3781709) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-07:52:52 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-07:52:52 Worker processes cleaned up 2026/08/10-07:52:52 Server closing! Process Backgrounded 2026/08/10-07:52:53 Starman::Server (type Net::Server::PreFork) starting! pid(3789960) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/10-09:25:15 Received QUIT. Running a graceful shutdown Sending children hup signal Child process 3792315 exited with status 0 - signal was 1 2026/08/10-09:25:16 Worker processes cleaned up 2026/08/10-09:25:16 Server closing! Process Backgrounded 2026/08/10-09:25:17 Starman::Server (type Net::Server::PreFork) starting! pid(3807254) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-10:41:01 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-10:41:01 Worker processes cleaned up 2026/08/10-10:41:01 Server closing! Process Backgrounded 2026/08/10-10:41:03 Starman::Server (type Net::Server::PreFork) starting! pid(3822955) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-11:24:21 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-11:24:21 Worker processes cleaned up 2026/08/10-11:24:21 Server closing! Process Backgrounded 2026/08/10-11:24:22 Starman::Server (type Net::Server::PreFork) starting! pid(3823976) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues 2026/08/10-12:00:56 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-12:00:56 Worker processes cleaned up 2026/08/10-12:00:56 Server closing! Process Backgrounded 2026/08/10-12:00:57 Starman::Server (type Net::Server::PreFork) starting! pid(3825213) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-15:56:45 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-15:56:45 Worker processes cleaned up 2026/08/10-15:56:45 Server closing! Process Backgrounded 2026/08/10-15:56:46 Starman::Server (type Net::Server::PreFork) starting! pid(3857093) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-17:06:02 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-17:06:02 Worker processes cleaned up 2026/08/10-17:06:02 Server closing! Process Backgrounded 2026/08/10-17:06:03 Starman::Server (type Net::Server::PreFork) starting! pid(3866101) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-18:17:57 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-18:17:57 Worker processes cleaned up 2026/08/10-18:17:57 Server closing! Process Backgrounded 2026/08/10-18:17:58 Starman::Server (type Net::Server::PreFork) starting! pid(3867337) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-18:30:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-18:30:17 Worker processes cleaned up 2026/08/10-18:30:17 Server closing! Process Backgrounded 2026/08/10-18:30:18 Starman::Server (type Net::Server::PreFork) starting! pid(3867923) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-19:14:16 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-19:14:16 Worker processes cleaned up 2026/08/10-19:14:16 Server closing! Process Backgrounded 2026/08/10-19:14:17 Starman::Server (type Net::Server::PreFork) starting! pid(3882996) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-20:14:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-20:14:28 Worker processes cleaned up 2026/08/10-20:14:28 Server closing! Process Backgrounded 2026/08/10-20:14:29 Starman::Server (type Net::Server::PreFork) starting! pid(3899064) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-21:17:36 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-21:17:36 Worker processes cleaned up 2026/08/10-21:17:36 Server closing! Process Backgrounded 2026/08/10-21:17:37 Starman::Server (type Net::Server::PreFork) starting! pid(3928920) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-21:20:04 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-21:20:05 Worker processes cleaned up 2026/08/10-21:20:05 Server closing! Process Backgrounded 2026/08/10-21:20:06 Starman::Server (type Net::Server::PreFork) starting! pid(3929527) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-21:31:06 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-21:31:06 Worker processes cleaned up 2026/08/10-21:31:06 Server closing! Process Backgrounded 2026/08/10-21:31:07 Starman::Server (type Net::Server::PreFork) starting! pid(3937536) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-21:46:24 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-21:46:25 Worker processes cleaned up 2026/08/10-21:46:25 Server closing! Process Backgrounded 2026/08/10-21:46:25 Starman::Server (type Net::Server::PreFork) starting! pid(3938339) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-21:53:21 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-21:53:21 Worker processes cleaned up 2026/08/10-21:53:21 Server closing! Process Backgrounded 2026/08/10-21:53:22 Starman::Server (type Net::Server::PreFork) starting! pid(3946243) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-22:02:42 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-22:02:42 Worker processes cleaned up 2026/08/10-22:02:42 Server closing! Process Backgrounded 2026/08/10-22:02:43 Starman::Server (type Net::Server::PreFork) starting! pid(3954226) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-23:28:27 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-23:28:28 Worker processes cleaned up 2026/08/10-23:28:28 Server closing! Process Backgrounded 2026/08/10-23:28:29 Starman::Server (type Net::Server::PreFork) starting! pid(3977042) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-23:36:01 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-23:36:01 Worker processes cleaned up 2026/08/10-23:36:01 Server closing! Process Backgrounded 2026/08/10-23:36:02 Starman::Server (type Net::Server::PreFork) starting! pid(3984944) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/10-23:45:09 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/10-23:45:09 Worker processes cleaned up 2026/08/10-23:45:09 Server closing! Process Backgrounded 2026/08/10-23:45:10 Starman::Server (type Net::Server::PreFork) starting! pid(3992916) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-00:00:19 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-00:00:19 Worker processes cleaned up 2026/08/11-00:00:19 Server closing! Process Backgrounded 2026/08/11-00:00:21 Starman::Server (type Net::Server::PreFork) starting! pid(4001081) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-00:07:47 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-00:07:47 Worker processes cleaned up 2026/08/11-00:07:47 Server closing! Process Backgrounded 2026/08/11-00:07:48 Starman::Server (type Net::Server::PreFork) starting! pid(4008828) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-00:14:21 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-00:14:21 Worker processes cleaned up 2026/08/11-00:14:21 Server closing! Process Backgrounded 2026/08/11-00:14:22 Starman::Server (type Net::Server::PreFork) starting! pid(4016561) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-01:49:23 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-01:49:23 Worker processes cleaned up 2026/08/11-01:49:23 Server closing! Process Backgrounded 2026/08/11-01:49:24 Starman::Server (type Net::Server::PreFork) starting! pid(4039755) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-01:50:14 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-01:50:14 Worker processes cleaned up 2026/08/11-01:50:14 Server closing! Process Backgrounded 2026/08/11-01:50:15 Starman::Server (type Net::Server::PreFork) starting! pid(4040427) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-02:03:29 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-02:03:29 Worker processes cleaned up 2026/08/11-02:03:29 Server closing! Process Backgrounded 2026/08/11-02:03:30 Starman::Server (type Net::Server::PreFork) starting! pid(4055594) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-03:00:26 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-03:00:26 Worker processes cleaned up 2026/08/11-03:00:26 Server closing! Process Backgrounded 2026/08/11-03:00:27 Starman::Server (type Net::Server::PreFork) starting! pid(4078523) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-03:07:43 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-03:07:43 Worker processes cleaned up 2026/08/11-03:07:43 Server closing! Process Backgrounded 2026/08/11-03:07:44 Starman::Server (type Net::Server::PreFork) starting! pid(4086459) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-04:26:41 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-04:26:41 Worker processes cleaned up 2026/08/11-04:26:41 Server closing! Process Backgrounded 2026/08/11-04:26:42 Starman::Server (type Net::Server::PreFork) starting! pid(4094914) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-04:32:21 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-04:32:21 Worker processes cleaned up 2026/08/11-04:32:21 Server closing! Process Backgrounded 2026/08/11-04:32:22 Starman::Server (type Net::Server::PreFork) starting! pid(4102768) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-04:46:09 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-04:46:10 Worker processes cleaned up 2026/08/11-04:46:10 Server closing! Process Backgrounded 2026/08/11-04:46:11 Starman::Server (type Net::Server::PreFork) starting! pid(4110992) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-04:53:04 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-04:53:04 Worker processes cleaned up 2026/08/11-04:53:04 Server closing! Process Backgrounded 2026/08/11-04:53:05 Starman::Server (type Net::Server::PreFork) starting! pid(4118890) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-05:02:25 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-05:02:25 Worker processes cleaned up 2026/08/11-05:02:25 Server closing! Process Backgrounded 2026/08/11-05:02:26 Starman::Server (type Net::Server::PreFork) starting! pid(4127015) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-06:33:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-06:33:17 Worker processes cleaned up 2026/08/11-06:33:17 Server closing! Process Backgrounded 2026/08/11-06:33:18 Starman::Server (type Net::Server::PreFork) starting! pid(4136092) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-06:48:06 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-06:48:06 Worker processes cleaned up 2026/08/11-06:48:06 Server closing! Process Backgrounded 2026/08/11-06:48:07 Starman::Server (type Net::Server::PreFork) starting! pid(4144094) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-06:54:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-06:54:17 Worker processes cleaned up 2026/08/11-06:54:17 Server closing! Process Backgrounded 2026/08/11-06:54:18 Starman::Server (type Net::Server::PreFork) starting! pid(4152013) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-07:00:41 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-07:00:41 Worker processes cleaned up 2026/08/11-07:00:41 Server closing! Process Backgrounded 2026/08/11-07:00:42 Starman::Server (type Net::Server::PreFork) starting! pid(4159954) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-07:15:07 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-07:15:07 Worker processes cleaned up 2026/08/11-07:15:07 Server closing! Process Backgrounded 2026/08/11-07:15:08 Starman::Server (type Net::Server::PreFork) starting! pid(4167947) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-07:47:17 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-07:47:17 Worker processes cleaned up 2026/08/11-07:47:17 Server closing! Process Backgrounded 2026/08/11-07:47:19 Starman::Server (type Net::Server::PreFork) starting! pid(4190549) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-08:36:57 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-08:36:57 Worker processes cleaned up 2026/08/11-08:36:57 Server closing! Process Backgrounded 2026/08/11-08:36:59 Starman::Server (type Net::Server::PreFork) starting! pid(4191470) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-08:38:08 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-08:38:09 Worker processes cleaned up 2026/08/11-08:38:09 Server closing! Process Backgrounded 2026/08/11-08:38:12 Starman::Server (type Net::Server::PreFork) starting! pid(4192391) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-12:38:32 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-12:38:32 Worker processes cleaned up 2026/08/11-12:38:32 Server closing! Process Backgrounded 2026/08/11-12:38:33 Starman::Server (type Net::Server::PreFork) starting! pid(44039) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-13:27:50 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-13:27:50 Worker processes cleaned up 2026/08/11-13:27:50 Server closing! Process Backgrounded 2026/08/11-13:27:52 Starman::Server (type Net::Server::PreFork) starting! pid(59368) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-15:22:51 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-15:22:51 Worker processes cleaned up 2026/08/11-15:22:51 Server closing! Process Backgrounded 2026/08/11-15:22:52 Starman::Server (type Net::Server::PreFork) starting! pid(68326) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-15:56:29 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-15:56:30 Worker processes cleaned up 2026/08/11-15:56:30 Server closing! Process Backgrounded 2026/08/11-15:56:31 Starman::Server (type Net::Server::PreFork) starting! pid(76782) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-16:06:13 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-16:06:13 Worker processes cleaned up 2026/08/11-16:06:13 Server closing! Process Backgrounded 2026/08/11-16:06:14 Starman::Server (type Net::Server::PreFork) starting! pid(84733) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_84734: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55b850a5c688)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55b85c4ab850)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55b85c4ab850)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55b85174b7f0)', 'HASH(0x55b85c488878)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55b85174b7f0)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c488878)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55b85c493b68)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c488878)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55b85c5330b0)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55b85c493cb8)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55b85c513338)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55b85c4ae498)', 'Try::Tiny::Catch=REF(0x55b85c52a918)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55b85c48c528)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55b85c53a2f8)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55b85bd6dc00)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c488878)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55b85c55c0d0)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c488878)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55b85bd98508)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c488878)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55b85c53a838)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55b85c4717a8)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55b85c4e8dd0)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55b8509bbbb8)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55b8509bbc00)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55b85bd98a30)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c488878)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55b85bda2900)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55b850332a50)', 'HASH(0x55b85c488878)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55b850332a50)', 'Net::Server::Proto::UNIX=GLOB(0x55b85c568918)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55b850332a50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55b850332a50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55b850332a50)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55b850332a50)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55b850332a50)', 'port', 'ARRAY(0x55b8509559d0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55b850332a50)', 'CODE(0x55b850332900)', 'HASH(0x55b8503ab250)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55b850332918)', 'CODE(0x55b850332900)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55b8501725a8)', 'Plack::Handler::Starman=HASH(0x55b850332918)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55b85005a9f8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_84735: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55b850a5c260)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55b85c4a6330)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55b85c4a6330)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55b851745f78)', 'HASH(0x55b85c4b5f90)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55b851745f78)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4b5f90)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55b85c48f490)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4b5f90)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55b85c5071f0)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55b85c506890)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55b85c50e9d0)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55b85c4acad0)', 'Try::Tiny::Catch=REF(0x55b85c529c50)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55b85c486e50)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55b85c534d20)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55b853689dd0)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4b5f90)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55b85c557b88)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4b5f90)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55b85c4af9f8)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4b5f90)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55b85c513e08)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55b85c5634b0)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55b85c4e83f0)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55b8509bbbd0)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55b8509bbc18)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55b85bd94410)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55b85bd99bf0)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55b850332a50)', 'HASH(0x55b85c4b5f90)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55b850332a50)', 'Net::Server::Proto::UNIX=GLOB(0x55b85c5633a8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55b850332a50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55b850332a50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55b850332a50)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55b850332a50)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55b850332a50)', 'port', 'ARRAY(0x55b8509559d0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55b850332a50)', 'CODE(0x55b850332900)', 'HASH(0x55b8503ab250)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55b850332918)', 'CODE(0x55b850332900)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55b8501725a8)', 'Plack::Handler::Starman=HASH(0x55b850332918)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55b85005a9f8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_84734: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55b85c4ab568)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55b85c51ff78)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55b85c51ff78)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55b85174b7f0)', 'HASH(0x55b85b87b848)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55b85174b7f0)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85b87b848)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55b85c493b68)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85b87b848)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55b85c5330b0)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55b85c493cb8)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55b85c513338)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55b85c47d028)', 'Try::Tiny::Catch=REF(0x55b85c508030)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55b85c48c528)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55b85c4d0448)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55b85c52f240)', 'ARRAY(0x55b85c4d0448)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55b85c4d0448)', 'CODE(0x55b85c52f240)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55b85c53a2f8)', 'ARRAY(0x55b85c4d0448)', 'CODE(0x55b85c52f240)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55b85c53a2f8)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55b85bd6dc00)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85b87b848)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55b85c55c0d0)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85b87b848)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55b85bd98508)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85b87b848)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55b85c53a838)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55b85c4717a8)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55b85c4e8dd0)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55b8509bbbb8)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55b8509bbc00)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55b85bd98a30)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85b87b848)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55b85bda2900)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55b850332a50)', 'HASH(0x55b85b87b848)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55b850332a50)', 'Net::Server::Proto::UNIX=GLOB(0x55b85c52a720)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55b850332a50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55b850332a50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55b850332a50)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55b850332a50)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55b850332a50)', 'port', 'ARRAY(0x55b8509559d0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55b850332a50)', 'CODE(0x55b850332900)', 'HASH(0x55b8503ab250)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55b850332918)', 'CODE(0x55b850332900)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55b8501725a8)', 'Plack::Handler::Starman=HASH(0x55b850332918)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55b85005a9f8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_84735: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55b85c4a8de0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55b85c51e9d0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55b85c51e9d0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55b851745f78)', 'HASH(0x55b85c4a5b98)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55b851745f78)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4a5b98)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55b85c48f490)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4a5b98)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55b85c5071f0)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55b85c506890)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55b85c50e9d0)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55b85c4b93c0)', 'Try::Tiny::Catch=REF(0x55b85c54b9b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55b85c486e50)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55b85c48b700)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55b85c525b60)', 'ARRAY(0x55b85c48b700)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55b85c48b700)', 'CODE(0x55b85c525b60)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55b85c534d20)', 'ARRAY(0x55b85c48b700)', 'CODE(0x55b85c525b60)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55b85c534d20)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55b853689dd0)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4a5b98)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55b85c557b88)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4a5b98)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55b85c4af9f8)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4a5b98)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55b85c513e08)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55b85c5634b0)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55b85c4e83f0)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55b8509bbbd0)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55b8509bbc18)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55b85bd94410)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55b85bd99bf0)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55b850332a50)', 'HASH(0x55b85c4a5b98)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55b850332a50)', 'Net::Server::Proto::UNIX=GLOB(0x55b85c525e48)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55b850332a50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55b850332a50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55b850332a50)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55b850332a50)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55b850332a50)', 'port', 'ARRAY(0x55b8509559d0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55b850332a50)', 'CODE(0x55b850332900)', 'HASH(0x55b8503ab250)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55b850332918)', 'CODE(0x55b850332900)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55b8501725a8)', 'Plack::Handler::Starman=HASH(0x55b850332918)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55b85005a9f8)') called at /bin/starman line 38 2026/08/11-16:16:12 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-16:16:13 Worker processes cleaned up 2026/08/11-16:16:13 Server closing! Process Backgrounded 2026/08/11-16:16:14 Starman::Server (type Net::Server::PreFork) starting! pid(93186) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_93188: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55a6cfe36050)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55a6db80a3b0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55a6db80a3b0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55a6d0b1fbd0)', 'HASH(0x55a6db6044f0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55a6d0b1fbd0)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db6044f0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55a6db660848)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db6044f0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55a6db66a038)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55a6db6653a0)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55a6db5e0e18)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55a6db6b2a18)', 'Try::Tiny::Catch=REF(0x55a6db659d58)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55a6db5e1250)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55a6db6458c8)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55a6db153e48)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db6044f0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55a6db665430)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db6044f0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55a6db59a020)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db6044f0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55a6db643708)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55a6db646258)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55a6db672398)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55a6cfd95bd0)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55a6cfd95c18)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55a6db17e660)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db6044f0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55a6db16b5d0)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55a6cf725140)', 'HASH(0x55a6db6044f0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55a6cf725140)', 'Net::Server::Proto::UNIX=GLOB(0x55a6db61ed78)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55a6cf725140)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55a6cf725140)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55a6cf725140)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55a6cf725140)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55a6cf725140)', 'port', 'ARRAY(0x55a6cfd30b10)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55a6cf725140)', 'CODE(0x55a6cf724ff0)', 'HASH(0x55a6cf783ba0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55a6cf725008)', 'CODE(0x55a6cf724ff0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55a6cf549bd8)', 'Plack::Handler::Starman=HASH(0x55a6cf725008)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55a6cf466b88)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_93188: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55a6db805fa8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55a6db744880)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55a6db744880)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55a6d0b1fbd0)', 'HASH(0x55a6db715d28)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55a6d0b1fbd0)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db715d28)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55a6db660848)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db715d28)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55a6db66a038)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55a6db6653a0)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55a6db5e0e18)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55a6db5d0ca8)', 'Try::Tiny::Catch=REF(0x55a6db61ed48)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55a6db5e1250)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55a6db6458c8)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55a6db153e48)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db715d28)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55a6db665430)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db715d28)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55a6db59a020)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db715d28)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55a6db643708)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55a6db646258)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55a6db672398)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55a6cfd95bd0)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55a6cfd95c18)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55a6db17e660)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db715d28)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55a6db16b5d0)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55a6cf725140)', 'HASH(0x55a6db715d28)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55a6cf725140)', 'Net::Server::Proto::UNIX=GLOB(0x55a6db65a0e8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55a6cf725140)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55a6cf725140)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55a6cf725140)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55a6cf725140)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55a6cf725140)', 'port', 'ARRAY(0x55a6cfd30b10)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55a6cf725140)', 'CODE(0x55a6cf724ff0)', 'HASH(0x55a6cf783ba0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55a6cf725008)', 'CODE(0x55a6cf724ff0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55a6cf549bd8)', 'Plack::Handler::Starman=HASH(0x55a6cf725008)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55a6cf466b88)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_93187: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55a6cfe35dd8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55a6db5cb8f0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55a6db5cb8f0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55a6d0b1eb50)', 'HASH(0x55a6db708428)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55a6d0b1eb50)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db708428)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55a6db65c4d0)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db708428)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55a6db7f8428)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55a6db65c938)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55a6db5d71d0)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55a6db6531f8)', 'Try::Tiny::Catch=REF(0x55a6db66c218)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55a6db6ae288)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55a6db8006a8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55a6db652f88)', 'ARRAY(0x55a6db8006a8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55a6db8006a8)', 'CODE(0x55a6db652f88)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55a6db63dd58)', 'ARRAY(0x55a6db8006a8)', 'CODE(0x55a6db652f88)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55a6db63dd58)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55a6daf350c0)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db708428)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55a6db65c980)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db708428)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55a6db592520)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db708428)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55a6db72d9a0)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55a6db618470)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55a6db72e048)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55a6cfd95bb8)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55a6cfd95c00)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55a6db178908)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db708428)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55a6db178f08)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55a6cf725140)', 'HASH(0x55a6db708428)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55a6cf725140)', 'Net::Server::Proto::UNIX=GLOB(0x55a6db618578)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55a6cf725140)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55a6cf725140)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55a6cf725140)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55a6cf725140)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55a6cf725140)', 'port', 'ARRAY(0x55a6cfd30b10)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55a6cf725140)', 'CODE(0x55a6cf724ff0)', 'HASH(0x55a6cf783ba0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55a6cf725008)', 'CODE(0x55a6cf724ff0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55a6cf549bd8)', 'Plack::Handler::Starman=HASH(0x55a6cf725008)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55a6cf466b88)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_93188: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55a6db7479e8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55a6db583148)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55a6db583148)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55a6d0b1fbd0)', 'HASH(0x55a6db74b668)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55a6d0b1fbd0)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db74b668)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55a6db660848)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db74b668)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55a6db66a038)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55a6db6653a0)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55a6db5e0e18)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55a6db64e4e0)', 'Try::Tiny::Catch=REF(0x55a6db61ee80)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55a6db5e1250)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55a6db6458c8)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55a6db153e48)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db74b668)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55a6db665430)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db74b668)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55a6db59a020)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db74b668)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55a6db643708)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55a6db646258)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55a6db672398)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55a6cfd95bd0)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55a6cfd95c18)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55a6db17e660)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55a6db74b668)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55a6db16b5d0)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55a6cf725140)', 'HASH(0x55a6db74b668)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55a6cf725140)', 'Net::Server::Proto::UNIX=GLOB(0x55a6db59a6b0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55a6cf725140)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55a6cf725140)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55a6cf725140)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55a6cf725140)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55a6cf725140)', 'port', 'ARRAY(0x55a6cfd30b10)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55a6cf725140)', 'CODE(0x55a6cf724ff0)', 'HASH(0x55a6cf783ba0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55a6cf725008)', 'CODE(0x55a6cf724ff0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55a6cf549bd8)', 'Plack::Handler::Starman=HASH(0x55a6cf725008)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55a6cf466b88)') called at /bin/starman line 38 2026/08/11-16:26:35 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-16:26:35 Worker processes cleaned up 2026/08/11-16:26:35 Server closing! Process Backgrounded 2026/08/11-16:26:36 Starman::Server (type Net::Server::PreFork) starting! pid(101593) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_101595: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55e571ed5d38)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55e57d88c0b0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55e57d88c0b0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55e572bcb660)', 'HASH(0x55e57d6154c8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55e572bcb660)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d6154c8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55e57d7c1eb8)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d6154c8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55e57d8c9980)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55e57d8c6560)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55e57d61d760)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55e57d600560)', 'Try::Tiny::Catch=REF(0x55e57d6006f8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55e57d8262a8)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55e57d8353f0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55e57d5fc7e0)', 'ARRAY(0x55e57d8353f0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55e57d8353f0)', 'CODE(0x55e57d5fc7e0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55e57d868c70)', 'ARRAY(0x55e57d8353f0)', 'CODE(0x55e57d5fc7e0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55e57d868c70)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55e57ce07010)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d6154c8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55e57d7dd668)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d6154c8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55e57d600cb0)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d6154c8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55e57d78e900)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55e57d61d4d8)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55e57d78ea80)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55e571e35c48)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55e571e35c90)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55e57d2185a8)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d6154c8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55e57d20de38)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55e5717ab7b0)', 'HASH(0x55e57d6154c8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55e5717ab7b0)', 'Net::Server::Proto::UNIX=GLOB(0x55e57d8d2588)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55e5717ab7b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55e5717ab7b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55e5717ab7b0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55e5717ab7b0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55e5717ab7b0)', 'port', 'ARRAY(0x55e571db6a80)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55e5717ab7b0)', 'CODE(0x55e5717ab660)', 'HASH(0x55e571822f90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55e5717ab678)', 'CODE(0x55e5717ab660)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55e5715ea678)', 'Plack::Handler::Starman=HASH(0x55e5717ab678)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55e57143ad48)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_101596: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55e571ed6400)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55e57d788470)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55e57d788470)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55e572bcfd18)', 'HASH(0x55e57d615848)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55e572bcfd18)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d615848)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55e57d7c2168)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d615848)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55e57d822f68)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55e57d8c19c0)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55e57d61cdb8)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55e57d70bdb8)', 'Try::Tiny::Catch=REF(0x55e57d8c1c00)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55e57d826600)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55e57d832dc0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55e57d877f98)', 'ARRAY(0x55e57d832dc0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55e57d832dc0)', 'CODE(0x55e57d877f98)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55e57d869f68)', 'ARRAY(0x55e57d832dc0)', 'CODE(0x55e57d877f98)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55e57d869f68)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55e574afa648)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d615848)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55e57d7dc970)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d615848)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55e57d603c98)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d615848)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55e57d73ff98)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55e57d8d2880)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55e57d78f190)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55e571e35c60)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55e571e35ca8)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55e57d2189a8)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d615848)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55e57d212f68)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55e5717ab7b0)', 'HASH(0x55e57d615848)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55e5717ab7b0)', 'Net::Server::Proto::UNIX=GLOB(0x55e57d8d2730)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55e5717ab7b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55e5717ab7b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55e5717ab7b0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55e5717ab7b0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55e5717ab7b0)', 'port', 'ARRAY(0x55e571db6a80)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55e5717ab7b0)', 'CODE(0x55e5717ab660)', 'HASH(0x55e571822f90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55e5717ab678)', 'CODE(0x55e5717ab660)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55e5715ea678)', 'Plack::Handler::Starman=HASH(0x55e5717ab678)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55e57143ad48)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_101595: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55e57d7875c8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55e57d621050)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55e57d621050)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55e572bcb660)', 'HASH(0x55e57d7c4f18)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55e572bcb660)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d7c4f18)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55e57d7c1eb8)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d7c4f18)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55e57d8c9980)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55e57d8c6560)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55e57d61d760)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55e57d633c20)', 'Try::Tiny::Catch=REF(0x55e57d787688)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55e57d8262a8)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55e57d8cda88)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55e57d877fd8)', 'ARRAY(0x55e57d8cda88)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55e57d8cda88)', 'CODE(0x55e57d877fd8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55e57d868c70)', 'ARRAY(0x55e57d8cda88)', 'CODE(0x55e57d877fd8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55e57d868c70)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55e57ce07010)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d7c4f18)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55e57d7dd668)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d7c4f18)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55e57d600cb0)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d7c4f18)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55e57d78e900)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55e57d61d4d8)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55e57d78ea80)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55e571e35c48)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55e571e35c90)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55e57d2185a8)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55e57d20de38)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55e5717ab7b0)', 'HASH(0x55e57d7c4f18)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55e5717ab7b0)', 'Net::Server::Proto::UNIX=GLOB(0x55e57d70e5d8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55e5717ab7b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55e5717ab7b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55e5717ab7b0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55e5717ab7b0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55e5717ab7b0)', 'port', 'ARRAY(0x55e571db6a80)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55e5717ab7b0)', 'CODE(0x55e5717ab660)', 'HASH(0x55e571822f90)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55e5717ab678)', 'CODE(0x55e5717ab660)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55e5715ea678)', 'Plack::Handler::Starman=HASH(0x55e5717ab678)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55e57143ad48)') called at /bin/starman line 38 2026/08/11-16:44:52 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-16:44:52 Worker processes cleaned up 2026/08/11-16:44:52 Server closing! Process Backgrounded 2026/08/11-16:44:55 Starman::Server (type Net::Server::PreFork) starting! pid(110685) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_110688: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x559738083508)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x559743a9f860)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x559743a9f860)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x559738d7afc0)', 'HASH(0x559743b2ea68)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x559738d7afc0)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2ea68)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x559743b0b1f0)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2ea68)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x559743b7e5f0)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x559743b42498)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x559743a9f608)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x559743aad8b0)', 'Try::Tiny::Catch=REF(0x559743ab59b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x559743ade8a0)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x559743b8e208)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x559743ab31a8)', 'ARRAY(0x559743b8e208)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x559743b8e208)', 'CODE(0x559743ab31a8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x559743b8eca0)', 'ARRAY(0x559743b8e208)', 'CODE(0x559743ab31a8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x559743b8eca0)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55974339b258)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2ea68)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x559743afe798)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2ea68)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x559743ac5de8)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2ea68)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x559743ae5140)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x559743aad7a8)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x559743b79f88)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x559737fe38d8)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x559737fe3920)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5597433c4bc8)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2ea68)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5597433cac18)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5597379589d0)', 'HASH(0x559743b2ea68)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5597379589d0)', 'Net::Server::Proto::UNIX=GLOB(0x559743aad310)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5597379589d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5597379589d0)', 'port', 'ARRAY(0x559737f7c8c0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5597379589d0)', 'CODE(0x559737958880)', 'HASH(0x5597379d0e00)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x559737958898)', 'CODE(0x559737958880)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x559737798ec0)', 'Plack::Handler::Starman=HASH(0x559737958898)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5597375e83c8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_110689: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x559738083580)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x559743a9d178)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x559743a9d178)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x559738d7e568)', 'HASH(0x559743b2c418)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x559738d7e568)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2c418)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x559743afcf38)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2c418)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x559743b04fe8)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x559743b3ff68)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x559743a9cf20)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x559743b7cfd0)', 'Try::Tiny::Catch=REF(0x559743aabaf8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x559743add078)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x559743b87f18)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x559743ab0b10)', 'ARRAY(0x559743b87f18)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x559743b87f18)', 'CODE(0x559743ab0b10)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x559743b87270)', 'ARRAY(0x559743b87f18)', 'CODE(0x559743ab0b10)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x559743b87270)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5597433be740)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2c418)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x559743afcfb0)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2c418)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x559743a95cd8)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2c418)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x559743af8618)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x559743aa8ea8)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x559743b40508)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x559737fe38f0)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x559737fe3938)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5597433c4830)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b2c418)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5597433b17b8)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5597379589d0)', 'HASH(0x559743b2c418)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5597379589d0)', 'Net::Server::Proto::UNIX=GLOB(0x559743aabb40)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5597379589d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5597379589d0)', 'port', 'ARRAY(0x559737f7c8c0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5597379589d0)', 'CODE(0x559737958880)', 'HASH(0x5597379d0e00)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x559737958898)', 'CODE(0x559737958880)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x559737798ec0)', 'Plack::Handler::Starman=HASH(0x559737958898)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5597375e83c8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_110688: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x559743b54778)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x559743aa3e90)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x559743aa3e90)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x559738d7afc0)', 'HASH(0x559743ab5b30)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x559738d7afc0)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab5b30)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x559743b0b1f0)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab5b30)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x559743b7e5f0)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x559743b42498)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x559743a9f608)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x559743aa3620)', 'Try::Tiny::Catch=REF(0x559743aad640)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x559743ade8a0)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x559743acfab0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x559743b6f2b0)', 'ARRAY(0x559743acfab0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x559743acfab0)', 'CODE(0x559743b6f2b0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x559743b8eca0)', 'ARRAY(0x559743acfab0)', 'CODE(0x559743b6f2b0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x559743b8eca0)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55974339b258)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab5b30)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x559743afe798)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab5b30)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x559743ac5de8)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab5b30)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x559743ae5140)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x559743aad7a8)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x559743b79f88)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x559737fe38d8)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x559737fe3920)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5597433c4bc8)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab5b30)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5597433cac18)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5597379589d0)', 'HASH(0x559743ab5b30)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5597379589d0)', 'Net::Server::Proto::UNIX=GLOB(0x559743a9f8d8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5597379589d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5597379589d0)', 'port', 'ARRAY(0x559737f7c8c0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5597379589d0)', 'CODE(0x559737958880)', 'HASH(0x5597379d0e00)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x559737958898)', 'CODE(0x559737958880)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x559737798ec0)', 'Plack::Handler::Starman=HASH(0x559737958898)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5597375e83c8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_110689: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x559743b52f50)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x559743acea98)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x559743acea98)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x559738d7e568)', 'HASH(0x559743ab4508)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x559738d7e568)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab4508)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x559743afcf38)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab4508)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x559743b04fe8)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x559743b3ff68)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x559743a9cf20)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5597433c9cd0)', 'Try::Tiny::Catch=REF(0x559743b05ae0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x559743add078)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x559743b87270)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5597433be740)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab4508)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x559743afcfb0)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab4508)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x559743a95cd8)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab4508)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x559743af8618)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x559743aa8ea8)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x559743b40508)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x559737fe38f0)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x559737fe3938)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5597433c4830)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743ab4508)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5597433b17b8)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5597379589d0)', 'HASH(0x559743ab4508)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5597379589d0)', 'Net::Server::Proto::UNIX=GLOB(0x559743a9d1f0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5597379589d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5597379589d0)', 'port', 'ARRAY(0x559737f7c8c0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5597379589d0)', 'CODE(0x559737958880)', 'HASH(0x5597379d0e00)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x559737958898)', 'CODE(0x559737958880)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x559737798ec0)', 'Plack::Handler::Starman=HASH(0x559737958898)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5597375e83c8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_110688: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x559743b79b80)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x559743b602a0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x559743b602a0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x559738d7afc0)', 'HASH(0x559743b17938)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x559738d7afc0)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b17938)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x559743b0b1f0)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b17938)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x559743b7e5f0)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x559743b42498)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x559743a9f608)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x559743b8b3d8)', 'Try::Tiny::Catch=REF(0x559743aa3a40)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x559743ade8a0)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x559743b8eca0)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b17938)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55974339b258)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b17938)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x559743afe798)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b17938)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x559743ac5de8)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b17938)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x559743ae5140)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x559743aad7a8)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x559743b79f88)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x559737fe38d8)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x559737fe3920)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5597433c4bc8)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b17938)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5597433cac18)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5597379589d0)', 'HASH(0x559743b17938)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5597379589d0)', 'Net::Server::Proto::UNIX=GLOB(0x559743b17830)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5597379589d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5597379589d0)', 'port', 'ARRAY(0x559737f7c8c0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5597379589d0)', 'CODE(0x559737958880)', 'HASH(0x5597379d0e00)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x559737958898)', 'CODE(0x559737958880)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x559737798ec0)', 'Plack::Handler::Starman=HASH(0x559737958898)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5597375e83c8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_110689: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x559743ace330)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x559743b75068)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x559743b75068)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x559738d7e568)', 'HASH(0x559743a93670)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x559738d7e568)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a93670)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x559743afcf38)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a93670)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x559743b04fe8)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x559743b3ff68)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x559743a9cf20)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x559743b623f8)', 'Try::Tiny::Catch=REF(0x559743ace6f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x559743add078)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x559743aa8668)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5597433f7b48)', 'ARRAY(0x559743aa8668)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x559743aa8668)', 'CODE(0x5597433f7b48)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x559743b87270)', 'ARRAY(0x559743aa8668)', 'CODE(0x5597433f7b48)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x559743b87270)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a93670)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5597433be740)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a93670)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x559743afcfb0)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a93670)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x559743a95cd8)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a93670)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x559743af8618)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x559743aa8ea8)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x559743b40508)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x559737fe38f0)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x559737fe3938)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5597433c4830)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a93670)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5597433b17b8)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5597379589d0)', 'HASH(0x559743a93670)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5597379589d0)', 'Net::Server::Proto::UNIX=GLOB(0x559743aab960)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5597379589d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5597379589d0)', 'port', 'ARRAY(0x559737f7c8c0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5597379589d0)', 'CODE(0x559737958880)', 'HASH(0x5597379d0e00)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x559737958898)', 'CODE(0x559737958880)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x559737798ec0)', 'Plack::Handler::Starman=HASH(0x559737958898)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5597375e83c8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_110688: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x559743b1b060)', 'package CGI::Compile::ROOT::kohadevbox_koha_mainpage_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/mainpage.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Copyright Paul Poulain 2002^J# Parts Copyright Liblime 2007^J# Copyright (C) 2013 Mark Tompsett^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Output qw( output_html_with_http_headers );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Koha;^Juse C4::Tags qw( get_count_by_tag_status );^Juse Koha::AdditionalContents;^Juse Koha::Patron::Modifications;^Juse Koha::Patron::Discharge;^Juse Koha::Reviews;^Juse Koha::ArticleRequests;^Juse Koha::BiblioFrameworks;^Juse Koha::ProblemReports;^Juse Koha::Quotes;^Juse Koha::Suggestions;^Juse Koha::BackgroundJobs;^Juse Koha::CurbsidePickups;^Juse Koha::Tickets;^J^Jmy $query = CGI->new;^J^Jmy ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(^J {^J template_name => "intranet-main.tt",^J query => $query,^J type => "intranet",^J flagsrequired => { catalogue => 1, },^J }^J);^J^Jmy $logged_in_user = Koha::Patrons->find($loggedinuser);^J^J# Checking if there is a Fast Cataloging Framework^J$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find(\'FA\');^J^Jmy $homebranch;^Jif ( C4::Context->userenv ) {^J $homebranch = C4::Context->userenv->{\'branch\'};^J}^Jmy $koha_news = Koha::AdditionalContents->search_for_display(^J {^J category => \'news\',^J location => [ \'staff_only\', \'staff_and_opac\' ],^J lang => $template->lang,^J library_id => $homebranch^J }^J);^J^J$template->param(^J koha_news => $koha_news,^J daily_quote => Koha::Quotes->get_daily_quote(),^J);^J^Jmy $branch =^J ( C4::Context->preference("IndependentBranchesPatronModifications")^J || C4::Context->preference("IndependentBranches") )^J && !$flags->{\'superlibrarian\'}^J ? C4::Context->userenv()->{\'branch\'}^J : undef;^J^Jmy $pendingcomments = Koha::Reviews->search_limited( { approved => 0 } )->count;^Jmy $pendingtags = get_count_by_tag_status(0);^J^J# Get current branch count and total viewable count, if they don\'t match then pass^J# both to template^J^Jif ( C4::Context->only_my_library ) {^J my $local_pendingsuggestions_count = Koha::Suggestions->search(^J { status => "ASKED", branchcode => C4::Context->userenv()->{\'branch\'}, archived => 0 } )->count();^J $template->param( pendingsuggestions => $local_pendingsuggestions_count );^J} else {^J my $pendingsuggestions = Koha::Suggestions->search( { status => "ASKED", archived => 0 } );^J my $local_pendingsuggestions_count =^J $pendingsuggestions->search( { \'me.branchcode\' => C4::Context->userenv()->{\'branch\'} } )->count();^J my $pendingsuggestions_count = $pendingsuggestions->count();^J $template->param(^J all_pendingsuggestions => $pendingsuggestions_count != $local_pendingsuggestions_count^J ? $pendingsuggestions_count^J : 0,^J pendingsuggestions => $local_pendingsuggestions_count^J );^J}^J^Jmy $pending_borrower_modifications = Koha::Patron::Modifications->pending_count($branch);^Jmy $pending_discharge_requests = Koha::Patron::Discharge::count( { pending => 1 } );^Jmy $pending_article_requests = Koha::ArticleRequests->search_limited(^J {^J status => Koha::ArticleRequest::Status::Requested,^J $branch ? ( \'me.branchcode\' => $branch ) : (),^J }^J)->count;^Jmy $pending_problem_reports = Koha::ProblemReports->search( { status => \'New\' } );^J^Jif ( C4::Context->preference(\'OpacCatalogConcerns\') || C4::Context->preference(\'CatalogConcerns\') ) {^J my $pending_biblio_tickets = Koha::Tickets->search(^J {^J resolved_date => undef,^J biblio_id => { \'!=\' => undef }^J }^J );^J $template->param( pending_biblio_tickets => $pending_biblio_tickets->count );^J}^J^Junless ( $logged_in_user->has_permission( { parameters => \'manage_background_jobs\' } ) ) {^J my $already_ran_jobs =^J Koha::BackgroundJobs->search( { borrowernumber => $logged_in_user->borrowernumber } )->count ? 1 : 0;^J $template->param( already_ran_jobs => $already_ran_jobs );^J}^J^J$template->param(^J holds_with_cancellation_requests => Koha::Holds->waiting->filter_by_has_cancellation_requests->count );^J^Jif ( C4::Context->preference(\'CurbsidePickup\') ) {^J $template->param(^J new_curbside_pickups => Koha::CurbsidePickups->search(^J {^J branchcode => $homebranch,^J }^J )->filter_by_to_be_staged->filter_by_scheduled_today,^J );^J}^J^Jif ( C4::Context->preference(\'PatronSelfRegistrationAlert\') ) {^J my $categorycode = C4::Context->preference(\'PatronSelfRegistrationDefaultCategory\');^J my $branchcode = C4::Context::mybranch();^J^J my $rs = Koha::Patrons->search( { categorycode => $categorycode } );^J^J $template->param(^J self_registered_count => $rs->count,^J self_registered_mybranch_count => $rs->search( { branchcode => $branchcode } )->count,^J );^J}^J^J$template->param(^J pendingcomments => $pendingcomments,^J pendingtags => $pendingtags,^J pending_borrower_modifications => $pending_borrower_modifications,^J pending_discharge_requests => $pending_discharge_requests,^J pending_article_requests => $pending_article_requests,^J pending_problem_reports => $pending_problem_reports,^J);^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x559743adbe10)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x559743adbe10)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x559737fe3a58)', 'HASH(0x559743aa3ff8)', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x559737fe3a58)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743aa3ff8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x559743b7a060)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743aa3ff8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x559743b8ecb8)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x559743aa7870)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x559743aaafd8)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x559743aaa5b8)', 'Try::Tiny::Catch=REF(0x559743b5ffa0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x559743b7a918)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x559743b7a828)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55974339b258)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743aa3ff8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x559743afe798)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743aa3ff8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x559743ac5de8)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743aa3ff8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x559743ae5140)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x559743aad7a8)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x559743b79f88)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x559737fe38d8)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x559737fe3920)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5597433c4bc8)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743aa3ff8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5597433cac18)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5597379589d0)', 'HASH(0x559743aa3ff8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5597379589d0)', 'Net::Server::Proto::UNIX=GLOB(0x559743ac8440)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5597379589d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5597379589d0)', 'port', 'ARRAY(0x559737f7c8c0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5597379589d0)', 'CODE(0x559737958880)', 'HASH(0x5597379d0e00)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x559737958898)', 'CODE(0x559737958880)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x559737798ec0)', 'Plack::Handler::Starman=HASH(0x559737958898)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5597375e83c8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_110689: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x559743b753b0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x559743b0b678)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x559743b0b678)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x559738d7e568)', 'HASH(0x559743b61e58)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x559738d7e568)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b61e58)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x559743afcf38)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b61e58)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x559743b04fe8)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x559743b3ff68)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x559743a9cf20)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x559743b620c8)', 'Try::Tiny::Catch=REF(0x559743b19758)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x559743add078)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x559743b87270)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5597433be740)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b61e58)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x559743afcfb0)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b61e58)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x559743a95cd8)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b61e58)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x559743af8618)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x559743aa8ea8)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x559743b40508)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x559737fe38f0)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x559737fe3938)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5597433c4830)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b61e58)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5597433b17b8)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5597379589d0)', 'HASH(0x559743b61e58)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5597379589d0)', 'Net::Server::Proto::UNIX=GLOB(0x559743b5f088)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5597379589d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5597379589d0)', 'port', 'ARRAY(0x559737f7c8c0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5597379589d0)', 'CODE(0x559737958880)', 'HASH(0x5597379d0e00)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x559737958898)', 'CODE(0x559737958880)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x559737798ec0)', 'Plack::Handler::Starman=HASH(0x559737958898)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5597375e83c8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_110688: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x559743aa7030)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x559743b1fbe0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x559743b1fbe0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x559738d7afc0)', 'HASH(0x559743b64138)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x559738d7afc0)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b64138)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x559743b0b1f0)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b64138)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x559743b7e5f0)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x559743b42498)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x559743a9f608)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x559743aa41d8)', 'Try::Tiny::Catch=REF(0x559743ab5b30)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x559743ade8a0)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x559743b8eca0)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b64138)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55974339b258)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b64138)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x559743afe798)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b64138)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x559743ac5de8)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b64138)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x559743ae5140)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x559743aad7a8)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x559743b79f88)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x559737fe38d8)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x559737fe3920)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5597433c4bc8)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b64138)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5597433cac18)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5597379589d0)', 'HASH(0x559743b64138)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5597379589d0)', 'Net::Server::Proto::UNIX=GLOB(0x559743aaa420)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5597379589d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5597379589d0)', 'port', 'ARRAY(0x559737f7c8c0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5597379589d0)', 'CODE(0x559737958880)', 'HASH(0x5597379d0e00)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x559737958898)', 'CODE(0x559737958880)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x559737798ec0)', 'Plack::Handler::Starman=HASH(0x559737958898)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5597375e83c8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_110689: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x559743b0b630)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dauthorities_2dhome_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-authorities-home.pl^J#!/usr/bin/perl^J^J# Copyright 2000-2002 Katipo Communications^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse URI::Escape qw( uri_escape_utf8 );^Juse Array::Utils qw(intersect);^J^Juse C4::Auth qw( get_template_and_user );^J^Juse C4::Context;^Juse C4::Output qw( pagination_bar output_html_with_http_headers );^Juse C4::Koha;^Juse C4::Search::History;^Juse C4::Languages;^Juse Koha::XSLT::Base;^J^Juse Koha::Authority::Types;^Juse Koha::SearchEngine::Search;^Juse Koha::SearchEngine::QueryBuilder;^J^Jmy $query = CGI->new;^Jmy $op = $query->param(\'op\') || \'\';^Jmy $authtypecode = $query->param(\'authtypecode\') || \'\';^Jmy $dbh = C4::Context->dbh;^J^Jmy $startfrom = $query->param(\'startfrom\') || 1;^Jmy $resultsperpage = $query->param(\'resultsperpage\') || 20;^Jmy $authid = $query->param(\'authid\');^Jmy ( $template, $loggedinuser, $cookie );^J^Jmy $authority_types = Koha::Authority::Types->search( {}, { order_by => [\'authtypetext\'] } );^J^Jif ( $op eq "do_search" ) {^J my @input_marclist = $query->multi_param(\'marclist\');^J my @and_or = $query->multi_param(\'and_or\');^J my @excluding = $query->multi_param(\'excluding\');^J my @operator = $query->multi_param(\'operator\');^J my $orderby = $query->param(\'orderby\');^J my @value = $query->multi_param(\'value\');^J $value[0] ||= q||;^J^J # validation of "Where"^J my @valid_marc_list = qw( all match mainentry );^J my @marclist = intersect( @input_marclist, @valid_marc_list );^J @marclist = (\'all\') unless @marclist;^J^J my $builder = Koha::SearchEngine::QueryBuilder->new( { index => $Koha::SearchEngine::AUTHORITIES_INDEX } );^J my $searcher = Koha::SearchEngine::Search->new( { index => $Koha::SearchEngine::AUTHORITIES_INDEX } );^J my $search_query = $builder->build_authorities_query_compat(^J \@marclist, \@and_or,^J \@excluding, \@operator, \@value, $authtypecode, $orderby^J );^J my $offset = ( $startfrom - 1 ) * $resultsperpage + 1;^J my ( $results, $total ) = $searcher->search_auth_compat( $search_query, $offset, $resultsperpage );^J ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "opac-authoritiessearchresultlist.tt",^J query => $query,^J type => \'opac\',^J authnotrequired => 1,^J }^J );^J $template->param( search_query => $search_query ) if C4::Context->preference(\'DumpSearchQueryTemplate\');^J^J # multi page display gestion^J my $value_url = uri_escape_utf8( $value[0] );^J my $base_url =^J "opac-authorities-home.pl?"^J . "marclist=$marclist[0]"^J . "&and_or=$and_or[0]"^J . "&excluding=$excluding[0]"^J . "&operator=$operator[0]"^J . "&value=$value_url"^J . "&resultsperpage=$resultsperpage"^J . "&type=opac"^J . "&op=do_search"^J . "&authtypecode=$authtypecode"^J . "&orderby=$orderby";^J^J my $from = ( $startfrom - 1 ) * $resultsperpage + 1;^J my $to;^J if ( !defined $total ) {^J $total = 0;^J }^J^J if ( $total < $startfrom * $resultsperpage ) {^J $to = $total;^J } else {^J $to = $startfrom * $resultsperpage;^J }^J^J my $AuthorityXSLTOpacResultsDisplay = C4::Context->preference(\'AuthorityXSLTOpacResultsDisplay\');^J if ( $results && $AuthorityXSLTOpacResultsDisplay ) {^J my $lang = C4::Languages::getlanguage();^J foreach my $result (@$results) {^J my $authority = Koha::Authorities->find( $result->{authid} );^J next unless $authority;^J my $authtypecode = $authority->authtypecode;^J my $xsl = $AuthorityXSLTOpacResultsDisplay;^J^J $xsl =~ s/\{langcode\}/$lang/g;^J $xsl =~ s/\{authtypecode\}/$authtypecode/g;^J my $xslt_engine = Koha::XSLT::Base->new;^J my $output = $xslt_engine->transform( { xml => $authority->marcxml, file => $xsl } );^J if ( $xslt_engine->err ) {^J warn "XSL transformation failed ($xsl): " . $xslt_engine->err;^J next;^J }^J $result->{html} = $output;^J }^J }^J^J $template->param(^J pagination_bar => pagination_bar(^J $base_url, int( $total / $resultsperpage ) + 1,^J $startfrom, \'startfrom\'^J ),^J total => $total,^J from => $from,^J to => $to,^J );^J^J unless ( C4::Context->preference(\'OPACShowUnusedAuthorities\') ) {^J^J # TODO implement usage counts in the indexes to filter during searching^J my @usedauths = grep { $_->{used} > 0 } @$results;^J $results = \@usedauths;^J }^J^J $template->param( result => $results ) if $results;^J^J # Opac search history^J if ( C4::Context->preference(\'EnableOpacSearchHistory\') ) {^J if ( $startfrom == 1 ) {^J my $path_info = $query->url( -path_info => 1 );^J my $query_cgi_history = $query->url( -query => 1 );^J $query_cgi_history =~ s/^$path_info\?//;^J $query_cgi_history =~ s/;/&/g;^J^J unless ($loggedinuser) {^J my $new_search = C4::Search::History::add_to_session(^J {^J cgi => $query,^J query_desc => $value[0],^J query_cgi => $query_cgi_history,^J total => $total,^J type => "authority",^J }^J );^J } else {^J^J # To the session (the user is logged in)^J C4::Search::History::add(^J {^J userid => $loggedinuser,^J sessionid => $query->cookie("CGISESSID"),^J query_desc => $value[0],^J query_cgi => $query_cgi_history,^J total => $total,^J type => "authority",^J }^J );^J }^J }^J }^J^J $template->param( orderby => $orderby );^J $template->param(^J startfrom => $startfrom,^J resultsperpage => $resultsperpage,^J countfuzzy => !( C4::Context->preference(\'OPACShowUnusedAuthorities\') ),^J resultcount => scalar @$results,^J authtypecode => $authtypecode,^J authtypetext => $authority_types->find($authtypecode)->authtypetext,^J isEDITORS => $authtypecode eq \'EDITORS\',^J );^J^J} else {^J ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "opac-authorities-home.tt",^J query => $query,^J type => \'opac\',^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J );^J^J}^J^J$template->param(^J authority_types => $authority_types,^J authtypecode => $authtypecode,^J);^J^J# Print the page^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-authorities-home.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x559743b0ee98)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x559743b0ee98)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x559738d7e568)', 'HASH(0x559743a98d48)', '/kohadevbox/koha/opac/opac-authorities-home.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x559738d7e568)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a98d48)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x559743afcf38)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a98d48)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x559743b04fe8)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x559743b3ff68)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x559743a9cf20)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x559743ab02b8)', 'Try::Tiny::Catch=REF(0x559743b75140)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x559743add078)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x559743b87270)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5597433be740)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a98d48)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x559743afcfb0)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a98d48)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x559743a95cd8)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a98d48)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x559743af8618)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x559743aa8ea8)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x559743b40508)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x559737fe38f0)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x559737fe3938)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5597433c4830)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a98d48)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5597433b17b8)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5597379589d0)', 'HASH(0x559743a98d48)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5597379589d0)', 'Net::Server::Proto::UNIX=GLOB(0x559743b1c9c8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5597379589d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5597379589d0)', 'port', 'ARRAY(0x559737f7c8c0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5597379589d0)', 'CODE(0x559737958880)', 'HASH(0x5597379d0e00)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x559737958898)', 'CODE(0x559737958880)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x559737798ec0)', 'Plack::Handler::Starman=HASH(0x559737958898)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5597375e83c8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_110688: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x559743ae7c08)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x559743aeb628)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x559743aeb628)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x559738d7afc0)', 'HASH(0x559743adbf00)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x559738d7afc0)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743adbf00)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x559743b0b1f0)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743adbf00)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x559743b7e5f0)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x559743b42498)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x559743a9f608)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x559743b92748)', 'Try::Tiny::Catch=REF(0x559743b1f958)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x559743ade8a0)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x559743b8eca0)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55974339b258)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743adbf00)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x559743afe798)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743adbf00)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x559743ac5de8)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743adbf00)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x559743ae5140)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x559743aad7a8)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x559743b79f88)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x559737fe38d8)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x559737fe3920)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5597433c4bc8)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743adbf00)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5597433cac18)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5597379589d0)', 'HASH(0x559743adbf00)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5597379589d0)', 'Net::Server::Proto::UNIX=GLOB(0x559743aa7120)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5597379589d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5597379589d0)', 'port', 'ARRAY(0x559737f7c8c0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5597379589d0)', 'CODE(0x559737958880)', 'HASH(0x5597379d0e00)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x559737958898)', 'CODE(0x559737958880)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x559737798ec0)', 'Plack::Handler::Starman=HASH(0x559737958898)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5597375e83c8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_110689: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x559743af23f8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x559743aabcf0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x559743aabcf0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x559738d7e568)', 'HASH(0x559743b0b810)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x559738d7e568)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b0b810)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x559743afcf38)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b0b810)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x559743b04fe8)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x559743b3ff68)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x559743a9cf20)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x559743b91388)', 'Try::Tiny::Catch=REF(0x559743a99870)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x559743add078)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x559743b83ca8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x559743b19c38)', 'ARRAY(0x559743b83ca8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x559743b83ca8)', 'CODE(0x559743b19c38)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x559743b87270)', 'ARRAY(0x559743b83ca8)', 'CODE(0x559743b19c38)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x559743b87270)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5597433be740)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b0b810)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x559743afcfb0)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b0b810)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x559743a95cd8)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b0b810)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x559743af8618)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x559743aa8ea8)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x559743b40508)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x559737fe38f0)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x559737fe3938)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5597433c4830)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b0b810)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5597433b17b8)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5597379589d0)', 'HASH(0x559743b0b810)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5597379589d0)', 'Net::Server::Proto::UNIX=GLOB(0x559743ace198)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5597379589d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5597379589d0)', 'port', 'ARRAY(0x559737f7c8c0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5597379589d0)', 'CODE(0x559737958880)', 'HASH(0x5597379d0e00)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x559737958898)', 'CODE(0x559737958880)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x559737798ec0)', 'Plack::Handler::Starman=HASH(0x559737958898)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5597375e83c8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_110688: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x559743b3aa40)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x559743b0e060)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x559743b0e060)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x559738d7afc0)', 'HASH(0x559743b22540)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x559738d7afc0)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b22540)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x559743b0b1f0)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b22540)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x559743b7e5f0)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x559743b42498)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x559743a9f608)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x559743b54838)', 'Try::Tiny::Catch=REF(0x559743aeb538)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x559743ade8a0)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x559743b59288)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x559743b223f0)', 'ARRAY(0x559743b59288)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x559743b59288)', 'CODE(0x559743b223f0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x559743b8eca0)', 'ARRAY(0x559743b59288)', 'CODE(0x559743b223f0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x559743b8eca0)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b22540)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55974339b258)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b22540)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x559743afe798)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b22540)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x559743ac5de8)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b22540)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x559743ae5140)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x559743aad7a8)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x559743b79f88)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x559737fe38d8)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x559737fe3920)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5597433c4bc8)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743b22540)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5597433cac18)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5597379589d0)', 'HASH(0x559743b22540)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5597379589d0)', 'Net::Server::Proto::UNIX=GLOB(0x5597433f8108)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5597379589d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5597379589d0)', 'port', 'ARRAY(0x559737f7c8c0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5597379589d0)', 'CODE(0x559737958880)', 'HASH(0x5597379d0e00)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x559737958898)', 'CODE(0x559737958880)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x559737798ec0)', 'Plack::Handler::Starman=HASH(0x559737958898)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5597375e83c8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_110688: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x559743ae7710)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x559743aa3bf0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x559743aa3bf0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x559738d7afc0)', 'HASH(0x559743a9c9a0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x559738d7afc0)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a9c9a0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x559743b0b1f0)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a9c9a0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x559743b7e5f0)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x559743b42498)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x559743a9f608)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x559743b64ab0)', 'Try::Tiny::Catch=REF(0x559743b1acb8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x559743ade8a0)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x559743b647c8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x559743aa3cf8)', 'ARRAY(0x559743b647c8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x559743b647c8)', 'CODE(0x559743aa3cf8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x559743b8eca0)', 'ARRAY(0x559743b647c8)', 'CODE(0x559743aa3cf8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x559743b8eca0)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55974339b258)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a9c9a0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x559743afe798)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a9c9a0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x559743ac5de8)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a9c9a0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x559743ae5140)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x559743aad7a8)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x559743b79f88)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x559737fe38d8)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x559737fe3920)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5597433c4bc8)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x559743a9c9a0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5597433cac18)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5597379589d0)', 'HASH(0x559743a9c9a0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5597379589d0)', 'Net::Server::Proto::UNIX=GLOB(0x559743ade570)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5597379589d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5597379589d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5597379589d0)', 'port', 'ARRAY(0x559737f7c8c0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5597379589d0)', 'CODE(0x559737958880)', 'HASH(0x5597379d0e00)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x559737958898)', 'CODE(0x559737958880)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x559737798ec0)', 'Plack::Handler::Starman=HASH(0x559737958898)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5597375e83c8)') called at /bin/starman line 38 2026/08/11-17:45:32 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-17:45:32 Worker processes cleaned up 2026/08/11-17:45:32 Server closing! Process Backgrounded 2026/08/11-17:45:33 Starman::Server (type Net::Server::PreFork) starting! pid(128624) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_128627: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x56400b822d00)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x56401713bb68)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x56401713bb68)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x56400c51a628)', 'HASH(0x564017138b80)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x56400c51a628)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017138b80)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x564017000978)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017138b80)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x564016fb3498)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5640170cb690)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x564016fc25f0)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x564017065d38)', 'Try::Tiny::Catch=REF(0x56401706a058)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56401701d0d8)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x564017102638)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017138b80)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x564016b64668)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017138b80)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5640170a4110)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017138b80)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5640171952b0)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017138b80)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56401717a5a8)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56401702eda8)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x564016f4f9d0)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x56400b782bf0)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x56400b782c38)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x564016b6b678)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017138b80)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x564016b6b420)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x56400b0f8e30)', 'HASH(0x564017138b80)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x56400b0f8e30)', 'Net::Server::Proto::UNIX=GLOB(0x56401702ef10)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x56400b0f8e30)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x56400b0f8e30)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x56400b0f8e30)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x56400b0f8e30)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x56400b0f8e30)', 'port', 'ARRAY(0x56400b71c710)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x56400b0f8e30)', 'CODE(0x56400b0f8ce0)', 'HASH(0x56400b170d60)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x56400b0f8cf8)', 'CODE(0x56400b0f8ce0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56400af35e90)', 'Plack::Handler::Starman=HASH(0x56400b0f8cf8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x56400ae34a00)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_128627: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x56401713c030)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x564016fdd980)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x564016fdd980)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x56400c51a628)', 'HASH(0x564017065660)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x56400c51a628)', 'HASH(0x564017065660)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065660)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x564017000978)', 'HASH(0x564017065660)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065660)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x564016fb3498)', 'HASH(0x564017065660)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065660)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5640170cb690)', 'HASH(0x564017065660)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065660)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x564016fc25f0)', 'HASH(0x564017065660)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065660)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56401704cf90)', 'Try::Tiny::Catch=REF(0x5640170c0518)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56401701d0d8)', 'HASH(0x564017065660)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065660)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5640170fe3e8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x564017065eb8)', 'ARRAY(0x5640170fe3e8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5640170fe3e8)', 'CODE(0x564017065eb8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x564017102638)', 'ARRAY(0x5640170fe3e8)', 'CODE(0x564017065eb8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x564017102638)', 'HASH(0x564017065660)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065660)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x564016b64668)', 'HASH(0x564017065660)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065660)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5640170a4110)', 'HASH(0x564017065660)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065660)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5640171952b0)', 'HASH(0x564017065660)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065660)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56401717a5a8)', 'HASH(0x564017065660)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065660)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56401702eda8)', 'HASH(0x564017065660)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065660)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x564016f4f9d0)', 'HASH(0x564017065660)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065660)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x56400b782bf0)', 'HASH(0x564017065660)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x56400b782c38)', 'HASH(0x564017065660)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065660)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x564016b6b678)', 'HASH(0x564017065660)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065660)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x564016b6b420)', 'HASH(0x564017065660)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x56400b0f8e30)', 'HASH(0x564017065660)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x56400b0f8e30)', 'Net::Server::Proto::UNIX=GLOB(0x564016fc6260)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x56400b0f8e30)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x56400b0f8e30)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x56400b0f8e30)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x56400b0f8e30)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x56400b0f8e30)', 'port', 'ARRAY(0x56400b71c710)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x56400b0f8e30)', 'CODE(0x56400b0f8ce0)', 'HASH(0x56400b170d60)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x56400b0f8cf8)', 'CODE(0x56400b0f8ce0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56400af35e90)', 'Plack::Handler::Starman=HASH(0x56400b0f8cf8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x56400ae34a00)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_128626: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x56400b822dc8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x56401713c880)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x56401713c880)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x56400c506e88)', 'HASH(0x56401713c130)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x56400c506e88)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56401713c130)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x564017002468)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56401713c130)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5640170d4be8)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x564016ff97a8)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x564016fc7970)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x564017067a08)', 'Try::Tiny::Catch=REF(0x564017069c60)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x564017021e80)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5640171041a0)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56401713c130)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x56400e44e520)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56401713c130)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5640170a4d18)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56401713c130)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56401703ba68)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56401713c130)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x564016f97560)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x564016f97650)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56401701d288)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x56400b782bd8)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x56400b782c20)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x564016b6cf40)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56401713c130)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x564016b71e10)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x56400b0f8e30)', 'HASH(0x56401713c130)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x56400b0f8e30)', 'Net::Server::Proto::UNIX=GLOB(0x564017034538)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x56400b0f8e30)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x56400b0f8e30)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x56400b0f8e30)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x56400b0f8e30)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x56400b0f8e30)', 'port', 'ARRAY(0x56400b71c710)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x56400b0f8e30)', 'CODE(0x56400b0f8ce0)', 'HASH(0x56400b170d60)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x56400b0f8cf8)', 'CODE(0x56400b0f8ce0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56400af35e90)', 'Plack::Handler::Starman=HASH(0x56400b0f8cf8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x56400ae34a00)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_128627: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x56401704d4a0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x564017080fa8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x564017080fa8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x56400c51a628)', 'HASH(0x564017065978)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x56400c51a628)', 'HASH(0x564017065978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065978)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x564017000978)', 'HASH(0x564017065978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065978)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x564016fb3498)', 'HASH(0x564017065978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065978)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5640170cb690)', 'HASH(0x564017065978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065978)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x564016fc25f0)', 'HASH(0x564017065978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065978)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5640170a8198)', 'Try::Tiny::Catch=REF(0x5640170660c8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56401701d0d8)', 'HASH(0x564017065978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065978)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5640170d7228)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x56401706a220)', 'ARRAY(0x5640170d7228)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5640170d7228)', 'CODE(0x56401706a220)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x564017102638)', 'ARRAY(0x5640170d7228)', 'CODE(0x56401706a220)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x564017102638)', 'HASH(0x564017065978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065978)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x564016b64668)', 'HASH(0x564017065978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065978)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5640170a4110)', 'HASH(0x564017065978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065978)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5640171952b0)', 'HASH(0x564017065978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065978)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56401717a5a8)', 'HASH(0x564017065978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065978)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56401702eda8)', 'HASH(0x564017065978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065978)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x564016f4f9d0)', 'HASH(0x564017065978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065978)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x56400b782bf0)', 'HASH(0x564017065978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x56400b782c38)', 'HASH(0x564017065978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065978)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x564016b6b678)', 'HASH(0x564017065978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x564017065978)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x564016b6b420)', 'HASH(0x564017065978)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x56400b0f8e30)', 'HASH(0x564017065978)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x56400b0f8e30)', 'Net::Server::Proto::UNIX=GLOB(0x564017138838)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x56400b0f8e30)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x56400b0f8e30)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x56400b0f8e30)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x56400b0f8e30)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x56400b0f8e30)', 'port', 'ARRAY(0x56400b71c710)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x56400b0f8e30)', 'CODE(0x56400b0f8ce0)', 'HASH(0x56400b170d60)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x56400b0f8cf8)', 'CODE(0x56400b0f8ce0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56400af35e90)', 'Plack::Handler::Starman=HASH(0x56400b0f8cf8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x56400ae34a00)') called at /bin/starman line 38 2026/08/11-17:54:05 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-17:54:05 Worker processes cleaned up 2026/08/11-17:54:05 Server closing! Process Backgrounded 2026/08/11-17:54:06 Starman::Server (type Net::Server::PreFork) starting! pid(137058) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_137059: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5563ae9ca158)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5563ba1d1748)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5563ba1d1748)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5563af6c1e28)', 'HASH(0x5563af6c14e0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5563af6c1e28)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5563af6c14e0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5563ba0fbdc0)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5563af6c14e0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5563ba132cb0)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5563ba25f0b8)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5563ba256f70)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5563ba31dee0)', 'Try::Tiny::Catch=REF(0x5563ba2b8508)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5563ba2537a0)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5563ba30a560)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5563b9ccf880)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5563af6c14e0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5563ba261820)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5563af6c14e0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5563ba1af790)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5563af6c14e0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5563ba3cadd8)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5563ba25b250)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5563ba100688)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5563ae929cc8)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5563ae929d10)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5563b9d02108)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5563af6c14e0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5563b9cf07c0)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5563ae2a0be0)', 'HASH(0x5563af6c14e0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5563ae2a0be0)', 'Net::Server::Proto::UNIX=GLOB(0x5563ba365158)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5563ae2a0be0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5563ae2a0be0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5563ae2a0be0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5563ae2a0be0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5563ae2a0be0)', 'port', 'ARRAY(0x5563ae8c3870)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5563ae2a0be0)', 'CODE(0x5563ae2a0a90)', 'HASH(0x5563ae318c40)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5563ae2a0aa8)', 'CODE(0x5563ae2a0a90)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5563ae0e05c8)', 'Plack::Handler::Starman=HASH(0x5563ae2a0aa8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5563adf87e60)') called at /bin/starman line 38 2026/08/11-17:59:09 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-17:59:10 Worker processes cleaned up 2026/08/11-17:59:10 Server closing! Process Backgrounded 2026/08/11-17:59:10 Starman::Server (type Net::Server::PreFork) starting! pid(145041) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI connect('database=koha_boundwith;host=db;port=3306','koha_boundwith',...) failed: Unknown server host 'db' (-2) at /kohadevbox/koha/Koha/Database.pm line 75. at /kohadevbox/koha/Koha/Database.pm line 125 at /usr/share/perl5/DBIx/Class/Exception.pm line 77 DBIx::Class::Exception::throw('DBIx::Class::Exception', 'DBI Connection failed: DBI connect(\'database=koha_boundwith;host=db;port=3306\',\'koha_boundwith\',...) failed: Unknown server host \'db\' (-2) at /kohadevbox/koha/Koha/Database.pm line 75.^J') called at /kohadevbox/koha/Koha/Schema.pm line 55 Koha::Schema::__ANON__('DBI Connection failed: DBI connect(\'database=koha_boundwith;host=db;port=3306\',\'koha_boundwith\',...) failed: Unknown server host \'db\' (-2) at /kohadevbox/koha/Koha/Database.pm line 75.^J') called at /usr/share/perl5/DBIx/Class/Schema.pm line 1087 eval {...} at /usr/share/perl5/DBIx/Class/Schema.pm line 1108 DBIx::Class::Schema::throw_exception('Koha::Schema=HASH(0x561c5fc51098)', 'DBI Connection failed: DBI connect(\'database=koha_boundwith;host=db;port=3306\',\'koha_boundwith\',...) failed: Unknown server host \'db\' (-2) at /kohadevbox/koha/Koha/Database.pm line 75.^J') called at /usr/share/perl5/DBIx/Class/Storage.pm line 113 DBIx::Class::Storage::throw_exception('DBIx::Class::Storage::DBI=HASH(0x561c5ff39c80)', 'DBI Connection failed: DBI connect(\'database=koha_boundwith;host=db;port=3306\',\'koha_boundwith\',...) failed: Unknown server host \'db\' (-2) at /kohadevbox/koha/Koha/Database.pm line 75.^J') called at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1680 DBIx::Class::Storage::DBI::catch {...} ('DBI connect(\'database=koha_boundwith;host=db;port=3306\',\'koha_boundwith\',...) failed: Unknown server host \'db\' (-2) at /kohadevbox/koha/Koha/Database.pm line 75.^J') called at /usr/share/perl5/Try/Tiny.pm line 123 Try::Tiny::try('CODE(0x561c5fc7bce0)', 'Try::Tiny::Catch=REF(0x561c5fe74248)') called at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1681 DBIx::Class::Storage::DBI::_connect('DBIx::Class::Storage::DBI=HASH(0x561c5ff39c80)') called at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1047 DBIx::Class::Storage::DBI::_populate_dbh('DBIx::Class::Storage::DBI=HASH(0x561c5ff39c80)') called at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 961 DBIx::Class::Storage::DBI::dbh('DBIx::Class::Storage::DBI=HASH(0x561c5ff39c80)') called at /kohadevbox/koha/Koha/Database.pm line 125 Koha::Database::_new_schema at /kohadevbox/koha/Koha/Database.pm line 167 Koha::Database::schema('Koha::Database') called at /kohadevbox/koha/C4/Context.pm line 642 C4::Context::dbh('C4::Context') called at /kohadevbox/koha/C4/Languages.pm line 490 C4::Languages::language_get_description('en', 'en', 'language') called at /kohadevbox/koha/C4/Languages.pm line 400 C4::Languages::_build_languages_arrayref('ARRAY(0x561c574eea40)', undef, 'ARRAY(0x561c574ee950)') called at /kohadevbox/koha/C4/Languages.pm line 159 C4::Languages::getTranslatedLanguages('opac', undef) called at /kohadevbox/koha/C4/Languages.pm line 781 C4::Languages::getlanguage('CGI=HASH(0x561c5ff1c878)') called at /kohadevbox/koha/C4/Templates.pm line 305 C4::Templates::themelanguage('/kohadevbox/koha/koha-tmpl/opac-tmpl', 'errors/errorpage.tt', 'opac', 'CGI=HASH(0x561c5ff1c878)') called at /kohadevbox/koha/C4/Templates.pm line 190 C4::Templates::_get_template_file('errors/errorpage.tt', 'opac', 'CGI=HASH(0x561c5ff1c878)') called at /kohadevbox/koha/C4/Templates.pm line 245 C4::Templates::gettemplate('errors/errorpage.tt', 'opac', 'CGI=HASH(0x561c5ff1c878)') called at /kohadevbox/koha/C4/Auth.pm line 187 C4::Auth::get_template_and_user('HASH(0x561c5ab6b418)') called at /kohadevbox/koha/opac/errors/404.pl line 26 eval {...} at /kohadevbox/koha/opac/errors/404.pl line 2 CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl::__ANON__('CGI::Compile=HASH(0x561c549f3b40)', '', '/kohadevbox/koha/opac/errors/404.pl', '/kohadevbox/koha/opac/errors', 'ARRAY(0x561c5fe50d10)') called at /usr/share/perl5/CGI/Compile.pm line 151 CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl::_404_2epl at /usr/share/perl5/CGI/Emulate/PSGI.pm line 30 CGI::Emulate::PSGI::__ANON__('HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 95 Plack::App::WrapCGI::call('Plack::App::WrapCGI=HASH(0x561c5ff09d78)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 50 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561c556eb7b0)', 'HASH(0x561c5fb95d28)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561c556eb7b0)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fb95d28)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561c5feebcc0)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fb95d28)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561c5ff3d878)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561c5fc1d4c0)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561c5ff2ecb0)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561c5ff20cf8)', 'Try::Tiny::Catch=REF(0x561c5fed1798)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561c5fe7f108)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x561c5fe50e78)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x561c5fed1390)', 'ARRAY(0x561c5fe50e78)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x561c5fe50e78)', 'CODE(0x561c5fed1390)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x561c5fe73bd0)', 'ARRAY(0x561c5fe50e78)', 'CODE(0x561c5fed1390)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561c5fe73bd0)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561c57622fd8)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fb95d28)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561c5fe4ea20)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fb95d28)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561c5fc587e8)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fb95d28)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561c5ff31fc0)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561c5ff38ed0)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561c5ff0a750)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561c54953330)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561c54953378)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561c5f777600)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fb95d28)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561c5f762e08)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561c542c9df0)', 'HASH(0x561c5fb95d28)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561c542c9df0)', 'Net::Server::Proto::UNIX=GLOB(0x561c5fed1df8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561c542c9df0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561c542c9df0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561c542c9df0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561c542c9df0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561c542c9df0)', 'port', 'ARRAY(0x561c548eda40)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561c542c9df0)', 'CODE(0x561c542c9ca0)', 'HASH(0x561c54341c40)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561c542c9cb8)', 'CODE(0x561c542c9ca0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561c541083d8)', 'Plack::Handler::Starman=HASH(0x561c542c9cb8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561c54006990)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_145043: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x561c549f3cd8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x561c5feda0e0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x561c5feda0e0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x561c556ecbc0)', 'HASH(0x561c5fe94ab0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x561c556ecbc0)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fe94ab0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x561c5fc5e2e8)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fe94ab0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x561c5fe7e2c0)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x561c5ff1be88)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x561c5fe67df0)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x561c5fe89ef0)', 'Try::Tiny::Catch=REF(0x561c5fe77ba8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x561c5fd46cf8)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x561c5fef53d0)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x561c576152c8)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fe94ab0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x561c5fe492d8)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fe94ab0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x561c5fea7138)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fe94ab0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x561c5fe02470)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x561c5fc1d2e0)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x561c5fc59cc8)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x561c54953318)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x561c54953360)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x561c5f7758d0)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x561c5f763758)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x561c542c9df0)', 'HASH(0x561c5fe94ab0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x561c542c9df0)', 'Net::Server::Proto::UNIX=GLOB(0x561c5ff34340)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x561c542c9df0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x561c542c9df0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x561c542c9df0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x561c542c9df0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x561c542c9df0)', 'port', 'ARRAY(0x561c548eda40)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x561c542c9df0)', 'CODE(0x561c542c9ca0)', 'HASH(0x561c54341c40)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x561c542c9cb8)', 'CODE(0x561c542c9ca0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x561c541083d8)', 'Plack::Handler::Starman=HASH(0x561c542c9cb8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x561c54006990)') called at /bin/starman line 38 2026/08/11-18:05:05 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-18:05:05 Worker processes cleaned up 2026/08/11-18:05:05 Server closing! Process Backgrounded 2026/08/11-18:05:06 Starman::Server (type Net::Server::PreFork) starting! pid(146032) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_146035: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x556e5f8cc1a0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x556e6b031580)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x556e6b031580)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x556e605a9478)', 'HASH(0x556e6b0cca40)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x556e605a9478)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0cca40)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x556e6b044480)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0cca40)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x556e6b047d28)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x556e6b06b0c8)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x556e6b04ef18)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x556e6b06e168)', 'Try::Tiny::Catch=REF(0x556e6b0bcc20)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556e6aea4578)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556e6b0eac78)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x556e624f88a0)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0cca40)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x556e6b031ee0)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0cca40)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x556e6b0d72b0)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0cca40)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556e6b0f5078)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x556e6b0bc680)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x556e6b04cd18)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556e5f82bee0)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556e5f82bf28)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556e6a936760)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0cca40)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x556e6a92ffd0)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556e5f1a3c50)', 'HASH(0x556e6b0cca40)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556e5f1a3c50)', 'Net::Server::Proto::UNIX=GLOB(0x556e6b038ac0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556e5f1a3c50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556e5f1a3c50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556e5f1a3c50)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556e5f1a3c50)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556e5f1a3c50)', 'port', 'ARRAY(0x556e5f7c5c70)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556e5f1a3c50)', 'CODE(0x556e5f1a3b00)', 'HASH(0x556e5f21bea0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x556e5f1a3b18)', 'CODE(0x556e5f1a3b00)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x556e5efe2288)', 'Plack::Handler::Starman=HASH(0x556e5f1a3b18)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556e5eedf8f0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_146033: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x556e5fa446a8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x556e6b00d4e8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x556e6b00d4e8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x556e605c3648)', 'HASH(0x556e6b032528)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x556e605c3648)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b032528)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x556e6b089cf0)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b032528)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x556e6b0a1f20)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x556e6b03abb8)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x556e6b1026a0)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x556e6b0a8730)', 'Try::Tiny::Catch=REF(0x556e6b0ec810)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556e6b0323a8)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x556e6b08a308)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x556e6b03b620)', 'ARRAY(0x556e6b08a308)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x556e6b08a308)', 'CODE(0x556e6b03b620)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x556e6aeff398)', 'ARRAY(0x556e6b08a308)', 'CODE(0x556e6b03b620)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556e6aeff398)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x556e624fa7c8)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b032528)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x556e6b0499e8)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b032528)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x556e6b0a86b8)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b032528)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556e6b046098)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x556e6b0f2ca8)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x556e6b102718)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556e5f82bec8)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556e5f82bf10)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556e6a938300)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b032528)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x556e6a933130)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556e5f1a3c50)', 'HASH(0x556e6b032528)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556e5f1a3c50)', 'Net::Server::Proto::UNIX=GLOB(0x556e6b0929f8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556e5f1a3c50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556e5f1a3c50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556e5f1a3c50)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556e5f1a3c50)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556e5f1a3c50)', 'port', 'ARRAY(0x556e5f7c5c70)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556e5f1a3c50)', 'CODE(0x556e5f1a3b00)', 'HASH(0x556e5f21bea0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x556e5f1a3b18)', 'CODE(0x556e5f1a3b00)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x556e5efe2288)', 'Plack::Handler::Starman=HASH(0x556e5f1a3b18)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556e5eedf8f0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_146035: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x556e6b099a80)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x556e6b0a0ca8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x556e6b0a0ca8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x556e605a9478)', 'HASH(0x556e6b043f70)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x556e605a9478)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b043f70)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x556e6b044480)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b043f70)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x556e6b047d28)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x556e6b06b0c8)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x556e6b04ef18)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x556e6b0b0b90)', 'Try::Tiny::Catch=REF(0x556e6b0ee5a8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556e6aea4578)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556e6b0eac78)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x556e624f88a0)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b043f70)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x556e6b031ee0)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b043f70)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x556e6b0d72b0)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b043f70)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556e6b0f5078)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x556e6b0bc680)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x556e6b04cd18)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556e5f82bee0)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556e5f82bf28)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556e6a936760)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b043f70)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x556e6a92ffd0)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556e5f1a3c50)', 'HASH(0x556e6b043f70)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556e5f1a3c50)', 'Net::Server::Proto::UNIX=GLOB(0x556e6b0ead68)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556e5f1a3c50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556e5f1a3c50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556e5f1a3c50)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556e5f1a3c50)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556e5f1a3c50)', 'port', 'ARRAY(0x556e5f7c5c70)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556e5f1a3c50)', 'CODE(0x556e5f1a3b00)', 'HASH(0x556e5f21bea0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x556e5f1a3b18)', 'CODE(0x556e5f1a3b00)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x556e5efe2288)', 'Plack::Handler::Starman=HASH(0x556e5f1a3b18)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556e5eedf8f0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_146033: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x556e6b032660)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x556e6b0d48f8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x556e6b0d48f8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x556e605c3648)', 'HASH(0x556e6b0d7480)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x556e605c3648)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0d7480)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x556e6b089cf0)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0d7480)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x556e6b0a1f20)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x556e6b03abb8)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x556e6b1026a0)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x556e6b014698)', 'Try::Tiny::Catch=REF(0x556e6b018d70)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556e6b0323a8)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x556e6b061158)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x556e6b0e60f8)', 'ARRAY(0x556e6b061158)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x556e6b061158)', 'CODE(0x556e6b0e60f8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x556e6aeff398)', 'ARRAY(0x556e6b061158)', 'CODE(0x556e6b0e60f8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556e6aeff398)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x556e624fa7c8)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0d7480)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x556e6b0499e8)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0d7480)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x556e6b0a86b8)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0d7480)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556e6b046098)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x556e6b0f2ca8)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x556e6b102718)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556e5f82bec8)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556e5f82bf10)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556e6a938300)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6b0d7480)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x556e6a933130)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556e5f1a3c50)', 'HASH(0x556e6b0d7480)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556e5f1a3c50)', 'Net::Server::Proto::UNIX=GLOB(0x556e6b008c98)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556e5f1a3c50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556e5f1a3c50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556e5f1a3c50)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556e5f1a3c50)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556e5f1a3c50)', 'port', 'ARRAY(0x556e5f7c5c70)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556e5f1a3c50)', 'CODE(0x556e5f1a3b00)', 'HASH(0x556e5f21bea0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x556e5f1a3b18)', 'CODE(0x556e5f1a3b00)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x556e5efe2288)', 'Plack::Handler::Starman=HASH(0x556e5f1a3b18)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556e5eedf8f0)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_146035: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x556e6b036930)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x556e6adedfb0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x556e6adedfb0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x556e605a9478)', 'HASH(0x556e6aee9d90)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x556e605a9478)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6aee9d90)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x556e6b044480)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6aee9d90)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x556e6b047d28)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x556e6b06b0c8)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x556e6b04ef18)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x556e6aeea000)', 'Try::Tiny::Catch=REF(0x556e6b0a0b70)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x556e6aea4578)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x556e6b0eac78)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x556e624f88a0)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6aee9d90)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x556e6b031ee0)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6aee9d90)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x556e6b0d72b0)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6aee9d90)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x556e6b0f5078)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x556e6b0bc680)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x556e6b04cd18)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x556e5f82bee0)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x556e5f82bf28)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x556e6a936760)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x556e6aee9d90)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x556e6a92ffd0)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x556e5f1a3c50)', 'HASH(0x556e6aee9d90)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x556e5f1a3c50)', 'Net::Server::Proto::UNIX=GLOB(0x556e6b00c810)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x556e5f1a3c50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x556e5f1a3c50)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x556e5f1a3c50)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x556e5f1a3c50)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x556e5f1a3c50)', 'port', 'ARRAY(0x556e5f7c5c70)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x556e5f1a3c50)', 'CODE(0x556e5f1a3b00)', 'HASH(0x556e5f21bea0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x556e5f1a3b18)', 'CODE(0x556e5f1a3b00)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x556e5efe2288)', 'Plack::Handler::Starman=HASH(0x556e5f1a3b18)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x556e5eedf8f0)') called at /bin/starman line 38 2026/08/11-18:16:48 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-18:16:48 Worker processes cleaned up 2026/08/11-18:16:48 Server closing! Process Backgrounded 2026/08/11-18:16:50 Starman::Server (type Net::Server::PreFork) starting! pid(147404) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_147406: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55beba5739c8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55bec5c2a990)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55bec5c2a990)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55bebb282270)', 'HASH(0x55bec59cbc68)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55bebb282270)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59cbc68)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55bec5b2c008)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59cbc68)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55bec5b692f0)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55bec5bde350)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55bec5b37550)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55bec5b93fb0)', 'Try::Tiny::Catch=REF(0x55bec5bd4dd8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55bec5b374a8)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55bec5a91820)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55bec55d3bb8)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59cbc68)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55bec59c2d28)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59cbc68)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55bec5bca820)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59cbc68)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55bec5b08370)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55bec59ff2f0)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55bec5b323f0)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55beba4d2d28)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55beba4d2d70)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55bec55da468)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59cbc68)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55bec55e4868)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55beb9e49670)', 'HASH(0x55bec59cbc68)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55beb9e49670)', 'Net::Server::Proto::UNIX=GLOB(0x55bec59d6298)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55beb9e49670)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'port', 'ARRAY(0x55beba46d710)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'CODE(0x55beb9e49520)', 'HASH(0x55beb9ec13f0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55beb9e49538)', 'CODE(0x55beb9e49520)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55beb9c87128)', 'Plack::Handler::Starman=HASH(0x55beb9e49538)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55beb994f718)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147406: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55bec5ad0d78)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55bec5b16a90)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55bec5b16a90)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55beba4d2f20)', 'HASH(0x55bec5caa558)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55beba4d2f20)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5caa558)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55bec5b37dd8)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5caa558)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55bec5b32570)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55bec5b3ae70)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55bec5a91790)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55bec5b9c280)', 'Try::Tiny::Catch=REF(0x55bec5be10a8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55bec5b2baf8)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55bec5b69458)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55bec55d3bb8)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5caa558)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55bec59c2d28)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5caa558)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55bec5bca820)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5caa558)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55bec5b08370)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55bec59ff2f0)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55bec5b323f0)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55beba4d2d28)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55beba4d2d70)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55bec55da468)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5caa558)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55bec55e4868)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55beb9e49670)', 'HASH(0x55bec5caa558)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55beb9e49670)', 'Net::Server::Proto::UNIX=GLOB(0x55bec5ba2e68)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55beb9e49670)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'port', 'ARRAY(0x55beba46d710)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'CODE(0x55beb9e49520)', 'HASH(0x55beb9ec13f0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55beb9e49538)', 'CODE(0x55beb9e49520)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55beb9c87128)', 'Plack::Handler::Starman=HASH(0x55beb9e49538)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55beb994f718)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147406: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55bec5aea100)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55bec5b04260)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55bec5b04260)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55bebb282270)', 'HASH(0x55bec59f65d0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55bebb282270)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59f65d0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55bec5b2c008)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59f65d0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55bec5b692f0)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55bec5bde350)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55bec5b37550)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55bec5c72118)', 'Try::Tiny::Catch=REF(0x55bec55d9e38)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55bec5b374a8)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55bec5a91820)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55bec55d3bb8)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59f65d0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55bec59c2d28)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59f65d0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55bec5bca820)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59f65d0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55bec5b08370)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55bec59ff2f0)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55bec5b323f0)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55beba4d2d28)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55beba4d2d70)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55bec55da468)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59f65d0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55bec55e4868)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55beb9e49670)', 'HASH(0x55bec59f65d0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55beb9e49670)', 'Net::Server::Proto::UNIX=GLOB(0x55bec5b375e0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55beb9e49670)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'port', 'ARRAY(0x55beba46d710)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'CODE(0x55beb9e49520)', 'HASH(0x55beb9ec13f0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55beb9e49538)', 'CODE(0x55beb9e49520)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55beb9c87128)', 'Plack::Handler::Starman=HASH(0x55beb9e49538)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55beb994f718)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147406: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55bec5b65f88)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55bec59e7658)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55bec59e7658)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55bebb282270)', 'HASH(0x55bec5c763a0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55bebb282270)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c763a0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55bec5b2c008)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c763a0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55bec5b692f0)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55bec5bde350)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55bec5b37550)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55bec5b17228)', 'Try::Tiny::Catch=REF(0x55bec5a7faf8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55bec5b374a8)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55bec5a91820)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55bec55d3bb8)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c763a0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55bec59c2d28)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c763a0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55bec5bca820)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c763a0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55bec5b08370)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55bec59ff2f0)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55bec5b323f0)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55beba4d2d28)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55beba4d2d70)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55bec55da468)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55bec55e4868)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55beb9e49670)', 'HASH(0x55bec5c763a0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55beb9e49670)', 'Net::Server::Proto::UNIX=GLOB(0x55bec5bf4930)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55beb9e49670)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'port', 'ARRAY(0x55beba46d710)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'CODE(0x55beb9e49520)', 'HASH(0x55beb9ec13f0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55beb9e49538)', 'CODE(0x55beb9e49520)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55beb9c87128)', 'Plack::Handler::Starman=HASH(0x55beb9e49538)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55beb994f718)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147406: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55bec59ea908)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55bec5af5920)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55bec5af5920)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55beba4d2f20)', 'HASH(0x55bec5a78c98)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55beba4d2f20)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a78c98)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55bec5b37dd8)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a78c98)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55bec5b32570)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55bec5b3ae70)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55bec5a91790)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55bec5ab68a0)', 'Try::Tiny::Catch=REF(0x55bec5a8e188)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55bec5b2baf8)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55bec5b69458)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55bec55d3bb8)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a78c98)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55bec59c2d28)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a78c98)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55bec5bca820)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a78c98)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55bec5b08370)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55bec59ff2f0)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55bec5b323f0)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55beba4d2d28)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55beba4d2d70)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55bec55da468)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a78c98)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55bec55e4868)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55beb9e49670)', 'HASH(0x55bec5a78c98)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55beb9e49670)', 'Net::Server::Proto::UNIX=GLOB(0x55bec5b69a40)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55beb9e49670)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'port', 'ARRAY(0x55beba46d710)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'CODE(0x55beb9e49520)', 'HASH(0x55beb9ec13f0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55beb9e49538)', 'CODE(0x55beb9e49520)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55beb9c87128)', 'Plack::Handler::Starman=HASH(0x55beb9e49538)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55beb994f718)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147406: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55bec5c53420)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55bec5a3d780)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55bec5a3d780)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55beba4d2f20)', 'HASH(0x55bec5b16c28)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55beba4d2f20)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b16c28)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55bec5b37dd8)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b16c28)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55bec5b32570)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55bec5b3ae70)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55bec5a91790)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55bec5b4deb8)', 'Try::Tiny::Catch=REF(0x55bec5bf5110)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55bec5b2baf8)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55bec5b69458)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55bec55d3bb8)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b16c28)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55bec59c2d28)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b16c28)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55bec5bca820)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b16c28)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55bec5b08370)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55bec59ff2f0)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55bec5b323f0)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55beba4d2d28)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55beba4d2d70)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55bec55da468)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b16c28)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55bec55e4868)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55beb9e49670)', 'HASH(0x55bec5b16c28)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55beb9e49670)', 'Net::Server::Proto::UNIX=GLOB(0x55bec5c56308)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55beb9e49670)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'port', 'ARRAY(0x55beba46d710)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'CODE(0x55beb9e49520)', 'HASH(0x55beb9ec13f0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55beb9e49538)', 'CODE(0x55beb9e49520)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55beb9c87128)', 'Plack::Handler::Starman=HASH(0x55beb9e49538)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55beb994f718)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147407: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55beba573250)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55bec5c3b600)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55bec5c3b600)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55bebb26d6b0)', 'HASH(0x55bec5a308c8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55bebb26d6b0)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a308c8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55bec5b3a9e8)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a308c8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55bec5a45110)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55bec5bf0190)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55bec5a28aa8)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55bec5b596e8)', 'Try::Tiny::Catch=REF(0x55bec59eb5d8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55bec5bddb88)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55bec5caf200)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55bebd1a9118)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a308c8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55bec5b2cb20)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a308c8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55bec5b2f528)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a308c8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55bec5b973c0)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55bec5caf098)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55bec5bcee80)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55beba4d2d40)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55beba4d2d88)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55bec55deb60)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a308c8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55bec55cf4a8)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55beb9e49670)', 'HASH(0x55bec5a308c8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55beb9e49670)', 'Net::Server::Proto::UNIX=GLOB(0x55bec5b34010)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55beb9e49670)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'port', 'ARRAY(0x55beba46d710)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'CODE(0x55beb9e49520)', 'HASH(0x55beb9ec13f0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55beb9e49538)', 'CODE(0x55beb9e49520)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55beb9c87128)', 'Plack::Handler::Starman=HASH(0x55beb9e49538)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55beb994f718)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147406: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55bec5a3dc48)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55bec5a866b8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55bec5a866b8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55bebb282270)', 'HASH(0x55bec5c8c9b0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55bebb282270)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c8c9b0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55bec5b2c008)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c8c9b0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55bec5b692f0)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55bec5bde350)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55bec5b37550)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55bec5c2af78)', 'Try::Tiny::Catch=REF(0x55bec5c763a0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55bec5b374a8)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55bec5a91820)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55bec55d3bb8)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c8c9b0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55bec59c2d28)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c8c9b0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55bec5bca820)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c8c9b0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55bec5b08370)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55bec59ff2f0)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55bec5b323f0)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55beba4d2d28)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55beba4d2d70)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55bec55da468)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55bec55e4868)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55beb9e49670)', 'HASH(0x55bec5c8c9b0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55beb9e49670)', 'Net::Server::Proto::UNIX=GLOB(0x55bec5c375e8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55beb9e49670)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'port', 'ARRAY(0x55beba46d710)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'CODE(0x55beb9e49520)', 'HASH(0x55beb9ec13f0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55beb9e49538)', 'CODE(0x55beb9e49520)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55beb9c87128)', 'Plack::Handler::Starman=HASH(0x55beb9e49538)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55beb994f718)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147407: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55bec5c72de0)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55bec5b69068)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55bec5b69068)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55beba4d2f38)', 'HASH(0x55bec5b0c7e0)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55beba4d2f38)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b0c7e0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55bec5a06928)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b0c7e0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55bec5caf0c8)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55bec5b2f930)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55bec5c3f970)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55bec5c6e880)', 'Try::Tiny::Catch=REF(0x55bec5a06fd0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55bec5b0d440)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55bec5b0ce10)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55bebd1a9118)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b0c7e0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55bec5b2cb20)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b0c7e0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55bec5b2f528)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b0c7e0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55bec5b973c0)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55bec5caf098)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55bec5bcee80)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55beba4d2d40)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55beba4d2d88)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55bec55deb60)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55bec55cf4a8)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55beb9e49670)', 'HASH(0x55bec5b0c7e0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55beb9e49670)', 'Net::Server::Proto::UNIX=GLOB(0x55bec5b41db0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55beb9e49670)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'port', 'ARRAY(0x55beba46d710)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'CODE(0x55beb9e49520)', 'HASH(0x55beb9ec13f0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55beb9e49538)', 'CODE(0x55beb9e49520)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55beb9c87128)', 'Plack::Handler::Starman=HASH(0x55beb9e49538)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55beb994f718)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147406: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55bec5bd4e20)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55bec5b16b08)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55bec5b16b08)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55bebb282270)', 'HASH(0x55bec5a7aa88)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55bebb282270)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a7aa88)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55bec5b2c008)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a7aa88)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55bec5b692f0)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55bec5bde350)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55bec5b37550)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55bec5aa0288)', 'Try::Tiny::Catch=REF(0x55bec5a5ffc0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55bec5b374a8)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55bec5a91820)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55bec55d3bb8)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a7aa88)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55bec59c2d28)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a7aa88)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55bec5bca820)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a7aa88)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55bec5b08370)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55bec59ff2f0)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55bec5b323f0)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55beba4d2d28)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55beba4d2d70)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55bec55da468)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55bec55e4868)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55beb9e49670)', 'HASH(0x55bec5a7aa88)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55beb9e49670)', 'Net::Server::Proto::UNIX=GLOB(0x55bec5c37858)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55beb9e49670)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'port', 'ARRAY(0x55beba46d710)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'CODE(0x55beb9e49520)', 'HASH(0x55beb9ec13f0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55beb9e49538)', 'CODE(0x55beb9e49520)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55beb9c87128)', 'Plack::Handler::Starman=HASH(0x55beb9e49538)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55beb994f718)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147407: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55bec5c76d10)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55bec5c9b3b8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55bec5c9b3b8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55beba4d2f38)', 'HASH(0x55bec59ef3d0)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55beba4d2f38)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59ef3d0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55bec5a06928)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59ef3d0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55bec5caf0c8)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55bec5b2f930)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55bec5c3f970)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55bec5b082a8)', 'Try::Tiny::Catch=REF(0x55bec55de638)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55bec5b0d440)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55bec5b0ce10)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55bebd1a9118)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59ef3d0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55bec5b2cb20)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59ef3d0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55bec5b2f528)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59ef3d0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55bec5b973c0)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55bec5caf098)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55bec5bcee80)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55beba4d2d40)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55beba4d2d88)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55bec55deb60)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55bec55cf4a8)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55beb9e49670)', 'HASH(0x55bec59ef3d0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55beb9e49670)', 'Net::Server::Proto::UNIX=GLOB(0x55bec5a28568)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55beb9e49670)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55beb9e49670)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'port', 'ARRAY(0x55beba46d710)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55beb9e49670)', 'CODE(0x55beb9e49520)', 'HASH(0x55beb9ec13f0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55beb9e49538)', 'CODE(0x55beb9e49520)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55beb9c87128)', 'Plack::Handler::Starman=HASH(0x55beb9e49538)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55beb994f718)') called at /bin/starman line 38 2026/08/11-18:17:28 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-18:17:28 Worker processes cleaned up 2026/08/11-18:17:28 Server closing! Process Backgrounded 2026/08/11-18:17:31 Starman::Server (type Net::Server::PreFork) starting! pid(147959) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_147960: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x565261a29ab8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x56526cfe0ba8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x56526cfe0ba8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x565262714c60)', 'HASH(0x56526d02af50)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x565262714c60)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d02af50)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x56526d02a788)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d02af50)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x56526d128f60)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x56526cf1c948)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x56526d073e78)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56526d0c3008)', 'Try::Tiny::Catch=REF(0x56526d0c3248)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56526d14f0f8)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x56526d0c36e0)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x565264656260)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d02af50)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x56526ce89bb8)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d02af50)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56526d08fe98)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d02af50)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56526d1013d0)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56526d073638)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56526cecab70)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x565261989418)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x565261989460)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x56526ca966a0)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d02af50)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x56526ca9c768)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5652612fdb40)', 'HASH(0x56526d02af50)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5652612fdb40)', 'Net::Server::Proto::UNIX=GLOB(0x56526cfe56e0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5652612fdb40)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'port', 'ARRAY(0x565261923d60)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'CODE(0x5652612fd9f0)', 'HASH(0x565261376160)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5652612fda08)', 'CODE(0x5652612fd9f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56526113eeb0)', 'Plack::Handler::Starman=HASH(0x5652612fda08)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x565261027e18)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147960: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x56526d0732a8)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x56526cf1d110)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x56526cf1d110)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x565261989658)', 'HASH(0x56526cf1c978)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x565261989658)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf1c978)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x56526cfe0a40)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf1c978)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x56526d05c768)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x56526cf22d00)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x56526d0c6b90)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56526d026c98)', 'Try::Tiny::Catch=REF(0x56526d05bf58)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56526d02a4e8)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x56526d05c918)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x565264656260)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf1c978)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x56526ce89bb8)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf1c978)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56526d08fe98)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf1c978)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56526d1013d0)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56526d073638)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56526cecab70)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x565261989418)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x565261989460)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x56526ca966a0)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf1c978)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x56526ca9c768)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5652612fdb40)', 'HASH(0x56526cf1c978)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5652612fdb40)', 'Net::Server::Proto::UNIX=GLOB(0x56526d050888)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5652612fdb40)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'port', 'ARRAY(0x565261923d60)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'CODE(0x5652612fd9f0)', 'HASH(0x565261376160)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5652612fda08)', 'CODE(0x5652612fd9f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56526113eeb0)', 'Plack::Handler::Starman=HASH(0x5652612fda08)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x565261027e18)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147960: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x56526d0ba258)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x56526ceed5b0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x56526ceed5b0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x565262714c60)', 'HASH(0x56526d0a9a48)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x565262714c60)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0a9a48)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x56526d02a788)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0a9a48)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x56526d128f60)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x56526cf1c948)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x56526d073e78)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56526cfc8d68)', 'Try::Tiny::Catch=REF(0x56526cfe0b30)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56526d14f0f8)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x56526d0c36e0)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x565264656260)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0a9a48)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x56526ce89bb8)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0a9a48)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56526d08fe98)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0a9a48)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56526d1013d0)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56526d073638)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56526cecab70)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x565261989418)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x565261989460)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x56526ca966a0)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0a9a48)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x56526ca9c768)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5652612fdb40)', 'HASH(0x56526d0a9a48)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5652612fdb40)', 'Net::Server::Proto::UNIX=GLOB(0x56526ce81b00)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5652612fdb40)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'port', 'ARRAY(0x565261923d60)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'CODE(0x5652612fd9f0)', 'HASH(0x565261376160)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5652612fda08)', 'CODE(0x5652612fd9f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56526113eeb0)', 'Plack::Handler::Starman=HASH(0x5652612fda08)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x565261027e18)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147960: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x56526ce9bf38)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x56526cffb3a0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x56526cffb3a0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x565261989658)', 'HASH(0x56526ce7eea0)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x565261989658)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7eea0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x56526cfe0a40)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7eea0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x56526d05c768)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x56526cf22d00)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x56526d0c6b90)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56526d0f2760)', 'Try::Tiny::Catch=REF(0x56526d0b6e50)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56526d02a4e8)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x56526d05c918)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x565264656260)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7eea0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x56526ce89bb8)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7eea0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56526d08fe98)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7eea0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56526d1013d0)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56526d073638)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56526cecab70)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x565261989418)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x565261989460)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x56526ca966a0)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7eea0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x56526ca9c768)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5652612fdb40)', 'HASH(0x56526ce7eea0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5652612fdb40)', 'Net::Server::Proto::UNIX=GLOB(0x56526cee6790)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5652612fdb40)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'port', 'ARRAY(0x565261923d60)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'CODE(0x5652612fd9f0)', 'HASH(0x565261376160)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5652612fda08)', 'CODE(0x5652612fd9f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56526113eeb0)', 'Plack::Handler::Starman=HASH(0x5652612fda08)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x565261027e18)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147960: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x56526d0fa118)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x56526ce8d9c0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x56526ce8d9c0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x565262714c60)', 'HASH(0x56526cf15440)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x565262714c60)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf15440)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x56526d02a788)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf15440)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x56526d128f60)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x56526cf1c948)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x56526d073e78)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56526d14cf38)', 'Try::Tiny::Catch=REF(0x56526ce86d28)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56526d14f0f8)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x56526d0c36e0)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x565264656260)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf15440)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x56526ce89bb8)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf15440)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56526d08fe98)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf15440)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56526d1013d0)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56526d073638)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56526cecab70)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x565261989418)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x565261989460)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x56526ca966a0)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf15440)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x56526ca9c768)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5652612fdb40)', 'HASH(0x56526cf15440)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5652612fdb40)', 'Net::Server::Proto::UNIX=GLOB(0x56526ced6118)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5652612fdb40)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'port', 'ARRAY(0x565261923d60)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'CODE(0x5652612fd9f0)', 'HASH(0x565261376160)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5652612fda08)', 'CODE(0x5652612fd9f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56526113eeb0)', 'Plack::Handler::Starman=HASH(0x5652612fda08)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x565261027e18)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147964: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x565261a29b30)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x56526d02c300)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x56526d02c300)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x565261989670)', 'HASH(0x56526ced0600)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x565261989670)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ced0600)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x56526ceeb740)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ced0600)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x56526d0dfd50)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x56526ceeb7a0)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x56526cf13098)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56526cec1890)', 'Try::Tiny::Catch=REF(0x56526d14a948)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56526d07d578)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x56526cfefc78)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x56526c62fcc0)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ced0600)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x56526d12f630)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ced0600)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56526ce808c8)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ced0600)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56526d0dccb0)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56526cfa8f18)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56526d144df0)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x565261989430)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x565261989478)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x56526ca965c8)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ced0600)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x56526ca862b0)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5652612fdb40)', 'HASH(0x56526ced0600)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5652612fdb40)', 'Net::Server::Proto::UNIX=GLOB(0x56526ce9ace0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5652612fdb40)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'port', 'ARRAY(0x565261923d60)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'CODE(0x5652612fd9f0)', 'HASH(0x565261376160)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5652612fda08)', 'CODE(0x5652612fd9f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56526113eeb0)', 'Plack::Handler::Starman=HASH(0x5652612fda08)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x565261027e18)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147960: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x56526d105038)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x56526ced5e30)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x56526ced5e30)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x565262714c60)', 'HASH(0x56526d0e0bf8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x565262714c60)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e0bf8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x56526d02a788)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e0bf8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x56526d128f60)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x56526cf1c948)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x56526d073e78)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56526d130848)', 'Try::Tiny::Catch=REF(0x56526d154978)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56526d14f0f8)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x56526d0c36e0)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x565264656260)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e0bf8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x56526ce89bb8)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e0bf8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56526d08fe98)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e0bf8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56526d1013d0)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56526d073638)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56526cecab70)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x565261989418)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x565261989460)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x56526ca966a0)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x56526ca9c768)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5652612fdb40)', 'HASH(0x56526d0e0bf8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5652612fdb40)', 'Net::Server::Proto::UNIX=GLOB(0x56526d1143a0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5652612fdb40)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'port', 'ARRAY(0x565261923d60)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'CODE(0x5652612fd9f0)', 'HASH(0x565261376160)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5652612fda08)', 'CODE(0x5652612fd9f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56526113eeb0)', 'Plack::Handler::Starman=HASH(0x5652612fda08)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x565261027e18)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147964: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x56526ce84828)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x56526cec16e0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x56526cec16e0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x565262724fc0)', 'HASH(0x56526d124068)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x565262724fc0)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d124068)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x56526ce90478)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d124068)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x56526ce7c370)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x56526ceeb3b0)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x56526ce7c550)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56526cef1878)', 'Try::Tiny::Catch=REF(0x56526d14a840)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56526d0e8408)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x56526d0dfd68)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d124068)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x56526c62fcc0)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d124068)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x56526d12f630)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d124068)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56526ce808c8)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d124068)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56526d0dccb0)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56526cfa8f18)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56526d144df0)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x565261989430)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x565261989478)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x56526ca965c8)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d124068)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x56526ca862b0)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5652612fdb40)', 'HASH(0x56526d124068)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5652612fdb40)', 'Net::Server::Proto::UNIX=GLOB(0x56526ce79540)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5652612fdb40)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'port', 'ARRAY(0x565261923d60)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'CODE(0x5652612fd9f0)', 'HASH(0x565261376160)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5652612fda08)', 'CODE(0x5652612fd9f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56526113eeb0)', 'Plack::Handler::Starman=HASH(0x5652612fda08)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x565261027e18)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147960: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x56526d076bb8)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x56526cf1d698)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x56526cf1d698)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x565261989658)', 'HASH(0x56526d1349c8)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x565261989658)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d1349c8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x56526cfe0a40)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d1349c8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x56526d05c768)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x56526cf22d00)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x56526d0c6b90)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56526ce7f0b0)', 'Try::Tiny::Catch=REF(0x56526d1242a0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56526d02a4e8)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x56526d05c918)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x565264656260)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d1349c8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x56526ce89bb8)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d1349c8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56526d08fe98)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d1349c8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56526d1013d0)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56526d073638)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56526cecab70)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x565261989418)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x565261989460)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x56526ca966a0)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d1349c8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x56526ca9c768)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5652612fdb40)', 'HASH(0x56526d1349c8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5652612fdb40)', 'Net::Server::Proto::UNIX=GLOB(0x56526d111400)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5652612fdb40)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'port', 'ARRAY(0x565261923d60)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'CODE(0x5652612fd9f0)', 'HASH(0x565261376160)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5652612fda08)', 'CODE(0x5652612fd9f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56526113eeb0)', 'Plack::Handler::Starman=HASH(0x5652612fda08)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x565261027e18)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147964: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x56526cf27070)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x56526d08d5e8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x56526d08d5e8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x565262724fc0)', 'HASH(0x56526cf82118)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x565262724fc0)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf82118)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x56526ce90478)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf82118)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x56526ce7c370)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x56526ceeb3b0)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x56526ce7c550)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56526d025b58)', 'Try::Tiny::Catch=REF(0x56526cef84e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56526d0e8408)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x56526d0dfd68)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x56526c62fcc0)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf82118)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x56526d12f630)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf82118)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56526ce808c8)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf82118)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56526d0dccb0)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56526cfa8f18)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56526d144df0)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x565261989430)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x565261989478)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x56526ca965c8)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf82118)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x56526ca862b0)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5652612fdb40)', 'HASH(0x56526cf82118)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5652612fdb40)', 'Net::Server::Proto::UNIX=GLOB(0x56526d04c158)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5652612fdb40)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'port', 'ARRAY(0x565261923d60)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'CODE(0x5652612fd9f0)', 'HASH(0x565261376160)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5652612fda08)', 'CODE(0x5652612fd9f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56526113eeb0)', 'Plack::Handler::Starman=HASH(0x5652612fda08)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x565261027e18)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147960: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x56526d083598)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x56526d026a58)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x56526d026a58)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x565262714c60)', 'HASH(0x56526cf14690)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x565262714c60)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf14690)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x56526d02a788)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf14690)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x56526d128f60)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x56526cf1c948)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x56526d073e78)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56526cff77e0)', 'Try::Tiny::Catch=REF(0x56526d02b3b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56526d14f0f8)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x56526d0c36e0)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x565264656260)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf14690)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x56526ce89bb8)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf14690)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56526d08fe98)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf14690)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56526d1013d0)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56526d073638)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56526cecab70)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x565261989418)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x565261989460)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x56526ca966a0)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf14690)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x56526ca9c768)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5652612fdb40)', 'HASH(0x56526cf14690)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5652612fdb40)', 'Net::Server::Proto::UNIX=GLOB(0x56526d0c2d98)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5652612fdb40)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'port', 'ARRAY(0x565261923d60)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'CODE(0x5652612fd9f0)', 'HASH(0x565261376160)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5652612fda08)', 'CODE(0x5652612fd9f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56526113eeb0)', 'Plack::Handler::Starman=HASH(0x5652612fda08)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x565261027e18)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147960: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x56526d0732a8)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x56526d0274a8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x56526d0274a8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x565261989658)', 'HASH(0x56526d0e5580)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x565261989658)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e5580)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x56526cfe0a40)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e5580)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x56526d05c768)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x56526cf22d00)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x56526d0c6b90)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56526cee6898)', 'Try::Tiny::Catch=REF(0x56526cf3e378)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56526d02a4e8)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x56526d05c918)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x565264656260)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e5580)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x56526ce89bb8)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e5580)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56526d08fe98)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e5580)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56526d1013d0)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56526d073638)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56526cecab70)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x565261989418)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x565261989460)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x56526ca966a0)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0e5580)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x56526ca9c768)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5652612fdb40)', 'HASH(0x56526d0e5580)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5652612fdb40)', 'Net::Server::Proto::UNIX=GLOB(0x56526d06fbc8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5652612fdb40)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'port', 'ARRAY(0x565261923d60)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'CODE(0x5652612fd9f0)', 'HASH(0x565261376160)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5652612fda08)', 'CODE(0x5652612fd9f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56526113eeb0)', 'Plack::Handler::Starman=HASH(0x5652612fda08)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x565261027e18)') called at /bin/starman line 38 DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI connect('database=koha_boundwith;host=db;port=3306','koha_boundwith',...) failed: Unknown server host 'db' (-2) at /kohadevbox/koha/Koha/Database.pm line 75. at /kohadevbox/koha/Koha/Database.pm line 125 at /usr/share/perl5/DBIx/Class/Exception.pm line 77 DBIx::Class::Exception::throw('DBIx::Class::Exception', 'DBI Connection failed: DBI connect(\'database=koha_boundwith;host=db;port=3306\',\'koha_boundwith\',...) failed: Unknown server host \'db\' (-2) at /kohadevbox/koha/Koha/Database.pm line 75.^J') called at /kohadevbox/koha/Koha/Schema.pm line 55 Koha::Schema::__ANON__('DBI Connection failed: DBI connect(\'database=koha_boundwith;host=db;port=3306\',\'koha_boundwith\',...) failed: Unknown server host \'db\' (-2) at /kohadevbox/koha/Koha/Database.pm line 75.^J') called at /usr/share/perl5/DBIx/Class/Schema.pm line 1087 eval {...} at /usr/share/perl5/DBIx/Class/Schema.pm line 1108 DBIx::Class::Schema::throw_exception('Koha::Schema=HASH(0x56526d0ff298)', 'DBI Connection failed: DBI connect(\'database=koha_boundwith;host=db;port=3306\',\'koha_boundwith\',...) failed: Unknown server host \'db\' (-2) at /kohadevbox/koha/Koha/Database.pm line 75.^J') called at /usr/share/perl5/DBIx/Class/Storage.pm line 113 DBIx::Class::Storage::throw_exception('DBIx::Class::Storage::DBI=HASH(0x56526cfd7070)', 'DBI Connection failed: DBI connect(\'database=koha_boundwith;host=db;port=3306\',\'koha_boundwith\',...) failed: Unknown server host \'db\' (-2) at /kohadevbox/koha/Koha/Database.pm line 75.^J') called at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1680 DBIx::Class::Storage::DBI::catch {...} ('DBI connect(\'database=koha_boundwith;host=db;port=3306\',\'koha_boundwith\',...) failed: Unknown server host \'db\' (-2) at /kohadevbox/koha/Koha/Database.pm line 75.^J') called at /usr/share/perl5/Try/Tiny.pm line 123 Try::Tiny::try('CODE(0x56526cf95210)', 'Try::Tiny::Catch=REF(0x56526cfe6328)') called at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1681 DBIx::Class::Storage::DBI::_connect('DBIx::Class::Storage::DBI=HASH(0x56526cfd7070)') called at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1047 DBIx::Class::Storage::DBI::_populate_dbh('DBIx::Class::Storage::DBI=HASH(0x56526cfd7070)') called at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 961 DBIx::Class::Storage::DBI::dbh('DBIx::Class::Storage::DBI=HASH(0x56526cfd7070)') called at /kohadevbox/koha/Koha/Database.pm line 125 Koha::Database::_new_schema at /kohadevbox/koha/Koha/Database.pm line 167 Koha::Database::schema('Koha::Database') called at /kohadevbox/koha/C4/Context.pm line 642 C4::Context::dbh('C4::Context') called at /kohadevbox/koha/C4/Languages.pm line 490 C4::Languages::language_get_description('en', 'en', 'language') called at /kohadevbox/koha/C4/Languages.pm line 400 C4::Languages::_build_languages_arrayref('ARRAY(0x565264528c98)', 'en', 'ARRAY(0x565264528e60)') called at /kohadevbox/koha/C4/Languages.pm line 159 C4::Languages::getTranslatedLanguages('opac', 'bootstrap', 'en') called at /kohadevbox/koha/C4/Templates.pm line 271 C4::Templates::gettemplate('errors/errorpage.tt', 'opac', 'CGI=HASH(0x56526d10f8c8)') called at /kohadevbox/koha/C4/Auth.pm line 187 C4::Auth::get_template_and_user('HASH(0x56526600f418)') called at /kohadevbox/koha/opac/errors/404.pl line 26 eval {...} at /kohadevbox/koha/opac/errors/404.pl line 2 CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl::__ANON__('CGI::Compile=HASH(0x56526d0578d0)', '', '/kohadevbox/koha/opac/errors/404.pl', '/kohadevbox/koha/opac/errors', 'ARRAY(0x56526d108720)') called at /usr/share/perl5/CGI/Compile.pm line 151 CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl::_404_2epl at /usr/share/perl5/CGI/Emulate/PSGI.pm line 30 CGI::Emulate::PSGI::__ANON__('HASH(0x56526d026788)') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 95 Plack::App::WrapCGI::call('Plack::App::WrapCGI=HASH(0x56526cf4f278)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d026788)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 50 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x565262724fc0)', 'HASH(0x56526d026788)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x565262724fc0)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d026788)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x56526ce90478)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d026788)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x56526ce7c370)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x56526ceeb3b0)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x56526ce7c550)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56526d08dde0)', 'Try::Tiny::Catch=REF(0x56526cef3b50)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56526d0e8408)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x56526d0dfd68)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d026788)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x56526c62fcc0)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d026788)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x56526d12f630)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d026788)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56526ce808c8)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d026788)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56526d0dccb0)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56526cfa8f18)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56526d144df0)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x565261989430)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x565261989478)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x56526ca965c8)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d026788)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x56526ca862b0)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5652612fdb40)', 'HASH(0x56526d026788)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5652612fdb40)', 'Net::Server::Proto::UNIX=GLOB(0x56526cef8230)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5652612fdb40)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'port', 'ARRAY(0x565261923d60)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'CODE(0x5652612fd9f0)', 'HASH(0x565261376160)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5652612fda08)', 'CODE(0x5652612fd9f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56526113eeb0)', 'Plack::Handler::Starman=HASH(0x5652612fda08)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x565261027e18)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147960: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x56526ce9ba40)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x56526d033100)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x56526d033100)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x565262714c60)', 'HASH(0x56526d0f9ed8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x565262714c60)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0f9ed8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x56526d02a788)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0f9ed8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x56526d128f60)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x56526cf1c948)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x56526d073e78)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56526ce9c388)', 'Try::Tiny::Catch=REF(0x56526d026a10)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56526d14f0f8)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x56526d0c36e0)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x565264656260)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0f9ed8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x56526ce89bb8)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0f9ed8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56526d08fe98)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0f9ed8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56526d1013d0)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56526d073638)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56526cecab70)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x565261989418)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x565261989460)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x56526ca966a0)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x56526ca9c768)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5652612fdb40)', 'HASH(0x56526d0f9ed8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5652612fdb40)', 'Net::Server::Proto::UNIX=GLOB(0x56526d0f9ad0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5652612fdb40)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'port', 'ARRAY(0x565261923d60)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'CODE(0x5652612fd9f0)', 'HASH(0x565261376160)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5652612fda08)', 'CODE(0x5652612fd9f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56526113eeb0)', 'Plack::Handler::Starman=HASH(0x5652612fda08)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x565261027e18)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147960: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x56526ce9bad0)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x56526d0aea78)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x56526d0aea78)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x565261989658)', 'HASH(0x56526cf147f8)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x565261989658)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf147f8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x56526cfe0a40)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf147f8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x56526d05c768)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x56526cf22d00)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x56526d0c6b90)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56526cee8b50)', 'Try::Tiny::Catch=REF(0x56526ce8da80)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56526d02a4e8)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x56526d05c918)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x565264656260)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf147f8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x56526ce89bb8)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf147f8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56526d08fe98)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf147f8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56526d1013d0)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56526d073638)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56526cecab70)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x565261989418)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x565261989460)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x56526ca966a0)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526cf147f8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x56526ca9c768)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5652612fdb40)', 'HASH(0x56526cf147f8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5652612fdb40)', 'Net::Server::Proto::UNIX=GLOB(0x56526ce92110)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5652612fdb40)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'port', 'ARRAY(0x565261923d60)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'CODE(0x5652612fd9f0)', 'HASH(0x565261376160)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5652612fda08)', 'CODE(0x5652612fd9f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56526113eeb0)', 'Plack::Handler::Starman=HASH(0x5652612fda08)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x565261027e18)') called at /bin/starman line 38 DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: DBI connect('database=koha_boundwith;host=db;port=3306','koha_boundwith',...) failed: Unknown server host 'db' (-2) at /kohadevbox/koha/Koha/Database.pm line 75. at /kohadevbox/koha/Koha/Database.pm line 125 at /usr/share/perl5/DBIx/Class/Exception.pm line 77 DBIx::Class::Exception::throw('DBIx::Class::Exception', 'DBI Connection failed: DBI connect(\'database=koha_boundwith;host=db;port=3306\',\'koha_boundwith\',...) failed: Unknown server host \'db\' (-2) at /kohadevbox/koha/Koha/Database.pm line 75.^J') called at /kohadevbox/koha/Koha/Schema.pm line 55 Koha::Schema::__ANON__('DBI Connection failed: DBI connect(\'database=koha_boundwith;host=db;port=3306\',\'koha_boundwith\',...) failed: Unknown server host \'db\' (-2) at /kohadevbox/koha/Koha/Database.pm line 75.^J') called at /usr/share/perl5/DBIx/Class/Schema.pm line 1087 eval {...} at /usr/share/perl5/DBIx/Class/Schema.pm line 1108 DBIx::Class::Schema::throw_exception('Koha::Schema=HASH(0x56526cf26bc0)', 'DBI Connection failed: DBI connect(\'database=koha_boundwith;host=db;port=3306\',\'koha_boundwith\',...) failed: Unknown server host \'db\' (-2) at /kohadevbox/koha/Koha/Database.pm line 75.^J') called at /usr/share/perl5/DBIx/Class/Storage.pm line 113 DBIx::Class::Storage::throw_exception('DBIx::Class::Storage::DBI=HASH(0x56526d009488)', 'DBI Connection failed: DBI connect(\'database=koha_boundwith;host=db;port=3306\',\'koha_boundwith\',...) failed: Unknown server host \'db\' (-2) at /kohadevbox/koha/Koha/Database.pm line 75.^J') called at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1680 DBIx::Class::Storage::DBI::catch {...} ('DBI connect(\'database=koha_boundwith;host=db;port=3306\',\'koha_boundwith\',...) failed: Unknown server host \'db\' (-2) at /kohadevbox/koha/Koha/Database.pm line 75.^J') called at /usr/share/perl5/Try/Tiny.pm line 123 Try::Tiny::try('CODE(0x56526d086c18)', 'Try::Tiny::Catch=REF(0x56526cf52ae8)') called at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1681 DBIx::Class::Storage::DBI::_connect('DBIx::Class::Storage::DBI=HASH(0x56526d009488)') called at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1047 DBIx::Class::Storage::DBI::_populate_dbh('DBIx::Class::Storage::DBI=HASH(0x56526d009488)') called at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 961 DBIx::Class::Storage::DBI::dbh('DBIx::Class::Storage::DBI=HASH(0x56526d009488)') called at /kohadevbox/koha/Koha/Database.pm line 125 Koha::Database::_new_schema at /kohadevbox/koha/Koha/Database.pm line 167 Koha::Database::schema('Koha::Database') called at /kohadevbox/koha/C4/Context.pm line 642 C4::Context::dbh('C4::Context') called at /kohadevbox/koha/C4/Languages.pm line 490 C4::Languages::language_get_description('en', 'en', 'language') called at /kohadevbox/koha/C4/Languages.pm line 400 C4::Languages::_build_languages_arrayref('ARRAY(0x56526d22ef98)', 'en', 'ARRAY(0x56526d0926d8)') called at /kohadevbox/koha/C4/Languages.pm line 159 C4::Languages::getTranslatedLanguages('opac', 'bootstrap', 'en') called at /kohadevbox/koha/C4/Templates.pm line 271 C4::Templates::gettemplate('errors/errorpage.tt', 'opac', 'CGI=HASH(0x56526cf56688)') called at /kohadevbox/koha/C4/Auth.pm line 187 C4::Auth::get_template_and_user('HASH(0x56526d10b508)') called at /kohadevbox/koha/opac/errors/404.pl line 26 eval {...} at /kohadevbox/koha/opac/errors/404.pl line 2 CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl::__ANON__('CGI::Compile=HASH(0x56526d0578d0)', '', '/kohadevbox/koha/opac/errors/404.pl', '/kohadevbox/koha/opac/errors', 'ARRAY(0x56526d0fef38)') called at /usr/share/perl5/CGI/Compile.pm line 151 CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl::_404_2epl at /usr/share/perl5/CGI/Emulate/PSGI.pm line 30 CGI::Emulate::PSGI::__ANON__('HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 95 Plack::App::WrapCGI::call('Plack::App::WrapCGI=HASH(0x56526cf4f278)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 50 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x565262724fc0)', 'HASH(0x56526d12f750)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x565262724fc0)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d12f750)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x56526ce90478)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d12f750)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x56526ce7c370)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x56526ceeb3b0)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x56526ce7c550)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56526d062458)', 'Try::Tiny::Catch=REF(0x56526ce805f8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56526d0e8408)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x56526d0dfd68)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x56526c62fcc0)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d12f750)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x56526d12f630)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d12f750)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56526ce808c8)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d12f750)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56526d0dccb0)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56526cfa8f18)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56526d144df0)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x565261989430)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x565261989478)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x56526ca965c8)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526d12f750)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x56526ca862b0)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5652612fdb40)', 'HASH(0x56526d12f750)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5652612fdb40)', 'Net::Server::Proto::UNIX=GLOB(0x565262724bb8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5652612fdb40)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'port', 'ARRAY(0x565261923d60)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'CODE(0x5652612fd9f0)', 'HASH(0x565261376160)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5652612fda08)', 'CODE(0x5652612fd9f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56526113eeb0)', 'Plack::Handler::Starman=HASH(0x5652612fda08)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x565261027e18)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_147960: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x56526d0e1678)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x56526d0c6830)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x56526d0c6830)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x565262714c60)', 'HASH(0x56526ce7f0e0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x565262714c60)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7f0e0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x56526d02a788)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7f0e0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x56526d128f60)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x56526cf1c948)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x56526d073e78)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x56526d06c7c0)', 'Try::Tiny::Catch=REF(0x56526cfef3e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x56526d14f0f8)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x56526d0c36e0)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x565264656260)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7f0e0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x56526ce89bb8)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7f0e0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x56526d08fe98)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7f0e0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x56526d1013d0)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x56526d073638)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x56526cecab70)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x565261989418)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x565261989460)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x56526ca966a0)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x56526ca9c768)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5652612fdb40)', 'HASH(0x56526ce7f0e0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5652612fdb40)', 'Net::Server::Proto::UNIX=GLOB(0x56526d077458)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5652612fdb40)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5652612fdb40)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'port', 'ARRAY(0x565261923d60)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5652612fdb40)', 'CODE(0x5652612fd9f0)', 'HASH(0x565261376160)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5652612fda08)', 'CODE(0x5652612fd9f0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x56526113eeb0)', 'Plack::Handler::Starman=HASH(0x5652612fda08)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x565261027e18)') called at /bin/starman line 38 2026/08/11-18:23:42 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-18:23:42 Worker processes cleaned up 2026/08/11-18:23:42 Server closing! Process Backgrounded 2026/08/11-18:23:44 Starman::Server (type Net::Server::PreFork) starting! pid(148864) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Connection to the memcached servers 'memcached:11211' failed. Are the unix socket permissions set properly? Is the host reachable? If you ignore this warning, you will face performance issues Could not mkdir /tmp/cgi_compile_148866: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3700ec7d0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f37b8b7498)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f37b8b7498)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f370dd5dc0)', 'HASH(0x55f37b559180)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f370dd5dc0)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b559180)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f37b857430)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b559180)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f37b90b0d8)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f37b858ef0)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f37b88f668)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f37b88f1d0)', 'Try::Tiny::Catch=REF(0x55f37b861650)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f37b8bdd58)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f37b89f9f8)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f372d12d48)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b559180)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f37b893fe8)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b559180)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f37b871150)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b559180)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f37b9123f8)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f37b8ca630)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f37b893d00)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f37004c270)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f37004c2b8)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f37b152dd0)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b559180)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f37b14e158)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f36f9da5d0)', 'HASH(0x55f37b559180)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f36f9da5d0)', 'Net::Server::Proto::UNIX=GLOB(0x55f37b912e78)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f36f9da5d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f36f9da5d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f36f9da5d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f36f9da5d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f36f9da5d0)', 'port', 'ARRAY(0x55f36ffe62b0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f36f9da5d0)', 'CODE(0x55f36f9da480)', 'HASH(0x55f36fa39340)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f36f9da498)', 'CODE(0x55f36f9da480)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f36f7fffd8)', 'Plack::Handler::Starman=HASH(0x55f36f9da498)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f36f6e9460)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_148866: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f37b8b2ab8)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f37b8e51d0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f37b8e51d0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f37004c480)', 'HASH(0x55f37b83fa18)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f37004c480)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b83fa18)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f37b8643d8)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b83fa18)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f37b89f9e0)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f37b897488)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f37b8e93b8)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f37b82dc20)', 'Try::Tiny::Catch=REF(0x55f37b861530)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f37b86da50)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f37b88cb58)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f372d12d48)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b83fa18)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f37b893fe8)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b83fa18)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f37b871150)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b83fa18)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f37b9123f8)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f37b8ca630)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f37b893d00)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f37004c270)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f37004c2b8)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f37b152dd0)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b83fa18)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f37b14e158)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f36f9da5d0)', 'HASH(0x55f37b83fa18)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f36f9da5d0)', 'Net::Server::Proto::UNIX=GLOB(0x55f37b6a0000)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f36f9da5d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f36f9da5d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f36f9da5d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f36f9da5d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f36f9da5d0)', 'port', 'ARRAY(0x55f36ffe62b0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f36f9da5d0)', 'CODE(0x55f36f9da480)', 'HASH(0x55f36fa39340)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f36f9da498)', 'CODE(0x55f36f9da480)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f36f7fffd8)', 'Plack::Handler::Starman=HASH(0x55f36f9da498)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f36f6e9460)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_148866: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f37b9084b0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f37b864df8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f37b864df8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f370dd5dc0)', 'HASH(0x55f37b89ae80)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f370dd5dc0)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b89ae80)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f37b857430)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b89ae80)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f37b90b0d8)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f37b858ef0)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f37b88f668)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f37b877c90)', 'Try::Tiny::Catch=REF(0x55f37b89b1b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f37b8bdd58)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f37b89f9f8)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f372d12d48)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b89ae80)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f37b893fe8)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b89ae80)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f37b871150)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b89ae80)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f37b9123f8)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f37b8ca630)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f37b893d00)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f37004c270)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f37004c2b8)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f37b152dd0)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b89ae80)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f37b14e158)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f36f9da5d0)', 'HASH(0x55f37b89ae80)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f36f9da5d0)', 'Net::Server::Proto::UNIX=GLOB(0x55f37b8c4198)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f36f9da5d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f36f9da5d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f36f9da5d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f36f9da5d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f36f9da5d0)', 'port', 'ARRAY(0x55f36ffe62b0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f36f9da5d0)', 'CODE(0x55f36f9da480)', 'HASH(0x55f36fa39340)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f36f9da498)', 'CODE(0x55f36f9da480)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f36f7fffd8)', 'Plack::Handler::Starman=HASH(0x55f36f9da498)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f36f6e9460)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_148865: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55f3700ec9f8)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55f37b83aab8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55f37b83aab8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55f37004c468)', 'HASH(0x55f37b897818)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55f37004c468)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b897818)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55f37b6a5d78)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b897818)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55f37b92ebf8)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55f37b8ec6c0)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55f37b8c6688)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55f37b892eb8)', 'Try::Tiny::Catch=REF(0x55f37b84dfa8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55f37b8a6ce0)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55f37b8f3600)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55f37b02fc58)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b897818)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55f37b864310)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b897818)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55f37b8ce538)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b897818)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55f37b915010)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55f37b8d06a8)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55f37b897320)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55f37004c258)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55f37004c2a0)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55f37b155df8)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55f37b897818)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55f37b14ffb8)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55f36f9da5d0)', 'HASH(0x55f37b897818)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55f36f9da5d0)', 'Net::Server::Proto::UNIX=GLOB(0x55f37b9155b0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55f36f9da5d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55f36f9da5d0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55f36f9da5d0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55f36f9da5d0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55f36f9da5d0)', 'port', 'ARRAY(0x55f36ffe62b0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55f36f9da5d0)', 'CODE(0x55f36f9da480)', 'HASH(0x55f36fa39340)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55f36f9da498)', 'CODE(0x55f36f9da480)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55f36f7fffd8)', 'Plack::Handler::Starman=HASH(0x55f36f9da498)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55f36f6e9460)') called at /bin/starman line 38 2026/08/11-18:26:18 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-18:26:18 Worker processes cleaned up 2026/08/11-18:26:18 Server closing! Process Backgrounded 2026/08/11-18:26:20 Starman::Server (type Net::Server::PreFork) starting! pid(149505) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_149506: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5600cdc105c8)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5600d908ba10)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5600d908ba10)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5600cdb5dfd8)', 'HASH(0x5600d923a700)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5600cdb5dfd8)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d923a700)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5600d90cdc48)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d923a700)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5600d926c240)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5600d91a5320)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5600d90ab688)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5600d9217588)', 'Try::Tiny::Catch=REF(0x5600d9150020)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5600d917a668)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5600d90beb20)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5600d0841358)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d923a700)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5600d92c92e8)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d923a700)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5600d9120f18)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d923a700)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5600d9084068)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5600d923a478)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5600d90bed30)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5600cdb5ddf8)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5600cdb5de40)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5600d8c7bc80)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d923a700)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5600d8c80d48)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5600cd4e7360)', 'HASH(0x5600d923a700)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5600cd4e7360)', 'Net::Server::Proto::UNIX=GLOB(0x5600d928d7c8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5600cd4e7360)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5600cd4e7360)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5600cd4e7360)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5600cd4e7360)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5600cd4e7360)', 'port', 'ARRAY(0x5600cdb09ff0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5600cd4e7360)', 'CODE(0x5600cd4e7210)', 'HASH(0x5600cd55f8a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5600cd4e7228)', 'CODE(0x5600cd4e7210)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5600cd326398)', 'Plack::Handler::Starman=HASH(0x5600cd4e7228)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5600cd2246b8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_149506: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5600d922e120)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5600d9267730)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5600d9267730)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5600ce8faad8)', 'HASH(0x5600d925fd20)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5600ce8faad8)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d925fd20)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5600d9120ff0)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d925fd20)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5600d91213f8)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5600d906ee40)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5600d925f048)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5600d9226908)', 'Try::Tiny::Catch=REF(0x5600d90cad10)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5600d9330ed8)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5600d927fd08)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5600d0841358)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d925fd20)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5600d92c92e8)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d925fd20)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5600d9120f18)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d925fd20)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5600d9084068)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5600d923a478)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5600d90bed30)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5600cdb5ddf8)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5600cdb5de40)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5600d8c7bc80)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d925fd20)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5600d8c80d48)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5600cd4e7360)', 'HASH(0x5600d925fd20)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5600cd4e7360)', 'Net::Server::Proto::UNIX=GLOB(0x5600d90ca818)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5600cd4e7360)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5600cd4e7360)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5600cd4e7360)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5600cd4e7360)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5600cd4e7360)', 'port', 'ARRAY(0x5600cdb09ff0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5600cd4e7360)', 'CODE(0x5600cd4e7210)', 'HASH(0x5600cd55f8a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5600cd4e7228)', 'CODE(0x5600cd4e7210)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5600cd326398)', 'Plack::Handler::Starman=HASH(0x5600cd4e7228)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5600cd2246b8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_149506: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5600ce909c80)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5600d917f128)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5600d917f128)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5600ce8faad8)', 'HASH(0x5600d920e9e8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5600ce8faad8)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d920e9e8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5600d9120ff0)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d920e9e8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5600d91213f8)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5600d906ee40)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5600d925f048)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5600d90a89d8)', 'Try::Tiny::Catch=REF(0x5600d928e4b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5600d9330ed8)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5600d927fd08)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5600d0841358)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d920e9e8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5600d92c92e8)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d920e9e8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5600d9120f18)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d920e9e8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5600d9084068)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5600d923a478)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5600d90bed30)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5600cdb5ddf8)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5600cdb5de40)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5600d8c7bc80)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d920e9e8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5600d8c80d48)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5600cd4e7360)', 'HASH(0x5600d920e9e8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5600cd4e7360)', 'Net::Server::Proto::UNIX=GLOB(0x5600d92671c0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5600cd4e7360)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5600cd4e7360)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5600cd4e7360)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5600cd4e7360)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5600cd4e7360)', 'port', 'ARRAY(0x5600cdb09ff0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5600cd4e7360)', 'CODE(0x5600cd4e7210)', 'HASH(0x5600cd55f8a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5600cd4e7228)', 'CODE(0x5600cd4e7210)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5600cd326398)', 'Plack::Handler::Starman=HASH(0x5600cd4e7228)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5600cd2246b8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_149506: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5600d91b5660)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5600d90a02a0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5600d90a02a0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5600cdb5dfd8)', 'HASH(0x5600d91efc98)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5600cdb5dfd8)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d91efc98)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5600d90cdc48)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d91efc98)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5600d926c240)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5600d91a5320)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5600d90ab688)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5600d920c468)', 'Try::Tiny::Catch=REF(0x5600d91d40e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5600d917a668)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5600d90beb20)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5600d0841358)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d91efc98)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5600d92c92e8)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d91efc98)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5600d9120f18)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d91efc98)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5600d9084068)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5600d923a478)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5600d90bed30)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5600cdb5ddf8)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5600cdb5de40)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5600d8c7bc80)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d91efc98)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5600d8c80d48)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5600cd4e7360)', 'HASH(0x5600d91efc98)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5600cd4e7360)', 'Net::Server::Proto::UNIX=GLOB(0x5600d9226d28)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5600cd4e7360)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5600cd4e7360)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5600cd4e7360)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5600cd4e7360)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5600cd4e7360)', 'port', 'ARRAY(0x5600cdb09ff0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5600cd4e7360)', 'CODE(0x5600cd4e7210)', 'HASH(0x5600cd55f8a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5600cd4e7228)', 'CODE(0x5600cd4e7210)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5600cd326398)', 'Plack::Handler::Starman=HASH(0x5600cd4e7228)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5600cd2246b8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_149506: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5600d9309718)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5600d91fb8c0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5600d91fb8c0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5600ce8faad8)', 'HASH(0x5600d915be90)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5600ce8faad8)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d915be90)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5600d9120ff0)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d915be90)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5600d91213f8)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5600d906ee40)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5600d925f048)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5600d90afcf8)', 'Try::Tiny::Catch=REF(0x5600d91a1c50)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5600d9330ed8)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5600d927fd08)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5600d0841358)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d915be90)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5600d92c92e8)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d915be90)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5600d9120f18)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d915be90)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5600d9084068)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5600d923a478)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5600d90bed30)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5600cdb5ddf8)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5600cdb5de40)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5600d8c7bc80)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5600d915be90)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5600d8c80d48)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5600cd4e7360)', 'HASH(0x5600d915be90)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5600cd4e7360)', 'Net::Server::Proto::UNIX=GLOB(0x5600d9203b60)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5600cd4e7360)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5600cd4e7360)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5600cd4e7360)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5600cd4e7360)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5600cd4e7360)', 'port', 'ARRAY(0x5600cdb09ff0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5600cd4e7360)', 'CODE(0x5600cd4e7210)', 'HASH(0x5600cd55f8a0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5600cd4e7228)', 'CODE(0x5600cd4e7210)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5600cd326398)', 'Plack::Handler::Starman=HASH(0x5600cd4e7228)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5600cd2246b8)') called at /bin/starman line 38 2026/08/11-18:26:53 Received QUIT. Running a graceful shutdown Sending children hup signal Child process 149506 exited with status 0 - signal was 1 2026/08/11-18:26:53 Worker processes cleaned up 2026/08/11-18:26:53 Server closing! Process Backgrounded 2026/08/11-18:26:54 Starman::Server (type Net::Server::PreFork) starting! pid(150049) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644eeeba670)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa35f060)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa35f060)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644f9f2a480)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f2a480)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f2a480)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa4ce1d0)', 'Try::Tiny::Catch=REF(0x5644fa5ed290)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f2a480)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f2a480)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f2a480)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f2a480)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644f9f2a480)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa400540)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644eeeba608)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa4e7608)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa4e7608)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644f9f323e0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f323e0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f323e0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa442c48)', 'Try::Tiny::Catch=REF(0x5644fa3d47f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f323e0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f323e0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f323e0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f323e0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644f9f323e0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa4e6d80)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa3b26c0)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa477850)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa477850)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa4ac330)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4ac330)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa372208)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4ac330)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa34f158)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa504d28)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa563500)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa3e1128)', 'Try::Tiny::Catch=REF(0x5644fa54fe58)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa437010)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa4d2518)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4ac330)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4ac330)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4ac330)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4ac330)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa4ac330)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa4ea608)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa43ee30)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa4d67b0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa4d67b0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa325548)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa325548)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa325548)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa4766e8)', 'Try::Tiny::Catch=REF(0x5644fa50c7f8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa325548)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa325548)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa325548)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa325548)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa325548)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644eee1a3f0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa46e828)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa5c8e58)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5c8e58)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa372208)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5c8e58)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa34f158)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa504d28)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa563500)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa5ecf90)', 'Try::Tiny::Catch=REF(0x5644fa509960)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa437010)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa4d2518)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5c8e58)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5c8e58)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5c8e58)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa5c8e58)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa400438)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa5e5bf0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa4d6d38)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa4d6d38)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa4bb930)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4bb930)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4bb930)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa511270)', 'Try::Tiny::Catch=REF(0x5644fa5f9c18)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5644fa5a9610)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5644fa350358)', 'ARRAY(0x5644fa5a9610)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5644fa5a9610)', 'CODE(0x5644fa350358)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'ARRAY(0x5644fa5a9610)', 'CODE(0x5644fa350358)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4bb930)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4bb930)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4bb930)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4bb930)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa4bb930)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa191740)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa4b36b0)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa343800)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa343800)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa46e510)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa46e510)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa372208)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa46e510)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa34f158)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa504d28)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa563500)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa3288b0)', 'Try::Tiny::Catch=REF(0x5644fa34b910)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa437010)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa4d2518)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa46e510)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa46e510)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa46e510)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa46e510)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa46e510)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa5ea558)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa582b90)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa4db2f8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa4db2f8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa5a9b38)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a9b38)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a9b38)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa3da768)', 'Try::Tiny::Catch=REF(0x5644fa5a2288)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a9b38)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a9b38)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a9b38)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa5a9b38)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa4d6a08)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa471a68)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa3a18b0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa3a18b0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa38e320)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa38e320)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa38e320)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa4b34b8)', 'Try::Tiny::Catch=REF(0x5644fa524678)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa38e320)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa38e320)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa38e320)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa38e320)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa389778)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa582d70)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa3837c8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa3837c8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa442ba0)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa442ba0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa520e30)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa442ba0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5f5700)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa50c060)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa34c908)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa57efd8)', 'Try::Tiny::Catch=REF(0x5644fa3504a8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa511030)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa37a9c0)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa442ba0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa442ba0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa442ba0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa442ba0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa442ba0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa5a21e0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa4b2d08)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa348a30)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa348a30)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644f9f194e8)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f194e8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa372208)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f194e8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa34f158)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa504d28)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa563500)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa5c8f48)', 'Try::Tiny::Catch=REF(0x5644fa4e1bc8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa437010)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa4d2518)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f194e8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f194e8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f194e8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644f9f194e8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644f9f194e8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa4b3230)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa5adb78)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa34c2c0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa34c2c0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa50cae0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa50cae0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa50cae0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa41c878)', 'Try::Tiny::Catch=REF(0x5644fa56af90)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa50cae0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa50cae0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa50cae0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa50cae0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa50cae0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa4f3108)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa5250b0)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa3ffe98)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa3ffe98)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa31d760)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa31d760)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa372208)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa31d760)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa34f158)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa504d28)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa563500)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa35f3d8)', 'Try::Tiny::Catch=REF(0x5644fa3a1dd8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa437010)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa4d2518)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa31d760)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa31d760)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa31d760)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa31d760)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa31d760)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa52ac98)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa5e5aa0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa36e918)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa36e918)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa53b3e0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa53b3e0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa53b3e0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa43ba50)', 'Try::Tiny::Catch=REF(0x5644fa3b9b80)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa53b3e0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa53b3e0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa53b3e0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa53b3e0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa5e5890)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa433270)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa3a1700)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa3a1700)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa3530c8)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3530c8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa372208)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3530c8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa34f158)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa504d28)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa563500)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa5dd3c8)', 'Try::Tiny::Catch=REF(0x5644fa343b48)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa437010)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa4d2518)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3530c8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3530c8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3530c8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3530c8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa3530c8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa572700)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa5d1940)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa3c8b20)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa3c8b20)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa5a94a8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a94a8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a94a8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa5407f8)', 'Try::Tiny::Catch=REF(0x5644fa3e8910)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a94a8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a94a8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a94a8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa5a94a8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa5bd2f8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa572808)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa3a1568)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa3a1568)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa3f8898)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3f8898)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3f8898)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa3c7be8)', 'Try::Tiny::Catch=REF(0x5644fa4ce3e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3f8898)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3f8898)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3f8898)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3f8898)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa3f8898)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa3438c0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa4f2b68)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa367350)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa367350)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa5e5b00)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5b00)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa520e30)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5b00)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5f5700)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa50c060)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa34c908)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa4d6528)', 'Try::Tiny::Catch=REF(0x5644fa36ea08)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa511030)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa37a9c0)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5b00)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5b00)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5b00)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa5e5b00)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644f9f5bb58)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa42f9e0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa31df70)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa31df70)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa42f6c8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa42f6c8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa42f6c8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa44e378)', 'Try::Tiny::Catch=REF(0x5644fa42fd40)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa42f6c8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa42f6c8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa42f6c8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa42f6c8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa5cbc78)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa358550)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa5ce410)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa5ce410)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa5f9af8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5f9af8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5f9af8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa3ba0f0)', 'Try::Tiny::Catch=REF(0x5644fa3c87d8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5f9af8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5f9af8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5f9af8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa5f9af8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa313b48)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa43b1d0)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa344268)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa344268)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa483a10)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa483a10)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa372208)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa483a10)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa34f158)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa504d28)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa563500)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa563830)', 'Try::Tiny::Catch=REF(0x5644fa328328)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa437010)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa4d2518)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa483a10)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa483a10)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa483a10)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa483a10)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa483a10)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa5252a8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa408740)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa37aed0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa37aed0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa5e5d88)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5d88)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5d88)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa5e5f50)', 'Try::Tiny::Catch=REF(0x5644fa34f680)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5d88)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5d88)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5d88)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa5e5d88)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fac1b530)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa343a28)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa5ece40)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa5ece40)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa44dec8)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa44dec8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa372208)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa44dec8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa34f158)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa504d28)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa563500)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa44deb0)', 'Try::Tiny::Catch=REF(0x5644fa44e138)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa437010)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa4d2518)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa44dec8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa44dec8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa44dec8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa44dec8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa44dec8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa343f38)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa537fe0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa5a5268)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa5a5268)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa4d6ae0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4d6ae0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4d6ae0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa5e5860)', 'Try::Tiny::Catch=REF(0x5644fa585fb0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4d6ae0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4d6ae0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4d6ae0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa4d6ae0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa5bdbc8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa57b470)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa352eb8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa352eb8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa3e1188)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3e1188)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3e1188)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa51cdc0)', 'Try::Tiny::Catch=REF(0x5644fa35f3f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3e1188)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3e1188)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3e1188)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3e1188)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa3e1188)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa30b728)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa4a8808)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa472578)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa472578)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa4088a8)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4088a8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa520e30)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4088a8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5f5700)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa50c060)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa34c908)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa5a2030)', 'Try::Tiny::Catch=REF(0x5644fa4d7098)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa511030)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa37a9c0)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4088a8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4088a8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4088a8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4088a8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa4088a8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa4a9120)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa5e9c40)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa389c10)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa389c10)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa4b0b50)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4b0b50)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4b0b50)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa5dd728)', 'Try::Tiny::Catch=REF(0x5644fa344178)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4b0b50)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4b0b50)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4b0b50)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa4b0b50)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa4b2a20)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa5d9cc0)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa3c8bf8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa3c8bf8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa557440)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa557440)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa520e30)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa557440)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5f5700)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa50c060)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa34c908)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa3c55b0)', 'Try::Tiny::Catch=REF(0x5644fa5b6eb0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa511030)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa37a9c0)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa557440)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa557440)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa557440)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa557440)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa557440)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa3c21e0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa3ffe08)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa553510)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa553510)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa32c8c0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c8c0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c8c0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa553a68)', 'Try::Tiny::Catch=REF(0x5644fa3773d0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c8c0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c8c0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c8c0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa32c8c0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa30baa0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa5407f8)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa5d9660)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa5d9660)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa4e9d50)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e9d50)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa520e30)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e9d50)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5f5700)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa50c060)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa34c908)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa557350)', 'Try::Tiny::Catch=REF(0x5644fa34f938)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa511030)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa37a9c0)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e9d50)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e9d50)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e9d50)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa4e9d50)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa4dba90)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa32c050)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa43afc0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa43afc0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa3a4fa0)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a4fa0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa372208)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a4fa0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa34f158)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa504d28)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa563500)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa5e9dc0)', 'Try::Tiny::Catch=REF(0x5644fa553ee8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa437010)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa4d2518)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a4fa0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a4fa0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a4fa0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa3a4fa0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa3286d0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa3c8ca0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa340390)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa340390)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa5bd9d0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bd9d0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bd9d0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa5b9b30)', 'Try::Tiny::Catch=REF(0x5644fa363730)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bd9d0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bd9d0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bd9d0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa5bd9d0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa5d18b0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa4ac330)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa32c3e0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa32c3e0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa52aaa0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa52aaa0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa52aaa0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa34c558)', 'Try::Tiny::Catch=REF(0x5644fa42f740)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa52aaa0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa52aaa0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa52aaa0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa52aaa0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa5ed1a0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa4dbaf0)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa358388)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa358388)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa4e7380)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e7380)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa520e30)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e7380)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5f5700)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa50c060)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa34c908)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa4dbac0)', 'Try::Tiny::Catch=REF(0x5644fa4d6528)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa511030)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa37a9c0)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e7380)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e7380)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e7380)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e7380)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa4e7380)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa5da0e0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa377328)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa43b140)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa43b140)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644ee6815a0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644ee6815a0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644ee6815a0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa51f618)', 'Try::Tiny::Catch=REF(0x5644fa34f260)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5644fa348058)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5644fa553948)', 'ARRAY(0x5644fa348058)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5644fa348058)', 'CODE(0x5644fa553948)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'ARRAY(0x5644fa348058)', 'CODE(0x5644fa553948)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644ee6815a0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644ee6815a0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644ee6815a0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644ee6815a0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644ee6815a0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa57de88)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa36eb70)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa4e67c8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa4e67c8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa310c28)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa310c28)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa520e30)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa310c28)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5f5700)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa50c060)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa34c908)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa4a83a0)', 'Try::Tiny::Catch=REF(0x5644fa3b9910)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa511030)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa37a9c0)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa310c28)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa310c28)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa310c28)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa310c28)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa310c28)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa4f2dd8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa5251e8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa553738)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa553738)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa3a1520)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a1520)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a1520)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa46dcd0)', 'Try::Tiny::Catch=REF(0x5644fa4de928)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a1520)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a1520)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a1520)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3a1520)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa3a1520)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa52af68)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa5a21b0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa36bb28)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa36bb28)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa57ea68)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ea68)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ea68)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa37ab28)', 'Try::Tiny::Catch=REF(0x5644fa3b9cb8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ea68)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ea68)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ea68)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ea68)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa57ea68)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa4dae78)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa3a1700)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa436f50)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa436f50)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa3fcc28)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3fcc28)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3fcc28)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa32f640)', 'Try::Tiny::Catch=REF(0x5644fa4524b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5644fa347ff8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5644fa35bc90)', 'ARRAY(0x5644fa347ff8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5644fa347ff8)', 'CODE(0x5644fa35bc90)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'ARRAY(0x5644fa347ff8)', 'CODE(0x5644fa35bc90)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3fcc28)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3fcc28)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3fcc28)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa3fcc28)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa32f910)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa56ac78)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa550a10)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa550a10)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa5ba6a0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ba6a0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ba6a0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa5a2528)', 'Try::Tiny::Catch=REF(0x5644fa5f50e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ba6a0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ba6a0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ba6a0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa5ba6a0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa4ecf60)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa455f30)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa30b9b0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa30b9b0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa32c6e0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c6e0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c6e0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa524e58)', 'Try::Tiny::Catch=REF(0x5644fa3ffe98)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c6e0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c6e0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c6e0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa32c6e0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa51f6c0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa3c8868)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa4db628)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa4db628)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa5e5800)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5800)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa520e30)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5800)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5f5700)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa50c060)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa34c908)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa4d64e0)', 'Try::Tiny::Catch=REF(0x5644fa5ce7b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa511030)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa37a9c0)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5800)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5800)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5800)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5e5800)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa5e5800)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa4dbbb0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa4b3788)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa352df8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa352df8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa4333a8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4333a8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4333a8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa471ab0)', 'Try::Tiny::Catch=REF(0x5644fa42f980)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4333a8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4333a8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4333a8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4333a8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa4333a8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa524f48)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa4d7290)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa5d9cd8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa5d9cd8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa5bda90)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bda90)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa520e30)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bda90)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5f5700)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa50c060)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa34c908)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa48cab8)', 'Try::Tiny::Catch=REF(0x5644fa5a5340)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa511030)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa37a9c0)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bda90)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bda90)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bda90)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5bda90)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa5bda90)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa5f1d58)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa34fef0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa51f618)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa51f618)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa3ffe38)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3ffe38)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3ffe38)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa5dd3b0)', 'Try::Tiny::Catch=REF(0x5644fa57e248)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5644fa4b3050)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5644fa471f48)', 'ARRAY(0x5644fa4b3050)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5644fa4b3050)', 'CODE(0x5644fa471f48)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'ARRAY(0x5644fa4b3050)', 'CODE(0x5644fa471f48)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3ffe38)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3ffe38)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3ffe38)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa3ffe38)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa456488)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa3c8b38)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa59e260)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa59e260)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa4e73b0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e73b0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e73b0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa4e6ca8)', 'Try::Tiny::Catch=REF(0x5644fa5a98e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5644fa4db1f0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5644fa5a2300)', 'ARRAY(0x5644fa4db1f0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5644fa4db1f0)', 'CODE(0x5644fa5a2300)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'ARRAY(0x5644fa4db1f0)', 'CODE(0x5644fa5a2300)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e73b0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e73b0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e73b0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa4e73b0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa328c28)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa400540)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa42fd10)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa42fd10)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa51f630)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa51f630)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa51f630)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa328aa8)', 'Try::Tiny::Catch=REF(0x5644fa4b3500)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa51f630)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa51f630)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa51f630)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa51f630)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa51f630)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa5e6870)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa3c1dd8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa59a250)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa59a250)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa56abb8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa56abb8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa56abb8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa405780)', 'Try::Tiny::Catch=REF(0x5644fa5d9fa8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa56abb8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa56abb8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa56abb8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa56abb8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa56abb8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa488ec8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa343de8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa30b548)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa30b548)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa328598)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328598)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328598)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa487e38)', 'Try::Tiny::Catch=REF(0x5644fa35ea48)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5644fa386950)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5644fa4b33c8)', 'ARRAY(0x5644fa386950)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5644fa386950)', 'CODE(0x5644fa4b33c8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'ARRAY(0x5644fa386950)', 'CODE(0x5644fa4b33c8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328598)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328598)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328598)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328598)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa328598)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa5cbb88)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa4de660)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa586160)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa586160)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa5400f0)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5400f0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa520e30)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5400f0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5f5700)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa50c060)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa34c908)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa5d9a08)', 'Try::Tiny::Catch=REF(0x5644fa4a8d90)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa511030)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa37a9c0)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5400f0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5400f0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5400f0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5400f0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa5400f0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa4d6930)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa42f740)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa553210)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa553210)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa34fb00)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa34fb00)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa34fb00)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa52ea70)', 'Try::Tiny::Catch=REF(0x5644fa34fd10)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa34fb00)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa34fb00)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa34fb00)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa34fb00)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa34fb00)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa38a468)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa53b470)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa57ea08)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa57ea08)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa328b50)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328b50)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328b50)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa599ff8)', 'Try::Tiny::Catch=REF(0x5644fa596c48)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328b50)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328b50)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328b50)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328b50)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa328b50)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa5e8140)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa347e60)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa353080)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa353080)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa4565d8)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a780)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4565d8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa372208)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4565d8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa34f158)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa504d28)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa563500)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa469650)', 'Try::Tiny::Catch=REF(0x5644fa5e6870)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa437010)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa4d2518)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4565d8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4565d8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4565d8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa4565d8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa4565d8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa4e5580)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa5577a0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa5998d8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa5998d8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa420a60)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa420a60)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa420a60)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa3256f8)', 'Try::Tiny::Catch=REF(0x5644fa4db0b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa420a60)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa420a60)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa420a60)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa420a60)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa420a60)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa57f128)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa4516b8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa38e320)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa5dfaf0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5dfaf0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5dfaf0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa35ece8)', 'Try::Tiny::Catch=REF(0x5644fa524858)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5dfaf0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5dfaf0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5dfaf0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa5dfaf0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa451df0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa3dcbb8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa5bd6e8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa5bd6e8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa57ed98)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ed98)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ed98)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa557488)', 'Try::Tiny::Catch=REF(0x5644fa36e870)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ed98)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ed98)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ed98)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa57ed98)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa57ed98)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa456b28)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa32c7e8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa46dc28)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa46dc28)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa5ea420)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ea420)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ea420)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa42f7a0)', 'Try::Tiny::Catch=REF(0x5644fa34b9a0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5644fa525200)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5644fa553be8)', 'ARRAY(0x5644fa525200)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5644fa525200)', 'CODE(0x5644fa553be8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'ARRAY(0x5644fa525200)', 'CODE(0x5644fa553be8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ea420)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ea420)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ea420)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa5ea420)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa5ea420)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa389718)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa5a9520)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa527310)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa527310)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa328c40)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644eee1a768)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328c40)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa520e30)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328c40)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5f5700)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa50c060)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa34c908)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa550c98)', 'Try::Tiny::Catch=REF(0x5644fa36f1e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa511030)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa37a9c0)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328c40)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328c40)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328c40)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa328c40)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa328c40)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa3b9ad8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa44aef8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa57b470)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa57b470)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa553a08)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa553a08)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa553a08)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa472200)', 'Try::Tiny::Catch=REF(0x5644fa5a5630)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa553a08)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa553a08)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa553a08)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa553a08)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa553a08)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa32c050)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150050: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa5f9b28)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa329420)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa329420)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa3c21b0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efbb1b48)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3c21b0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa37f4f8)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3c21b0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa479350)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa55b278)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa50c3d8)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa586040)', 'Try::Tiny::Catch=REF(0x5644fa3c56d0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa5f5220)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5644fa5d9660)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5644fa5e7fd8)', 'ARRAY(0x5644fa5d9660)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5644fa5d9660)', 'CODE(0x5644fa5e7fd8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'ARRAY(0x5644fa5d9660)', 'CODE(0x5644fa5e7fd8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa5bd208)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f9efd5c8)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3c21b0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa340540)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3c21b0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa55b4d0)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3c21b0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa510ac0)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4523d0)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa5e8008)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a5e8)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a630)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f273b0)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f17a68)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa3c21b0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa3503b8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_150052: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5644fa4ac4f8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5644fa5533a8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5644fa5533a8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa35ee38)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5644efba6530)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa35ee38)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5644fa4dec28)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa35ee38)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5644fa5ae498)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5644fa38dd80)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5644fa51c9e8)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5644fa3a1c10)', 'Try::Tiny::Catch=REF(0x5644fa483a10)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5644fa504cc8)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5644fa3a19a0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5644fa4b07c0)', 'ARRAY(0x5644fa3a19a0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5644fa3a19a0)', 'CODE(0x5644fa4b07c0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'ARRAY(0x5644fa3a19a0)', 'CODE(0x5644fa4b07c0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5644fa3b24f8)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5644f268fab0)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa35ee38)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5644fa377e80)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa35ee38)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5644fa59cf60)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa35ee38)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5644fa54fba0)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5644fa4d6cf8)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5644fa51c190)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5644eee1a600)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5644eee1a648)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5644f9f1fb00)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5644fa35ee38)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5644f9f25348)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5644ee791e10)', 'HASH(0x5644fa35ee38)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5644ee791e10)', 'Net::Server::Proto::UNIX=GLOB(0x5644fa35f138)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5644ee791e10)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5644ee791e10)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'port', 'ARRAY(0x5644eedb4340)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5644ee791e10)', 'CODE(0x5644ee791cc0)', 'HASH(0x5644ee809aa0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5644ee791cd8)', 'CODE(0x5644ee791cc0)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5644ee5d0698)', 'Plack::Handler::Starman=HASH(0x5644ee791cd8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5644ee38c560)') called at /bin/starman line 38 2026/08/11-19:42:14 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-19:42:14 Worker processes cleaned up 2026/08/11-19:42:14 Server closing! Process Backgrounded 2026/08/11-19:42:15 Starman::Server (type Net::Server::PreFork) starting! pid(170590) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_170596: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55d334913bb8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55d33fd8f910)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55d33fd8f910)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55d335609180)', 'HASH(0x55d3348732d0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55d335609180)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d3348732d0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x55d33fe5ba20)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d3348732d0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x55d33ff67dd8)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55d33fea8e48)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55d33fea90e8)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55d33fe60650)', 'Try::Tiny::Catch=REF(0x55d34001acd0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55d33fea9a78)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x55d33fd819e0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x55d33fe18cd8)', 'ARRAY(0x55d33fd819e0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x55d33fd819e0)', 'CODE(0x55d33fe18cd8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x55d33fe55780)', 'ARRAY(0x55d33fd819e0)', 'CODE(0x55d33fe18cd8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55d33fe55780)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55d33e244330)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d3348732d0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55d33fea54a0)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d3348732d0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55d33fe9d1b8)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d3348732d0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x55d33feeb408)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55d33fd81ed8)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55d33fe64e70)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55d3348734c8)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55d334873510)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55d33f978d80)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55d3348732d0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55d33f97e170)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55d3341e8fe0)', 'HASH(0x55d3348732d0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x55d3341e8fe0)', 'Net::Server::Proto::UNIX=GLOB(0x55d33fdf88c8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55d3341e8fe0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55d3341e8fe0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55d3341e8fe0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55d3341e8fe0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55d3341e8fe0)', 'port', 'ARRAY(0x55d33480e050)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'background', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55d3341e8fe0)', 'CODE(0x55d3341e8e90)', 'HASH(0x55d334261320)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55d3341e8ea8)', 'CODE(0x55d3341e8e90)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55d334027598)', 'Plack::Handler::Starman=HASH(0x55d3341e8ea8)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55d333f30b98)') called at /bin/starman line 38 2026/08/11-19:46:23 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-19:46:23 Worker processes cleaned up 2026/08/11-19:46:23 Server closing! Process Backgrounded 2026/08/11-19:46:24 Starman::Server (type Net::Server::PreFork) starting! pid(171594) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ 2026/08/11-19:57:31 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-19:57:31 Worker processes cleaned up 2026/08/11-19:57:31 Server closing! Process Backgrounded 2026/08/11-19:57:32 Starman::Server (type Net::Server::PreFork) starting! pid(180222) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606b7ce2628)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c3314048)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c3314048)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c31272d8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31272d8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31272d8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3314030)', 'Try::Tiny::Catch=REF(0x5606c3290d08)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31272d8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31272d8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31272d8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31272d8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c31272d8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c33d2098)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606b7ce2ad0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c34f6de0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c34f6de0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c345d658)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c345d658)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c3454ee0)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c345d658)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c349ac28)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c34cc928)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c34eaa40)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3422b10)', 'Try::Tiny::Catch=REF(0x5606c3505c00)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c342f838)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c34c9ad0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c3503758)', 'ARRAY(0x5606c34c9ad0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c34c9ad0)', 'CODE(0x5606c3503758)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'ARRAY(0x5606c34c9ad0)', 'CODE(0x5606c3503758)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c345d658)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c345d658)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c345d658)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c345d658)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c345d658)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c3477780)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c32e9f20)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c311b0f8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c311b0f8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c33d4a80)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33d4a80)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33d4a80)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3181410)', 'Try::Tiny::Catch=REF(0x5606c324a658)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c3172718)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c33679c8)', 'ARRAY(0x5606c3172718)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c3172718)', 'CODE(0x5606c33679c8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'ARRAY(0x5606c3172718)', 'CODE(0x5606c33679c8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33d4a80)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33d4a80)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33d4a80)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33d4a80)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c33d4a80)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c330fa58)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c347b1a8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c342bd00)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c342bd00)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c3418dd8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3418dd8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c3454ee0)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3418dd8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c349ac28)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c34cc928)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c34eaa40)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3445a48)', 'Try::Tiny::Catch=REF(0x5606c2d46578)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c342f838)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3418dd8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3418dd8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3418dd8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3418dd8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c3418dd8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c349f4b0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c324ef40)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c31643c8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c31643c8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c329bd18)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c329bd18)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c329bd18)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3301b30)', 'Try::Tiny::Catch=REF(0x5606c33ecff0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c3195108)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c32f9928)', 'ARRAY(0x5606c3195108)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c3195108)', 'CODE(0x5606c32f9928)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'ARRAY(0x5606c3195108)', 'CODE(0x5606c32f9928)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c329bd18)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c329bd18)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c329bd18)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c329bd18)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c329bd18)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c2d227a8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c3432570)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c34c14e8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c34c14e8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c347fd60)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347fd60)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c3454ee0)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347fd60)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c349ac28)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c34cc928)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c34eaa40)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c34d15a0)', 'Try::Tiny::Catch=REF(0x5606c34499e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c342f838)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347fd60)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347fd60)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347fd60)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347fd60)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c347fd60)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c345cd10)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c34011d0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dsearch_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-search.pl^J#!/usr/bin/perl^J^J# Copyright 2008 Garry Column and the Koha Development team^J# Copyright 2010 BibLibre^J# Copyright 2011 KohaAloha, NZ^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^J# Script to perform searching^J# Mostly copied from search.pl, see POD there^Juse Modern::Perl;^J^J## STEP 1. Load things that are used in both search page and^J# results page and decide which template to load, operations^J# to perform, etc.^J## load Koha modules^Juse C4::Context;^Juse List::MoreUtils q/any/;^Juse Try::Tiny;^Juse Encode;^J^Juse Data::Dumper; # TODO remove^J^Juse Koha::SearchEngine::Search;^Juse Koha::SearchEngine::QueryBuilder;^J^Jmy $searchengine = C4::Context->preference("SearchEngine");^Jmy ( $builder, $searcher );^J^J#$searchengine = \'Zebra\'; # XXX^J$builder = Koha::SearchEngine::QueryBuilder->new( { index => \'biblios\' } );^J$searcher = Koha::SearchEngine::Search->new( { index => \'biblios\' } );^J^Juse C4::Output qw( output_html_with_http_headers pagination_bar output_with_http_headers );^Juse C4::Auth qw( get_template_and_user get_session );^Juse C4::Languages qw( getlanguage getLanguages );^Juse C4::Search qw( searchResults );^Juse C4::Search::History;^Juse C4::Biblio qw( GetXmlBiblio CountItemsIssued );^Juse C4::Koha qw( GetItemTypesCategorized getitemtypeimagelocation GetAuthorisedValues );^Juse C4::Tags qw( get_tags );^Juse C4::SocialData;^Juse C4::External::OverDrive;^J^Juse Koha::CirculationRules;^Juse Koha::Libraries;^Juse Koha::ItemTypes;^Juse Koha::Ratings;^Juse Koha::Virtualshelves;^Juse Koha::Library::Groups;^Juse Koha::Patrons;^Juse Koha::Plugins;^Juse Koha::SearchFields;^J^Juse POSIX qw(ceil floor strftime);^Juse URI::Escape;^Juse JSON qw/decode_json encode_json/;^Juse Business::ISBN;^J^J# create a new CGI object^J# FIXME: no_undef_params needs to be tested^Juse CGI qw(\'-no_undef_params\' -utf8);^Jmy $cgi = CGI->new;^J^Jmy $branch_group_limit = $cgi->param("branch_group_limit");^Jif ($branch_group_limit) {^J if ( $branch_group_limit =~ /^multibranchlimit-/ ) {^J^J # branch_group_limit is deprecated, it should no longer be used^J # For search groups we are going to convert this branch_group_limit CGI^J # parameter into a multibranchlimit limit CGI parameter for the purposes of^J # actually performing the query^J $cgi->param(^J -name => \'limit\',^J -values => \'multibranchlimit:\' . substr( $branch_group_limit, 17 )^J );^J } else {^J $cgi->append(^J -name => \'limit\',^J -values => [$branch_group_limit]^J );^J }^J}^J^Jmy ( $template, $borrowernumber, $cookie );^J^J# decide which template to use^Jmy $template_name;^Jmy $template_type = \'basic\';^Jmy @params = $cgi->multi_param("limit");^Jmy @searchCategories = $cgi->multi_param(\'searchcat\');^J^Jmy $format = $cgi->param("format") || \'\';^Jif ( $format =~ /(rss|atom|opensearchdescription)/ ) {^J $template_name = \'opac-opensearch.tt\';^J} elsif ( ( @params >= 1 )^J || ( defined $cgi->param("q") && $cgi->param("q") ne "" )^J || ( $cgi->param(\'multibranchlimit\') )^J || ( $cgi->param(\'limit-yr\') )^J || @searchCategories )^J{^J $template_name = \'opac-results.tt\';^J} else {^J $template_name = \'opac-advsearch.tt\';^J $template_type = \'advsearch\';^J}^J^J$format = \'rss\' if $format =~ /^rss2?$/;^J^J# load the template^J( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => $template_name,^J query => $cgi,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^Jmy $patron = Koha::Patrons->find($borrowernumber);^J^Jmy $lang = C4::Languages::getlanguage($cgi);^J^Jif ( $template_name eq \'opac-results.tt\' ) {^J $template->param( \'COinSinOPACResults\' => C4::Context->preference(\'COinSinOPACResults\') );^J}^J^J# get biblionumbers stored in the cart^Jmy @cart_list;^J^Jif ( $cgi->cookie("bib_list") ) {^J my $cart_list = $cgi->cookie("bib_list");^J @cart_list = split( /\//, $cart_list );^J}^J^Jif ( $format eq \'rss\' or $format eq \'opensearchdescription\' or $format eq \'atom\' ) {^J $template->param( $format => 1 );^J^J #NOTE: opensearchdescription doesn\'t actually use timestamp...^J $template->param( timestamp => strftime( "%Y-%m-%dT%H:%M:%S-00:00", gmtime ) ) if ( $format eq \'atom\' );^J^J # FIXME - the timestamp is a hack - the biblio update timestamp should be used for each^J # entry, but not sure if that\'s worth an extra database query for each bib^J}^J^J#NOTE: Return now for \'opensearchdescription\' BZ 32639^Jif ( $format && $format eq \'opensearchdescription\' ) {^J my $content_type = $format;^J output_with_http_headers $cgi, $cookie, $template->output, $content_type;^J exit;^J}^J^Jif ( C4::Context->preference("marcflavour") eq "UNIMARC" ) {^J $template->param( \'UNIMARC\' => 1 );^J} elsif ( C4::Context->preference("marcflavour") eq "MARC21" ) {^J $template->param( \'usmarc\' => 1 );^J}^J^J$template->param( \'OPACNoResultsFound\' => C4::Context->preference(\'OPACNoResultsFound\') );^J^J$template->param( OpacStarRatings => C4::Context->preference("OpacStarRatings") );^J^J## URI Re-Writing^J# Deprecated, but preserved because it\'s interesting :-)^J# The same thing can be accomplished with mod_rewrite in^J# a more elegant way^J#^J#my $rewrite_flag;^J#my $uri = $cgi->url(-base => 1);^J#my $relative_url = $cgi->url(-relative=>1);^J#$uri.="/".$relative_url."?";^J#warn "URI:$uri";^J#my @cgi_params_list = $cgi->param();^J#my $url_params = $cgi->Vars;^J#^J#for my $each_param_set (@cgi_params_list) {^J# $uri.= join "", map "\&$each_param_set=".$_, split("\0",$url_params->{$each_param_set}) if $url_params->{$each_param_set};^J#}^J#warn "New URI:$uri";^J# Only re-write a URI if there are params or if it already hasn\'t been re-written^J#unless (($cgi->param(\'r\')) || (!$cgi->param()) ) {^J# print $cgi->redirect( -uri=>$uri."&r=1",^J# -cookie => $cookie);^J# exit;^J#}^J^J# load the branches^J^Jif ( $cgi->param("returntosearch") ) {^J $template->param( \'ReturnToSearch\' => 1 );^J}^Jif ( $cgi->cookie("search_path_code") ) {^J my $pathcode = $cgi->cookie("search_path_code");^J if ( $pathcode eq \'ads\' ) {^J $template->param( \'ReturnPath\' => \'/cgi-bin/koha/opac-search.pl?returntosearch=1\' );^J } elsif ( $pathcode eq \'exs\' ) {^J my $return_params = \'expanded_options=1&returntosearch=1\';^J $return_params .= \'&weight_search_submitted=1\' if $cgi->param(\'weight_search_submitted\');^J $return_params .= \'&weight_search=1\' if $cgi->param(\'weight_search\');^J $template->param( \'ReturnPath\' => "/cgi-bin/koha/opac-search.pl?$return_params" );^J } else {^J warn "ReturnPath switch error";^J }^J}^J^Jmy @search_groups = Koha::Library::Groups->get_search_groups( { interface => \'opac\' } )->as_list;^J$template->param( search_groups => \@search_groups );^J^Jif ( $template_type && $template_type eq \'advsearch\' ) {^J^J # load the language limits (for search)^J my $languages_limit_loop = getLanguages( $lang, 1 );^J $template->param( search_languages_loop => $languages_limit_loop, );^J}^J^J# load the Type stuff^Jmy $itemtypes = GetItemTypesCategorized;^J^J# add translated_description to itemtypes^Jforeach my $itemtype ( keys %{$itemtypes} ) {^J^J # Itemtypes search categories don\'t have (yet) translated descriptions, they are auth values (and could still have no descriptions too BZ 18400)^J # If \'iscat\' (see ITEMTYPECAT) then there is no itemtype and the description is not translated^J my $translated_description =^J $itemtypes->{$itemtype}->{iscat}^J ? $itemtypes->{$itemtype}->{description}^J : Koha::ItemTypes->find($itemtype)->translated_description;^J $itemtypes->{$itemtype}->{translated_description} =^J $translated_description || $itemtypes->{$itemtype}->{description} || q{};^J}^J^J# the index parameter is different for item-level itemtypes^Jmy $itype_or_itemtype = ( C4::Context->preference("item-level_itypes") ) ? \'itype\' : \'itemtype\';^Jmy @advancedsearchesloop;^Jmy $cnt;^Jmy $advanced_search_types = C4::Context->preference("OpacAdvancedSearchTypes") || "itemtypes";^Jmy @advanced_search_types = split( /\|/, $advanced_search_types );^J^Jmy $hidingrules = C4::Context->yaml_preference(\'OpacHiddenItems\') // {};^J^Jmy @sorted_itemtypes =^J sort { $itemtypes->{$a}->{translated_description} cmp $itemtypes->{$b}->{translated_description} } keys %$itemtypes;^Jforeach my $advanced_srch_type (@advanced_search_types) {^J $advanced_srch_type =~ s/^\s*//;^J $advanced_srch_type =~ s/\s*$//;^J if ( $advanced_srch_type eq \'itemtypes\' ) {^J^J # itemtype is a special case, since it\'s not defined in authorized values^J my @itypesloop;^J foreach my $thisitemtype (@sorted_itemtypes) {^J next if $hidingrules->{itype} && any { $_ eq $thisitemtype } @{ $hidingrules->{itype} };^J next if $hidingrules->{itemtype} && any { $_ eq $thisitemtype } @{ $hidingrules->{itemtype} };^J my %row = (^J number => $cnt++,^J ccl => "$itype_or_itemtype,phr",^J code => $thisitemtype,^J description => $itemtypes->{$thisitemtype}->{translated_description},^J imageurl => getitemtypeimagelocation( \'opac\', $itemtypes->{$thisitemtype}->{\'imageurl\'} ),^J cat => $itemtypes->{$thisitemtype}->{\'iscat\'},^J hideinopac => $itemtypes->{$thisitemtype}->{\'hideinopac\'},^J searchcategory => $itemtypes->{$thisitemtype}->{\'searchcategory\'},^J );^J if ( !$itemtypes->{$thisitemtype}->{\'hideinopac\'} ) {^J push @itypesloop, \%row;^J }^J }^J my %search_code = (^J advanced_search_type => $advanced_srch_type,^J code_loop => \@itypesloop^J );^J push @advancedsearchesloop, \%search_code;^J } else {^J^J # covers all the other cases: non-itemtype authorized values^J my $advsearchtypes = GetAuthorisedValues( $advanced_srch_type, \'opac\' );^J my @authvalueloop;^J for my $thisitemtype (@$advsearchtypes) {^J my $hiding_key = lc $thisitemtype->{category};^J $hiding_key = "location" if $hiding_key eq \'loc\';^J next^J if $hidingrules->{$hiding_key} && any { $_ eq $thisitemtype->{authorised_value} }^J @{ $hidingrules->{$hiding_key} };^J my %row = (^J number => $cnt++,^J ccl => $advanced_srch_type,^J code => $thisitemtype->{authorised_value},^J description => $thisitemtype->{\'lib_opac\'} || $thisitemtype->{\'lib\'},^J searchcategory => $itemtypes->{$thisitemtype}->{\'searchcategory\'},^J imageurl => getitemtypeimagelocation( \'opac\', $thisitemtype->{\'imageurl\'} ),^J );^J push @authvalueloop, \%row;^J }^J my %search_code = (^J advanced_search_type => $advanced_srch_type,^J code_loop => \@authvalueloop^J );^J push @advancedsearchesloop, \%search_code;^J }^J}^J$template->param( advancedsearchesloop => \@advancedsearchesloop );^J^Jmy $default_sort_by = C4::Context->default_catalog_sort_by;^J^J# The following should only be loaded if we\'re bringing up the advanced search template^Jif ( $template_type && $template_type eq \'advsearch\' ) {^J^J # load the servers (used for searching -- to do federated searching, etc.)^J my $primary_servers_loop; # = displayPrimaryServers();^J $template->param( outer_servers_loop => $primary_servers_loop, );^J^J my $secondary_servers_loop;^J $template->param( outer_sup_servers_loop => $secondary_servers_loop, );^J^J # set the default sorting^J if ($default_sort_by) {^J $template->param( sort_by => $default_sort_by );^J }^J^J my @advsearch_limits = split /,/, C4::Context->preference(\'OpacAdvSearchOptions\');^J my @advsearch_more_limits = split /,/,^J C4::Context->preference(\'OpacAdvSearchMoreOptions\');^J $template->param(^J uc( C4::Context->preference("marcflavour") ) => 1, # we already did this for UNIMARC^J advsearch => 1,^J OpacAdvSearchOptions => \@advsearch_limits,^J OpacAdvSearchMoreOptions => \@advsearch_more_limits,^J );^J^J # use the global setting by default^J if ( C4::Context->preference("expandedSearchOption") == 1 ) {^J $template->param( expanded_options => C4::Context->preference("expandedSearchOption") );^J }^J^J # but let the user override it^J if ( defined $cgi->param(\'expanded_options\') ) {^J if ( ( $cgi->param(\'expanded_options\') == 0 ) || ( $cgi->param(\'expanded_options\') == 1 ) ) {^J $template->param( expanded_options => scalar $cgi->param(\'expanded_options\') );^J }^J }^J^J # Force expanded options if weight_search_submitted is present^J if ( $cgi->param(\'weight_search_submitted\') ) {^J $template->param( expanded_options => 1 );^J }^J^J # Always pass weight_search_submitted to template for checkbox logic^J $template->param( weight_search_submitted => scalar $cgi->param(\'weight_search_submitted\') );^J^J output_html_with_http_headers $cgi, $cookie, $template->output;^J exit;^J}^J^J### OK, if we\'re this far, we\'re performing an actual search^J^J# Fetch the parameter list as a hash in scalar context:^J# * returns parameter list as tied hash ref^J# * we can edit the values by changing the key^J# * multivalued CGI parameters are returned as a packaged string separated by "\0" (null)^Jmy $params = $cgi->Vars;^Jmy $tag;^Jif ( $params->{tag} ) {^J $tag = $params->{tag};^J $template->param( tag => $tag );^J}^J^J# String with params with the search criteria for the paging in opac-detail^J# param value is URI encoded and params separator is HTML encode (&)^Jmy $pasarParams = \'\';^Jmy $j = 0;^Jfor ( keys %$params ) {^J my @pasarParam = $cgi->multi_param($_);^J for my $paramValue (@pasarParam) {^J $pasarParams .= \'&\' if ( $j > 0 );^J $pasarParams .= uri_escape_utf8($_) . \'=\' . uri_escape_utf8($paramValue);^J $j++;^J }^J}^J^J# Params that can have more than one value^J# sort by is used to sort the query^J# in theory can have more than one but generally there\'s just one^Jmy @sort_by;^Jmy @allowed_sortby =^J qw /acqdate_asc acqdate_dsc author_az author_za call_number_asc call_number_dsc popularity_asc popularity_dsc pubdate_asc pubdate_dsc relevance title_az title_za/;^J@sort_by = $cgi->multi_param(\'sort_by\');^J$sort_by[0] = $default_sort_by if !$sort_by[0] && defined($default_sort_by);^Jforeach my $sort (@sort_by) {^J if ( grep { $_ eq $sort } @allowed_sortby ) {^J $template->param( $sort => 1 );^J }^J}^J$template->param( \'sort_by\' => $sort_by[0] );^J^J# Use the servers defined, or just search our local catalog(default)^Jmy @servers = $cgi->multi_param(\'server\');^Junless (@servers) {^J^J #FIXME: this should be handled using Context.pm^J @servers = ("biblioserver");^J^J # @servers = C4::Context->config("biblioserver");^J}^J^J# operators include boolean and proximity operators and are used^J# to evaluate multiple operands^Jmy @operators = $cgi->multi_param(\'op\');^J@operators = map { uri_unescape($_) } @operators;^J^J# indexes are query qualifiers, like \'title\', \'author\', etc. They^J# can be single or multiple parameters separated by comma: kw,right-Truncation^Jmy @indexes = $cgi->multi_param(\'idx\');^J@indexes = map { uri_unescape($_) } @indexes;^J^J# if a simple index (only one) display the index used in the top search box^Jif ( $indexes[0] && !$indexes[1] ) {^J my $idx = "ms_" . $indexes[0];^J $idx =~ s/\,/comma/g; # template toolkit doesn\'t like variables with a , in it^J $idx =~ s/-/dash/g; # template toolkit doesn\'t like variables with a dash in it^J $template->param( $idx => 1 );^J}^J^J# an operand can be a single term, a phrase, or a complete ccl query^Jmy @operands = $cgi->multi_param(\'q\');^J@operands = map { uri_unescape($_) } @operands;^J^J$template->{VARS}->{querystring} = join( \' \', @operands );^J^J# if a simple search, display the value in the search box^Jmy $basic_search = 0;^Jif ( $operands[0] && !$operands[1] ) {^J my $ms_query = $operands[0];^J $ms_query =~ s/ #\S+//;^J $template->param( ms_value => $ms_query );^J $basic_search = 1;^J}^J^J# limits are use to limit to results to a pre-defined category such as branch or language^Jmy @limits = $cgi->multi_param(\'limit\');^J@limits = map { uri_unescape($_) } @limits;^Jmy @nolimits = $cgi->multi_param(\'nolimit\');^J@nolimits = map { uri_unescape($_) } @nolimits;^Jmy %is_nolimit = map { $_ => 1 } @nolimits;^J@limits = grep { not $is_nolimit{$_} } @limits;^J^Jif ( @searchCategories > 0 ) {^J my @tabcat;^J foreach my $typecategory (@searchCategories) {^J push @tabcat, Koha::ItemTypes->search( { searchcategory => $typecategory } )->get_column(\'itemtype\');^J }^J^J foreach my $itemtypeInCategory (@tabcat) {^J push( @limits, "mc-$itype_or_itemtype,phr:" . $itemtypeInCategory );^J }^J}^J^J@limits = map { uri_unescape($_) } @limits;^J^Jmy $available;^Jforeach my $limit (@limits) {^J if ( $limit =~ /available/ ) {^J $available = 1;^J }^J}^J$template->param( available => $available );^J^J# append year limits if they exist^Jif ( $params->{\'limit-yr\'} ) {^J if ( $params->{\'limit-yr\'} =~ /\d{4}/ ) {^J push @limits, "yr,st-numeric=$params->{\'limit-yr\'}";^J } else {^J^J #FIXME: Should return a error to the user, incorrect date format specified^J }^J}^J^J# Params that can only have one value^Jmy $scan = $params->{\'scan\'};^Jmy $count = C4::Context->preference(\'OPACnumSearchResults\') || 20;^Jmy $countRSS = C4::Context->preference(\'numSearchRSSResults\') || 50;^Jmy $results_per_page = $params->{\'count\'} || $count;^Jmy $offset = $params->{\'offset\'} || 0;^J$offset = 0 if $offset < 0;^Jmy $page = $cgi->param(\'page\') || 1;^J$offset = ( $page - 1 ) * $results_per_page if $page > 1;^Jmy $hits;^Jmy $weight_search = $cgi->param(\'weight_search_submitted\')^J ? ( $cgi->param(\'weight_search\') ? 1 : 0 ) # Form was submitted, use actual checkbox value^J : 1; # Form not submitted^J^J# Define some global variables^Jmy ( $error, $query, $simple_query, $query_cgi, $query_desc, $limit, $limit_cgi, $limit_desc, $query_type );^J^Jmy $suppress = 0;^Jif ( C4::Context->preference(\'OpacSuppression\') ) {^J^J # OPAC suppression by IP address^J if ( C4::Context->preference(\'OpacSuppressionByIPRange\') ) {^J my $IPAddress = $ENV{\'REMOTE_ADDR\'};^J my $IPRange = C4::Context->preference(\'OpacSuppressionByIPRange\');^J $suppress = ( $IPAddress !~ /^$IPRange/ );^J } else {^J $suppress = 1;^J }^J}^J^J## I. BUILD THE QUERY^J( $error, $query, $simple_query, $query_cgi, $query_desc, $limit, $limit_cgi, $limit_desc, $query_type ) =^J $builder->build_query_compat(^J \@operators,^J \@operands,^J \@indexes,^J \@limits,^J \@sort_by,^J 0,^J $lang,^J {^J suppress => $suppress,^J is_opac => 1,^J weighted_fields => $weight_search,^J weight_search_submitted => $cgi->param(\'weight_search_submitted\') // undef^J }^J );^J^J$template->param( search_query => $query ) if C4::Context->preference(\'DumpSearchQueryTemplate\');^J^Jsub _input_cgi_parse {^J my @elements;^J my $query_cgi = shift or return @elements;^J for my $this_cgi ( split( \'&\', $query_cgi ) ) {^J next unless $this_cgi;^J $this_cgi =~ /(.*?)=(.*)/;^J push @elements, { input_name => $1, input_value => Encode::decode_utf8( uri_unescape($2) ) };^J }^J return @elements;^J}^J^J## parse the query_cgi string and put it into a form suitable for s^Jmy @query_inputs = _input_cgi_parse($query_cgi);^J$template->param( QUERY_INPUTS => \@query_inputs );^J^J## parse the limit_cgi string and put it into a form suitable for s^Jmy @limit_inputs = $limit_cgi ? _input_cgi_parse($limit_cgi) : ();^J^J# OpenURL^Jmy @OpenURL_itypes;^Jif ( C4::Context->preference(\'OPACShowOpenURL\') ) {^J @OpenURL_itypes = split( /\s/, C4::Context->preference(\'OPACOpenURLItemTypes\') );^J $template->param(^J OPACShowOpenURL => 1,^J OpenURLResolverURL => C4::Context->preference(\'OpenURLResolverURL\'),^J OpenURLText => C4::Context->preference(\'OpenURLText\'),^J OpenURLImageLocation => C4::Context->preference(\'OpenURLImageLocation\')^J );^J}^J^J$template->param( LIMIT_INPUTS => \@limit_inputs );^J^J## II. DO THE SEARCH AND GET THE RESULTS^Jmy $total = 0; # the total results for the whole set^Jmy $facets; # this object stores the faceted results that display on the left-hand of the results page^Jmy $results_hashref;^J^Jif ($tag) {^J $query_cgi = "tag=" . uri_escape_utf8($tag) . "&" . $query_cgi;^J my $taglist = get_tags( { term => $tag, approved => 1 } );^J $results_hashref->{biblioserver}->{hits} = scalar(@$taglist);^J my @marclist = map { C4::Biblio::GetXmlBiblio( $_->{biblionumber} ) } @$taglist;^J $results_hashref->{biblioserver}->{RECORDS} = \@marclist;^J^J # FIXME: tag search and standard search should work together, not exclusively^J # FIXME: Because search and standard search don\'t work together OpacHiddenItems^J # displays search results which should be hidden.^J # FIXME: No facets for tags search.^J} else {^J my $json = JSON->new->utf8->allow_nonref(1);^J $pasarParams .= \'&query=\' . uri_escape_utf8( $json->encode($query) );^J $pasarParams .= \'&count=\' . uri_escape_utf8($results_per_page);^J $pasarParams .= \'&simple_query=\' . uri_escape_utf8($simple_query) if $simple_query;^J $pasarParams .= \'&query_type=\' . uri_escape_utf8($query_type) if ($query_type);^J my $itemtypes_nocategory =^J { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search_with_localization->unblessed } };^J eval {^J ( $error, $results_hashref, $facets ) = $searcher->search_compat(^J $query, $simple_query, \@sort_by, \@servers, $results_per_page, $offset, undef,^J $itemtypes_nocategory, $query_type, $scan, 1^J );^J };^J}^J^J# use Data::Dumper; print STDERR "-" x 25, "\n", Dumper($results_hashref);^Jif ( not $tag and ( $@ || $error ) ) {^J my $query_error = q{};^J $query_error .= $error if $error;^J $query_error .= $@ if $@;^J $template->param( query_error => $query_error );^J output_html_with_http_headers $cgi, $cookie, $template->output;^J exit;^J}^J^J# At this point, each server has given us a result set^J# now we build that set for template display^Jmy @sup_results_array;^Jmy $search_context = {};^J$search_context->{\'interface\'} = \'opac\';^Jif ( C4::Context->preference(\'OpacHiddenItemsExceptions\') ) {^J $search_context->{patron} = $patron;^J}^J^Jmy $variables = { anonymous_session => ($borrowernumber) ? 0 : 1 };^J^Jmy @plugin_responses = Koha::Plugins->call(^J \'opac_results_xslt_variables\',^J {^J lang => $lang,^J patron_id => $borrowernumber^J }^J);^Jfor my $plugin_variables (@plugin_responses) {^J $variables = { %$variables, %$plugin_variables };^J}^J^Jfor ( my $i = 0 ; $i < @servers ; $i++ ) {^J my $server = $servers[$i];^J if ( $server && $server =~ /biblioserver/ ) { # this is the local bibliographic server^J $hits = $results_hashref->{$server}->{"hits"} // 0;^J if ( $hits == 0 && $basic_search ) {^J $operands[0] = \'"\' . $operands[0] . \'"\'; #quote it^J ## I. BUILD THE QUERY^J ( $error, $query, $simple_query, $query_cgi, $query_desc, $limit, $limit_cgi, $limit_desc, $query_type ) =^J $builder->build_query_compat(^J \@operators,^J \@operands,^J \@indexes,^J \@limits,^J \@sort_by,^J 0,^J $lang,^J {^J suppress => $suppress,^J is_opac => 1,^J weighted_fields => $weight_search,^J weight_search_submitted => $cgi->param(\'weight_search_submitted\')^J }^J );^J my $quoted_results_hashref;^J my $itemtypes_nocategory =^J { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search_with_localization->unblessed } };^J eval {^J ( $error, $quoted_results_hashref, $facets ) = $searcher->search_compat(^J $query, $simple_query, \@sort_by, \@servers, $results_per_page, $offset,^J undef, $itemtypes_nocategory, $query_type, $scan, 1^J );^J };^J my $quoted_hits = $quoted_results_hashref->{$server}->{"hits"} // 0;^J if ($quoted_hits) {^J $results_hashref->{\'biblioserver\'} = $quoted_results_hashref->{\'biblioserver\'};^J $hits = $quoted_hits;^J }^J }^J my $page = $cgi->param(\'page\') || 0;^J my @newresults = searchResults(^J $search_context, $query_desc, $hits, $results_per_page, $offset, $scan,^J $results_hashref->{$server}->{"RECORDS"}, $variables^J );^J $hits = 0 unless @newresults;^J^J my $art_req_itypes;^J if ( C4::Context->preference(\'ArticleRequests\') ) {^J $art_req_itypes = Koha::CirculationRules->guess_article_requestable_itemtypes(^J { $patron ? ( categorycode => $patron->categorycode ) : () } );^J }^J^J foreach my $res (@newresults) {^J^J # must define a value for size if not present in DB^J # in order to avoid problems generated by the default size value in TT^J if ( not exists $res->{\'size\'} ) { $res->{\'size\'} = "" }^J^J # while we\'re checking each line, see if item is in the cart^J if ( grep { $_ eq $res->{\'biblionumber\'} } @cart_list ) {^J $res->{\'incart\'} = 1;^J }^J^J if ( C4::Context->preference("Babeltheque") and $res->{normalized_isbn} ) {^J if ( my $isbn = Business::ISBN->new( $res->{normalized_isbn} ) ) {^J $isbn = $isbn->as_isbn13->as_string;^J $isbn =~ s/-//g;^J my $social_datas = C4::SocialData::get_data($isbn);^J if ($social_datas) {^J for my $key ( keys %$social_datas ) {^J $res->{$key} = $$social_datas{$key};^J if ( $key eq \'score_avg\' ) {^J $res->{score_int} = sprintf( "%.0f", $$social_datas{score_avg} );^J }^J }^J }^J }^J }^J^J if ( C4::Context->preference(\'TagsEnabled\')^J and C4::Context->preference(\'TagsShowOnList\') )^J {^J if ( my $bibnum = $res->{biblionumber} ) {^J $res->{itemsissued} = CountItemsIssued($bibnum);^J $res->{\'TagLoop\'} = get_tags(^J {^J biblionumber => $bibnum,^J approved => 1,^J sort => \'-weight\',^J limit => C4::Context->preference(\'TagsShowOnList\')^J }^J );^J }^J }^J^J $res->{shelves} = Koha::Virtualshelves->get_shelves_containing_record(^J {^J biblionumber => $res->{biblionumber},^J borrowernumber => $borrowernumber^J }^J );^J^J if ( C4::Context->preference(\'OpacStarRatings\') eq \'all\' ) {^J my $ratings = Koha::Ratings->search( { biblionumber => $res->{biblionumber} } );^J $res->{ratings} = $ratings;^J $res->{my_rating} =^J $borrowernumber ? $ratings->search( { borrowernumber => $borrowernumber } )->next : undef;^J }^J^J # BZ17530: \'Intelligent\' guess if result can be article requested^J $res->{artreqpossible} =^J ( $art_req_itypes->{ $res->{itemtype} // q{} } || $art_req_itypes->{\'*\'} ) ? 1 : q{};^J^J if ( C4::Context->preference(\'OPACLocalCoverImages\') ) {^J $res->{has_local_cover_image} = $res->{biblio_object} ? $res->{biblio_object}->cover_images->count : 0;^J }^J }^J^J if ( $results_hashref->{$server}->{"hits"} ) {^J $total = $total + $hits;^J }^J^J # Opac search history^J if ( C4::Context->preference(\'EnableOpacSearchHistory\') ) {^J unless ($offset) {^J my $path_info = $cgi->url( -path_info => 1 );^J my $query_cgi_history = $cgi->url( -query => 1 );^J $query_cgi_history =~ s/^$path_info\?//;^J $query_cgi_history =~ s/;/&/g;^J my $query_desc_history = join ", ", grep { defined $_ } $query_desc, $limit_desc;^J^J if ( $borrowernumber and $cgi->cookie("CGISESSID") ) {^J^J # To the session (the user is logged in)^J C4::Search::History::add(^J {^J userid => $borrowernumber,^J sessionid => $cgi->cookie("CGISESSID"),^J query_desc => $query_desc_history,^J query_cgi => $query_cgi_history,^J total => $total,^J type => "biblio",^J }^J );^J } else {^J my $new_searches = C4::Search::History::add_to_session(^J {^J cgi => $cgi,^J query_desc => $query_desc_history,^J query_cgi => $query_cgi_history,^J total => $total,^J type => "biblio",^J }^J );^J }^J }^J $template->param( EnableOpacSearchHistory => 1 );^J }^J^J ## If there\'s just one result, redirect to the detail page^J if ( $total == 1^J && $format ne \'rss\'^J && $format ne \'opensearchdescription\'^J && $format ne \'atom\'^J && C4::Context->preference(\'RedirectToSoleResult\') )^J {^J my $biblionumber = $newresults[0]->{biblionumber};^J if ( C4::Context->preference(\'BiblioDefaultView\') eq \'isbd\' ) {^J print $cgi->redirect("/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=$biblionumber");^J } elsif ( C4::Context->preference(\'BiblioDefaultView\') eq \'marc\' ) {^J print $cgi->redirect("/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=$biblionumber");^J } else {^J print $cgi->redirect("/cgi-bin/koha/opac-detail.pl?biblionumber=$biblionumber");^J }^J exit;^J }^J if ($hits) {^J^J # We build the encrypted list of first OPACnumSearchResults biblios to pass with the search criteria for paging on opac-detail^J $pasarParams .= \'&listBiblios=\';^J my $j = 0;^J foreach (@newresults) {^J my $bibnum = ( $_->{biblionumber} ) ? $_->{biblionumber} : 0;^J $pasarParams .= uri_escape_utf8($bibnum) . \',\';^J $j++;^J last if ( $j == $results_per_page );^J }^J chop $pasarParams if ( $pasarParams =~ /,$/ );^J $pasarParams .= \'&total=\' . uri_escape_utf8( int($total) ) if ( $pasarParams !~ /total=(?:[0-9]+)?/ );^J if ($pasarParams) {^J my $session = get_session( $cgi->cookie("CGISESSID") );^J $session->param( \'busc\' => $pasarParams );^J }^J $template->param( total => $hits );^J my $limit_cgi_not_availablity = $limit_cgi;^J $limit_cgi_not_availablity =~ s/&limit=available//g if defined $limit_cgi_not_availablity;^J $template->param( limit_cgi_not_availablity => $limit_cgi_not_availablity );^J $template->param( limit_cgi => $limit_cgi );^J $template->param( countrss => $countRSS );^J $template->param( query_cgi => $query_cgi );^J $template->param( query_desc => $query_desc );^J $template->param( limit_desc => $limit_desc );^J $template->param( offset => $offset );^J^J if ( $query_desc || $limit_desc ) {^J $template->param( searchdesc => 1 );^J }^J $template->param( results_per_page => $results_per_page );^J my $hide = keys %$hidingrules ? 1 : 0;^J^J $template->param(^J SEARCH_RESULTS => \@newresults,^J suppress_result_number => $hide,^J );^J if ( C4::Context->preference("OPACLocalCoverImages") ) {^J $template->param( OPACLocalCoverImages => 1 );^J }^J ## Build the page numbers on the bottom of the page^J my (^J $page_numbers, $hits_to_paginate, $pages, $current_page_number, $previous_page_offset,^J $next_page_offset, $last_page_offset^J )^J = Koha::SearchEngine::Search->pagination_bar(^J {^J hits => $hits,^J max_result_window => $searcher->max_result_window,^J results_per_page => $results_per_page,^J offset => $offset,^J sort_by => \@sort_by^J }^J );^J $template->param(^J hits_to_paginate => $hits_to_paginate,^J current_page_number => $current_page_number,^J pages => $pages^J );^J $template->param(^J PAGE_NUMBERS => $page_numbers,^J last_page_offset => $last_page_offset,^J previous_page_offset => $previous_page_offset^J ) unless $pages < 2;^J $template->param( next_page_offset => $next_page_offset ) unless $pages eq $current_page_number;^J }^J^J # no hits^J else {^J my $nohits = C4::Context->preference(\'OPACNoResultsFound\');^J if ( $nohits and $nohits =~ /{QUERY_KW}/ ) {^J^J # extracting keywords in case of relaunching search^J ( my $query_kw = $query_desc ) =~ s/ and|or / /g;^J my @query_kw = ( $query_kw =~ /([-\w]+\b)(?:[^:]|$)/g );^J $query_kw = join( \'+\', @query_kw );^J $nohits =~ s/{QUERY_KW}/$query_kw/g;^J $template->param( \'OPACNoResultsFound\' => $nohits );^J }^J $template->param(^J searchdesc => 1,^J query_desc => $query_desc,^J limit_desc => $limit_desc,^J query_cgi => $query_cgi,^J limit_cgi => $limit_cgi^J );^J }^J } # end of the if local^J # asynchronously search the authority server^J elsif ( $server && $server =~ /authorityserver/ ) { # this is the local authority server^J my @inner_sup_results_array;^J for my $sup_record ( @{ $results_hashref->{$server}->{"RECORDS"} } ) {^J my $marc_record_object = MARC::Record->new_from_usmarc($sup_record);^J my $title_field = $marc_record_object->field(100);^J push @inner_sup_results_array, {^J \'title\' => $title_field->subfield(\'a\'),^J \'link\' => "&idx=an&q=" . $marc_record_object->field(\'001\')->as_string(),^J };^J }^J my $servername = $server;^J push @sup_results_array, {^J servername => $servername,^J inner_sup_results_loop => \@inner_sup_results_array^J } if @inner_sup_results_array;^J }^J^J # FIXME: can add support for other targets as needed here^J $template->param( outer_sup_results_loop => \@sup_results_array );^J} #/end of the for loop^J^Jfor my $facet (@$facets) {^J for my $entry ( @{ $facet->{facets} } ) {^J my $index = $entry->{type_link_value};^J my $value = $entry->{facet_link_value};^J $entry->{active} = grep { $_->{input_value} eq qq{$index:$value} } @limit_inputs;^J }^J}^J^Jmy @search_filters = Koha::SearchFilters->search( { opac => 1 }, { order_by => "name" } )->as_list;^Jmy %active_filters;^Jforeach my $sf (@search_filters) {^J $active_filters{ $sf->id } = 1 if grep { "search_filter:" . $sf->id eq $_->{input_value} } @limit_inputs;^J}^J$template->param(^J search_filters => \@search_filters,^J active_filters => \%active_filters,^J) if C4::Context->preference(\'SavedSearchFilters\');^J^J$template->param(^J^J #classlist => $classlist,^J total => $total,^J opacfacets => 1,^J facets_loop => $facets,^J displayFacetCount => C4::Context->preference(\'displayFacetCount\') || 0,^J scan => $scan,^J search_error => $error,^J);^J^Jif ( $query_desc || $limit_desc ) {^J $template->param( searchdesc => 1 );^J}^J^J# VI. BUILD THE TEMPLATE^Jmy $some_private_shelves = Koha::Virtualshelves->get_some_shelves(^J {^J borrowernumber => $borrowernumber,^J add_allowed => 1,^J public => 0,^J }^J);^Jmy $some_public_shelves = Koha::Virtualshelves->get_some_shelves(^J {^J borrowernumber => $borrowernumber,^J add_allowed => 1,^J public => 1,^J }^J);^J^J$template->param(^J add_to_some_private_shelves => $some_private_shelves,^J add_to_some_public_shelves => $some_public_shelves,^J);^J^Jmy $content_type = ( $format eq \'rss\' or $format eq \'atom\' or $format eq \'opensearchdescription\' ) ? $format : \'html\';^J^J$template->{VARS}->{DidYouMean} =^J ( defined C4::Context->preference(\'OPACdidyoumean\') && C4::Context->preference(\'OPACdidyoumean\') =~ m/enable/ );^J^Jif ( $offset == 0 ) {^J $template->param( firstPage => 1 );^J}^J^J$template->param( borrowernumber => $borrowernumber );^Joutput_with_http_headers $cgi, $cookie, $template->output, $content_type;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-search.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c3181818)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c3181818)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c3164398)', '/kohadevbox/koha/opac/opac-search.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3164398)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3164398)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c32c7728)', 'Try::Tiny::Catch=REF(0x5606c3123998)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3164398)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3164398)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3164398)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3164398)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c3164398)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c330cf80)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c34afe50)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c343a308)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c343a308)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c34afd78)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34afd78)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c3454ee0)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34afd78)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c349ac28)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c34cc928)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c34eaa40)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3477d80)', 'Try::Tiny::Catch=REF(0x5606c347b070)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c342f838)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c3431fb8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c34b2828)', 'ARRAY(0x5606c3431fb8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c3431fb8)', 'CODE(0x5606c34b2828)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'ARRAY(0x5606c3431fb8)', 'CODE(0x5606c34b2828)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34afd78)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34afd78)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34afd78)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34afd78)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c34afd78)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c34ff0d0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c31810c8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c3303f20)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c3303f20)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c31e0460)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0460)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0460)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c31c9cd8)', 'Try::Tiny::Catch=REF(0x5606c33db838)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c319b090)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c31e8518)', 'ARRAY(0x5606c319b090)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c319b090)', 'CODE(0x5606c31e8518)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'ARRAY(0x5606c319b090)', 'CODE(0x5606c31e8518)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0460)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0460)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0460)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0460)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c31e0460)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c3194cb8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c3432000)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c34eb0d0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c34eb0d0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c34c8c60)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8c60)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c3454ee0)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8c60)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c349ac28)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c34cc928)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c34eaa40)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c34bdf20)', 'Try::Tiny::Catch=REF(0x5606c3454a60)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c342f838)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8c60)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8c60)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8c60)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8c60)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c34c8c60)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c3449f58)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c31c4d70)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c322f3a0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c322f3a0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c33bce10)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33bce10)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33bce10)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c32e9c50)', 'Try::Tiny::Catch=REF(0x5606c3304b20)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c31730c0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c3301de8)', 'ARRAY(0x5606c31730c0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c31730c0)', 'CODE(0x5606c3301de8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'ARRAY(0x5606c31730c0)', 'CODE(0x5606c3301de8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33bce10)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33bce10)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33bce10)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c33bce10)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c33bce10)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c33d4a80)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c340fd50)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c34c60d8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c34c60d8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c31e5b18)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e5b18)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c3454ee0)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e5b18)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c349ac28)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c34cc928)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c34eaa40)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3506368)', 'Try::Tiny::Catch=REF(0x5606c3460ef0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c342f838)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c34eaa58)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c342beb0)', 'ARRAY(0x5606c34eaa58)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c34eaa58)', 'CODE(0x5606c342beb0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'ARRAY(0x5606c34eaa58)', 'CODE(0x5606c342beb0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e5b18)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e5b18)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e5b18)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e5b18)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c31e5b18)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c34369f8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c31c4788)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c32fca18)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c32fca18)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c31763e0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31763e0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31763e0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3201520)', 'Try::Tiny::Catch=REF(0x5606c33f4378)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c3166888)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c32099d0)', 'ARRAY(0x5606c3166888)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c3166888)', 'CODE(0x5606c32099d0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'ARRAY(0x5606c3166888)', 'CODE(0x5606c32099d0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31763e0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31763e0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31763e0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31763e0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c31763e0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c31e0460)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c3422c60)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c3410428)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c3410428)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b7c428c0)', 'HASH(0x5606c34c8f00)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b7c428c0)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8f00)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c34dc1d0)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8f00)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c3455570)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c343e958)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3473cd8)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c34b0288)', 'Try::Tiny::Catch=REF(0x5606c34f38e0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c34a65c0)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c34cd0f0)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8f00)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8f00)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8f00)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c8f00)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c34c8f00)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c344c610)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c322f130)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c3189ee8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c3189ee8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c3314198)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314198)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314198)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c33016c8)', 'Try::Tiny::Catch=REF(0x5606c3195060)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c31eaa98)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c33f1108)', 'ARRAY(0x5606c31eaa98)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c31eaa98)', 'CODE(0x5606c33f1108)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'ARRAY(0x5606c31eaa98)', 'CODE(0x5606c33f1108)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314198)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314198)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314198)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314198)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c3314198)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c33bce10)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c3503740)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c3436470)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c3436470)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c3470568)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3470568)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c3454ee0)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3470568)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c349ac28)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c34cc928)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c34eaa40)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c34d4e30)', 'Try::Tiny::Catch=REF(0x5606c3431c28)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c342f838)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3470568)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3470568)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3470568)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3470568)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c3470568)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c34df6f8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c3301fb0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c3301470)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c3301470)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c333bf30)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c333bf30)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c333bf30)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3367cf8)', 'Try::Tiny::Catch=REF(0x5606c31f7890)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c32e29c8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c3181488)', 'ARRAY(0x5606c32e29c8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c32e29c8)', 'CODE(0x5606c3181488)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'ARRAY(0x5606c32e29c8)', 'CODE(0x5606c3181488)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c333bf30)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c333bf30)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c333bf30)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c333bf30)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c333bf30)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c318dd18)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c34d4c38)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c3449e08)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c3449e08)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c349a820)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c349a820)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c3454ee0)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c349a820)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c349ac28)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c34cc928)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c34eaa40)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3436cc8)', 'Try::Tiny::Catch=REF(0x5606c3486ba0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c342f838)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c34fb180)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c3474230)', 'ARRAY(0x5606c34fb180)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c34fb180)', 'CODE(0x5606c3474230)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'ARRAY(0x5606c34fb180)', 'CODE(0x5606c3474230)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c349a820)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c349a820)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c349a820)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c349a820)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c349a820)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c34c8c60)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c3400ff0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c31cd460)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c31cd460)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c3314030)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314030)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314030)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c31e3348)', 'Try::Tiny::Catch=REF(0x5606c337da48)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c31bce50)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c3176530)', 'ARRAY(0x5606c31bce50)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c31bce50)', 'CODE(0x5606c3176530)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'ARRAY(0x5606c31bce50)', 'CODE(0x5606c3176530)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314030)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314030)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314030)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3314030)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c3314030)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c31e8ae8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c34edcc8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c340ffd8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c340ffd8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c34c6ba0)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6ba0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c3454ee0)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6ba0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c349ac28)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c34cc928)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c34eaa40)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c34fab20)', 'Try::Tiny::Catch=REF(0x5606c3458850)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c342f838)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c34d48f0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c3445b80)', 'ARRAY(0x5606c34d48f0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c34d48f0)', 'CODE(0x5606c3445b80)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'ARRAY(0x5606c34d48f0)', 'CODE(0x5606c3445b80)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6ba0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6ba0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6ba0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c34c6ba0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c3436140)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c3210968)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c3336aa8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c3336aa8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c31e0100)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0100)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0100)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c328cd10)', 'Try::Tiny::Catch=REF(0x5606c3257730)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c32e3448)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c31813c8)', 'ARRAY(0x5606c32e3448)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c32e3448)', 'CODE(0x5606c31813c8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'ARRAY(0x5606c32e3448)', 'CODE(0x5606c31813c8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0100)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0100)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0100)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31e0100)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c31e0100)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c333bf30)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c342f448)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c34bdc68)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c34bdc68)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606b7f30568)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606b7f30568)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c3454ee0)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606b7f30568)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c349ac28)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c34cc928)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c34eaa40)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c31c8450)', 'Try::Tiny::Catch=REF(0x5606c341c548)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c342f838)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606b74a7828)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c34151e8)', 'ARRAY(0x5606b74a7828)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606b74a7828)', 'CODE(0x5606c34151e8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'ARRAY(0x5606b74a7828)', 'CODE(0x5606c34151e8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606b7f30568)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606b7f30568)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606b7f30568)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606b7f30568)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606b7f30568)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c34c8f00)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c31bcf88)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c3163d20)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c3163d20)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c31bc6e8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31bc6e8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31bc6e8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c322f3a0)', 'Try::Tiny::Catch=REF(0x5606c3209700)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31bc6e8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31bc6e8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31bc6e8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c31bc6e8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c3256db8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c34c6450)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c34103f8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c34103f8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c34c6870)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6870)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c3454ee0)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6870)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c349ac28)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c34cc928)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c34eaa40)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3410128)', 'Try::Tiny::Catch=REF(0x5606c34c0be8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c342f838)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c34c8eb8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c347b7c0)', 'ARRAY(0x5606c34c8eb8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c34c8eb8)', 'CODE(0x5606c347b7c0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'ARRAY(0x5606c34c8eb8)', 'CODE(0x5606c347b7c0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6870)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6870)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6870)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c6870)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c34c6870)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c3470568)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c32014f0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c33fd6e8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c33fd6e8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c32ee108)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32ee108)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32ee108)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3163f18)', 'Try::Tiny::Catch=REF(0x5606c3185558)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32ee108)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32ee108)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32ee108)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32ee108)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c32ee108)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c32e6c70)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c347ffe8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c3477d68)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c3477d68)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c342c018)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c342c018)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c3454ee0)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c342c018)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c349ac28)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c34cc928)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c34eaa40)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c34a9980)', 'Try::Tiny::Catch=REF(0x5606c344cc28)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c342f838)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c3458eb0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c34bde48)', 'ARRAY(0x5606c3458eb0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c3458eb0)', 'CODE(0x5606c34bde48)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'ARRAY(0x5606c3458eb0)', 'CODE(0x5606c34bde48)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c342c018)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c342c018)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c342c018)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c342c018)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c342c018)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c3441a98)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c3367890)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c31bc970)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c31bc970)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c32c3890)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32c3890)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32c3890)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c314aa78)', 'Try::Tiny::Catch=REF(0x5606c333c4e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c33fdf40)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c3180ab0)', 'ARRAY(0x5606c33fdf40)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c33fdf40)', 'CODE(0x5606c3180ab0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'ARRAY(0x5606c33fdf40)', 'CODE(0x5606c3180ab0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32c3890)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32c3890)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32c3890)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32c3890)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c32c3890)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c31e3318)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c34c0ac8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c34bdbc0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c34bdbc0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c347b3b8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347b3b8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c3454ee0)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347b3b8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c349ac28)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c34cc928)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c34eaa40)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3487590)', 'Try::Tiny::Catch=REF(0x5606c34c60f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c342f838)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347b3b8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347b3b8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347b3b8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c347b3b8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c347b3b8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c34c6870)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c3376ca0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c311b440)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c311b440)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c31c9c30)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31c9c30)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31c9c30)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3400f60)', 'Try::Tiny::Catch=REF(0x5606c3290b28)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31c9c30)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31c9c30)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31c9c30)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31c9c30)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c31c9c30)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c31e0100)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c3431a00)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2duser_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-user.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J# parts copyright 2010 BibLibre^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse URI;^J^Juse C4::Auth qw( get_template_and_user );^Juse C4::Koha qw(^J getitemtypeimagelocation^J GetNormalizedISBN^J GetNormalizedUPC^J GetNormalizedOCLCNumber^J);^Juse C4::Circulation qw( CanBookBeRenewed GetRenewCount GetIssuingCharges );^Juse C4::Reserves qw( GetReserveStatus );^Juse C4::Members;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Account::Lines;^Juse Koha::Biblios;^Juse Koha::Libraries;^Juse Koha::DateUtils qw( output_pref );^Juse Koha::Holds;^Juse Koha::Database;^Juse Koha::ItemTypes;^Juse Koha::Patron::Attribute::Types;^Juse Koha::Patrons;^Juse Koha::Patron::Messages;^Juse Koha::Patron::Discharge;^Juse Koha::Patrons;^Juse Koha::Ratings;^Juse Koha::Recalls;^J^Juse constant ATTRIBUTE_SHOW_BARCODE => \'SHOW_BCODE\';^J^Juse Scalar::Util qw( looks_like_number );^Juse Date::Calc qw( Date_to_Days Today );^J^Jmy $query = CGI->new;^J^Jmy $op = $query->param(\'op\') || q{};^J^J# CAS single logout handling^J# Will print header and exit^Jif ( C4::Context->preference(\'casAuthentication\') ) {^J require C4::Auth_with_cas;^J C4::Auth_with_cas::logout_if_required($query);^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-user.tt",^J query => $query,^J type => "opac",^J }^J);^J^Jmy %renewed = map { $_ => 1 } split( \':\', $query->param(\'renewed\') || \'\' );^J^Jmy $show_priority;^Jfor ( C4::Context->preference("OPACShowHoldQueueDetails") ) {^J m/priority/ and $show_priority = 1;^J}^J^Jmy $patronupdate = $query->param(\'patronupdate\');^Jmy $canrenew = 1;^J^J$template->param( shibbolethAuthentication => C4::Context->config(\'useshibboleth\') );^J^J# get borrower information ....^Jmy $patron = Koha::Patrons->find($borrowernumber);^J^Jif ( $op eq \'cud-update_arc\' && C4::Context->preference("AllowPatronToControlAutorenewal") ) {^J my $autorenew_checkouts = $query->param(\'borrower_autorenew_checkouts\');^J $patron->autorenew_checkouts($autorenew_checkouts)->store() if defined $autorenew_checkouts;^J}^J^Jmy $borr = $patron->unblessed;^J^Jmy ( $today_year, $today_month, $today_day ) = Today();^Jmy ( $warning_year, $warning_month, $warning_day ) = split /-/, $borr->{\'dateexpiry\'};^J^Jmy $debar = Koha::Patrons->find($borrowernumber)->is_debarred;^Jmy $userdebarred;^J^Jif ($debar) {^J $userdebarred = 1;^J $template->param( \'userdebarred\' => $userdebarred );^J if ( $debar ne "9999-12-31" ) {^J $borr->{\'userdebarreddate\'} = $debar;^J }^J^J # FIXME looks like $available is not needed^J # If a user is discharged they have a validated discharge available^J my $available = Koha::Patron::Discharge::count(^J {^J borrowernumber => $borrowernumber,^J validated => 1,^J }^J );^J $template->param( \'discharge_available\' => $available^J && Koha::Patron::Discharge::is_discharged( { borrowernumber => $borrowernumber } ) );^J}^J^Jif ( $userdebarred || $borr->{\'gonenoaddress\'} || $borr->{\'lost\'} ) {^J $borr->{\'flagged\'} = 1;^J $canrenew = 0;^J}^J^Jmy $amountoutstanding = $patron->account->balance;^Jmy $no_renewal_amt = C4::Context->preference(\'FineNoRenewals\');^J$no_renewal_amt = undef unless looks_like_number($no_renewal_amt);^Jmy $amountoutstandingfornewal =^J C4::Context->preference("FineNoRenewalsIncludeCredits")^J ? $amountoutstanding^J : $patron->account->outstanding_debits->total_outstanding;^J^Jif ( C4::Context->preference(\'OpacRenewalAllowed\')^J && defined($no_renewal_amt)^J && $amountoutstandingfornewal > $no_renewal_amt )^J{^J $borr->{\'flagged\'} = 1;^J $canrenew = 0;^J $template->param(^J renewal_blocked_fines => $no_renewal_amt,^J renewal_blocked_fines_amountoutstanding => $amountoutstandingfornewal,^J );^J}^J^Jmy $maxoutstanding = C4::Context->preference(\'maxoutstanding\');^Jif ( $amountoutstanding && ( $amountoutstanding > $maxoutstanding ) ) {^J $borr->{blockedonfines} = 1;^J}^J^J# Warningdate is the date that the warning starts appearing^Jif ( $borr->{\'dateexpiry\'} && C4::Context->preference(\'NotifyBorrowerDeparture\') ) {^J my $days_to_expiry = Date_to_Days( $warning_year, $warning_month, $warning_day ) -^J Date_to_Days( $today_year, $today_month, $today_day );^J if ( $days_to_expiry < 0 ) {^J^J #borrower card has expired, warn the borrower^J $borr->{\'warnexpired\'} = $borr->{\'dateexpiry\'};^J } elsif ( $days_to_expiry < C4::Context->preference(\'NotifyBorrowerDeparture\') ) {^J^J # borrower card soon to expire, warn the borrower^J $borr->{\'warndeparture\'} = $borr->{dateexpiry};^J if ( C4::Context->preference(\'ReturnBeforeExpiry\') ) {^J $borr->{\'returnbeforeexpiry\'} = 1;^J }^J }^J}^J^Jmy $saving_display = C4::Context->preference(\'OPACShowSavings\');^Jif ( $saving_display =~ /user/ ) {^J $template->param( savings => $patron->get_savings );^J}^J^J# pass on any renew errors to the template for displaying^Jmy $renew_error = $query->param(\'renew_error\');^J^J$template->param(^J amountoutstanding => $amountoutstanding,^J borrowernumber => $borrowernumber,^J patron_flagged => $borr->{flagged},^J surname => $borr->{surname},^J RENEW_ERROR => $renew_error,^J borrower => $borr,^J);^J^J#get issued items ....^J^Jmy $count = 0;^Jmy $overdues_count = 0;^Jmy @overdues;^Jmy @issuedat;^Jmy $itemtypes = { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search_with_localization->unblessed } };^Jmy $pending_checkouts = $patron->pending_checkouts->search(^J {},^J {^J order_by => [ { -desc => \'date_due\' }, { -asc => \'issue_id\' } ],^J prefetch => \'item\'^J }^J);^Jmy $are_renewable_items = 0;^Jif ( $pending_checkouts->count ) { # Useless test^J while ( my $c = $pending_checkouts->next ) {^J my $issue = $c->unblessed_all_relateds;^J^J # check for reserves^J my $restype = GetReserveStatus( $issue->{\'itemnumber\'} );^J if ($restype) {^J $issue->{\'reserved\'} = 1;^J }^J^J # Must be moved in a module if reused^J my $charges = Koha::Account::Lines->search(^J {^J borrowernumber => $patron->borrowernumber,^J amountoutstanding => { \'>\' => 0 },^J debit_type_code => [ \'OVERDUE\', \'LOST\' ],^J itemnumber => $issue->{itemnumber}^J },^J );^J $issue->{charges} = $charges->total_outstanding;^J^J my $rental_fines = Koha::Account::Lines->search(^J {^J borrowernumber => $patron->borrowernumber,^J amountoutstanding => { \'>\' => 0 },^J debit_type_code => { \'LIKE\' => \'RENT_%\' },^J itemnumber => $issue->{itemnumber}^J }^J );^J $issue->{rentalfines} = $rental_fines->total_outstanding;^J^J # check if item is renewable^J my ( $status, $renewerror, $info ) = CanBookBeRenewed( $patron, $c );^J (^J $issue->{\'renewcount\'},^J $issue->{\'renewsallowed\'},^J $issue->{\'renewsleft\'},^J $issue->{\'unseencount\'},^J $issue->{\'unseenallowed\'},^J $issue->{\'unseenleft\'}^J ) = GetRenewCount( $patron, $c->item );^J ( $issue->{\'renewalfee\'}, $issue->{\'renewalitemtype\'} ) =^J GetIssuingCharges( $issue->{\'itemnumber\'}, $borrowernumber );^J $issue->{itemtype_object} = Koha::ItemTypes->find( $c->item->effective_itemtype );^J if ( $status && C4::Context->preference("OpacRenewalAllowed") ) {^J $are_renewable_items = 1;^J $issue->{\'status\'} = $status;^J }^J^J $issue->{\'renewed\'} = $renewed{ $issue->{\'itemnumber\'} };^J^J if ($renewerror) {^J $issue->{\'too_many\'} = 1 if $renewerror eq \'too_many\';^J $issue->{\'too_unseen\'} = 1 if $renewerror eq \'too_unseen\';^J $issue->{\'on_reserve\'} = 1 if $renewerror eq \'on_reserve\';^J $issue->{\'norenew_overdue\'} = 1 if $renewerror eq \'overdue\';^J $issue->{\'auto_renew\'} = 1 if $renewerror eq \'auto_renew\';^J $issue->{\'auto_too_soon\'} = 1 if $renewerror eq \'auto_too_soon\';^J $issue->{\'auto_too_late\'} = 1 if $renewerror eq \'auto_too_late\';^J $issue->{\'auto_too_much_owing\'} = 1 if $renewerror eq \'auto_too_much_owing\';^J $issue->{\'item_denied_renewal\'} = 1 if $renewerror eq \'item_denied_renewal\';^J $issue->{\'item_issued_to_other_patron\'} = 1 if $renewerror eq \'item_issued_to_other_patron\';^J^J if ( $renewerror eq \'too_soon\' ) {^J $issue->{\'too_soon\'} = 1;^J $issue->{\'soonestrenewdate\'} = $info->{soonest_renew_date};^J }^J }^J^J if ( $c->is_overdue ) {^J push @overdues, $issue;^J $overdues_count++;^J $issue->{\'overdue\'} = 1;^J } else {^J $issue->{\'issued\'} = 1;^J }^J^J # imageurl:^J my $itemtype = $issue->{\'itemtype\'};^J if ($itemtype) {^J $issue->{\'imageurl\'} = getitemtypeimagelocation( \'opac\', $itemtypes->{$itemtype}->{\'imageurl\'} );^J $issue->{\'description\'} = $itemtypes->{$itemtype}->{\'description\'};^J }^J^J if ( C4::Context->preference(\'OpacStarRatings\') eq \'all\' ) {^J my $ratings = Koha::Ratings->search( { biblionumber => $issue->{biblionumber} } );^J $issue->{ratings} = $ratings;^J $issue->{my_rating} =^J $borrowernumber ? $ratings->search( { borrowernumber => $borrowernumber } )->next : undef;^J }^J^J my $biblio_object = Koha::Biblios->find( $issue->{biblionumber} );^J $issue->{biblio_object} = $biblio_object;^J push @issuedat, $issue;^J $count++;^J^J my $isbn = GetNormalizedISBN( $issue->{\'isbn\'} );^J $issue->{normalized_isbn} = $isbn;^J^J if ( C4::Context->preference(\'SyndeticsEnabled\')^J || C4::Context->preference(\'SyndeticsCoverImages\') )^J {^J my $marcrecord = $biblio_object->metadata_record(^J {^J embed_items => 1,^J interface => \'opac\',^J patron => $patron^J }^J );^J $issue->{normalized_upc} = GetNormalizedUPC( $marcrecord, C4::Context->preference(\'marcflavour\') );^J $issue->{normalized_oclc} = GetNormalizedOCLCNumber( $marcrecord, C4::Context->preference(\'marcflavour\') );^J }^J^J if ( C4::Context->preference(\'UseRecalls\') ) {^J my $maybe_recalls = Koha::Recalls->search(^J { biblio_id => $issue->{biblionumber}, item_id => [ undef, $issue->{itemnumber} ], completed => 0 } );^J while ( my $recall = $maybe_recalls->next ) {^J if ( $recall->checkout and $recall->checkout->issue_id == $issue->{issue_id} ) {^J $issue->{recall} = 1;^J last;^J }^J }^J }^J }^J}^Jmy $overduesblockrenewing = C4::Context->preference(\'OverduesBlockRenewing\');^J$canrenew = 0 if ( $overduesblockrenewing ne \'allow\' and $overdues_count == $count ) || !$are_renewable_items;^J^J$template->param( ISSUES => \@issuedat );^J$template->param( issues_count => $count );^J$template->param( canrenew => $canrenew );^J$template->param( OVERDUES => \@overdues );^J$template->param( overdues_count => $overdues_count );^J^Jmy $show_barcode = Koha::Patron::Attribute::Types->search( # FIXME we should not need this search^J { code => ATTRIBUTE_SHOW_BARCODE }^J)->count;^Jif ($show_barcode) {^J my $patron_show_barcode = $patron->get_extended_attribute(ATTRIBUTE_SHOW_BARCODE);^J undef $show_barcode if $patron_show_barcode and not $patron_show_barcode->attribute;^J}^J$template->param( show_barcode => 1 ) if $show_barcode;^J^J# now the reserved items....^Jmy $reserves = $patron->holds->filter_out_has_cancellation_requests;^J^J$template->param(^J RESERVES => $reserves,^J reserves_count => $reserves->count_holds,^J showpriority => $show_priority,^J);^J^Jif ( C4::Context->preference(\'UseRecalls\') ) {^J my $recalls = Koha::Recalls->search( { patron_id => $borrowernumber, completed => 0 } );^J $template->param( RECALLS => $recalls );^J}^J^Jif ( C4::Context->preference("OPACAmazonCoverImages")^J or C4::Context->preference("GoogleJackets")^J or C4::Context->preference("SyndeticsCoverImages")^J or ( C4::Context->preference(\'OPACCustomCoverImages\') and C4::Context->preference(\'CustomCoverImagesURL\') ) )^J{^J $template->param( JacketImages => 1 );^J}^J^J$template->param(^J overdrive_error => scalar $query->param(\'overdrive_error\') || undef,^J overdrive_tab => scalar $query->param(\'overdrive_tab\') || 0,^J);^J^Jmy $patron_messages = Koha::Patron::Messages->search(^J {^J borrowernumber => $borrowernumber,^J message_type => \'B\',^J }^J);^J^Jif ( C4::Context->preference(\'AllowPatronToSetCheckoutsVisibilityForGuarantor\')^J || C4::Context->preference(\'AllowStaffToSetCheckoutsVisibilityForGuarantor\') )^J{^J my @relatives;^J^J # Filter out guarantees that don\'t want guarantor to see checkouts^J foreach my $gr ( $patron->guarantee_relationships->as_list ) {^J my $g = $gr->guarantee;^J push( @relatives, $g ) if $g->privacy_guarantor_checkouts;^J }^J $template->param( relatives => \@relatives );^J}^J^Jif ( C4::Context->preference(\'AllowPatronToSetFinesVisibilityForGuarantor\')^J || C4::Context->preference(\'AllowStaffToSetFinesVisibilityForGuarantor\') )^J{^J my @relatives_with_fines;^J^J # Filter out guarantees that don\'t want guarantor to see checkouts^J foreach my $gr ( $patron->guarantee_relationships->as_list ) {^J my $g = $gr->guarantee;^J push( @relatives_with_fines, $g ) if $g->privacy_guarantor_fines;^J }^J $template->param( relatives_with_fines => \@relatives_with_fines );^J}^J^Jif ( C4::Context->preference("ArticleRequests") ) {^J $template->param(^J current_article_requests => [ $patron->article_requests->filter_by_current->as_list ],^J );^J}^J^Jmy $self_renewal_available = $patron->is_eligible_for_self_renewal();^Jmy $self_renewal_alert;^Jmy $self_renewal_success = $query->param(\'self_renewal_success\');^J$self_renewal_alert = $patron->category->self_renewal_failure_message^J if defined $self_renewal_success && !$self_renewal_success;^Jmy $self_renewal_confirmation_sent = $query->param(\'confirmation_sent\');^J^J$template->param(^J patron_messages => $patron_messages,^J opacnote => $borr->{opacnote},^J patronupdate => $patronupdate,^J OpacRenewalAllowed => C4::Context->preference("OpacRenewalAllowed"),^J userview => 1,^J tab => scalar $query->param(\'tab\') || q{},^J SuspendHoldsOpac => C4::Context->preference(\'SuspendHoldsOpac\'),^J AutoResumeSuspendedHolds => C4::Context->preference(\'AutoResumeSuspendedHolds\'),^J OpacHoldNotes => C4::Context->preference(\'OpacHoldNotes\'),^J failed_holds => scalar $query->param(\'failed_holds\'),^J self_renewal_available => $self_renewal_available,^J self_renewal_success => $self_renewal_success,^J self_renewal_alert => $self_renewal_alert,^J self_renewal_confirmation_sent => $self_renewal_confirmation_sent,^J);^J^J# if not an empty string this indicates to return^J# back to the opac-results page^Jmy $search_query = $query->param(\'has-search-query\');^J^Jif ($search_query) {^J^J print $query->redirect(^J -uri => "/cgi-bin/koha/opac-search.pl?$search_query",^J -cookie => $cookie,^J );^J}^J^J# if not an empty string this indicates to return^J# back to the page we triggered the login from^Jmy $return = $query->param(\'return\');^Jif ($return) {^J my $uri_syspref = C4::Context->preference(\'OPACBaseURL\');^J if ($uri_syspref) {^J my $uri = URI->new($uri_syspref);^J if ( $uri->isa(\'URI::http\') && $uri->host() ) {^J my $return_uri = URI->new($return);^J $return_uri->scheme( $uri->scheme() );^J $return_uri->authority( $uri->authority() );^J print $query->redirect(^J -uri => "$return_uri",^J -cookie => $cookie,^J );^J }^J }^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 };^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-user.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c343a308)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c343a308)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c3410650)', '/kohadevbox/koha/opac/opac-user.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3410650)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c3454ee0)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3410650)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c349ac28)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c34cc928)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c34eaa40)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c34aff40)', 'Try::Tiny::Catch=REF(0x5606c3458688)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c342f838)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3410650)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3410650)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3410650)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c3410650)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c3410650)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c349a820)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c3252fb8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c3185630)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c3185630)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c32e2ae8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e2ae8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e2ae8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3256d88)', 'Try::Tiny::Catch=REF(0x5606c32f62d8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c31f75f0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c3175fd8)', 'ARRAY(0x5606c31f75f0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c31f75f0)', 'CODE(0x5606c3175fd8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'ARRAY(0x5606c31f75f0)', 'CODE(0x5606c3175fd8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e2ae8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e2ae8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e2ae8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c32e2ae8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c32c3890)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c3477cf0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c34801b0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c34801b0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c34c0b40)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0b40)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c3454ee0)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0b40)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c349ac28)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c34cc928)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c34eaa40)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c347ad70)', 'Try::Tiny::Catch=REF(0x5606c3505990)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c342f838)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0b40)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0b40)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0b40)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0b40)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c34c0b40)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c34ea9e0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c33f1120)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c3d00f70)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c3d00f70)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c31896a8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31896a8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31896a8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3225d18)', 'Try::Tiny::Catch=REF(0x5606c333c2f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31896a8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31896a8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31896a8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c31896a8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c31896a8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c31c9c30)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c342ba00)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c3454880)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c3454880)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c34c0d50)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0d50)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c3454ee0)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0d50)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c349ac28)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c34cc928)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c34eaa40)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3483530)', 'Try::Tiny::Catch=REF(0x5606c34c0a20)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c342f838)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c34c0c30)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c3486b70)', 'ARRAY(0x5606c34c0c30)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c34c0c30)', 'CODE(0x5606c3486b70)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'ARRAY(0x5606c34c0c30)', 'CODE(0x5606c3486b70)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0d50)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0d50)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0d50)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34c0d50)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c34c0d50)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c342c018)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c31ccf20)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c31e7ff0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c31e7ff0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c32e6880)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e6880)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e6880)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c318e138)', 'Try::Tiny::Catch=REF(0x5606c31ea870)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5606c3281060)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5606c3166600)', 'ARRAY(0x5606c3281060)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5606c3281060)', 'CODE(0x5606c3166600)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'ARRAY(0x5606c3281060)', 'CODE(0x5606c3166600)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e6880)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e6880)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e6880)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e6880)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c32e6880)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c3195960)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180224: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c34b32c0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c34361e8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c34361e8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c34f3910)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cdaf8)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34f3910)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c3454ee0)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34f3910)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c349ac28)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c34cc928)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c34eaa40)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c3410008)', 'Try::Tiny::Catch=REF(0x5606c34bd4e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c342f838)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3458298)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606ba903698)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34f3910)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c34fad18)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34f3910)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c350abc8)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34f3910)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c34556f0)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c34cc670)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c34195d0)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42740)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42788)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d3b448)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c34f3910)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3b280)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c34f3910)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c34ea9c8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_180223: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5606c3180ab0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5606c33db748)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5606c33db748)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c32e3400)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5606b89cca10)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e3400)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5606c315f078)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e3400)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5606c33bcca8)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5606c3210ad0)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5606c3314300)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5606c324ec70)', 'Try::Tiny::Catch=REF(0x5606c31765a8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5606c3372310)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5606c3291290)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5606c2938740)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e3400)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5606c3163c30)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e3400)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5606c33364f0)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e3400)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5606c3313c40)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5606c31474e0)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5606c33dbbc8)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5606b7c42728)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5606b7c42770)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5606c2d37588)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5606c32e3400)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5606c2d3c4b0)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5606b75b80c0)', 'HASH(0x5606c32e3400)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5606b75b80c0)', 'Net::Server::Proto::UNIX=GLOB(0x5606c33dbb20)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5606b75b80c0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5606b75b80c0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'port', 'ARRAY(0x5606b7bdd150)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log', 'setsid', 1, 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5606b75b80c0)', 'CODE(0x5606b75b7f70)', 'HASH(0x5606b7630450)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5606b75b7f88)', 'CODE(0x5606b75b7f70)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5606b73f6e70)', 'Plack::Handler::Starman=HASH(0x5606b75b7f88)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5606b7332c38)') called at /bin/starman line 38 2026/08/11-22:33:57 Received QUIT. Running a graceful shutdown Sending children hup signal Child process 180224 exited with status 0 - signal was 1 2026/08/11-22:33:57 Worker processes cleaned up 2026/08/11-22:33:57 Server closing! Process Backgrounded 2026/08/11-22:33:59 Starman::Server (type Net::Server::PreFork) starting! pid(199896) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_199897: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x557c916cfd78)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x557c9cc847c0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x557c9cc847c0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x557c923b9238)', 'HASH(0x557c9cd2b2b8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x557c923b9238)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd2b2b8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x557c9cd692a0)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd2b2b8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x557c9ccc5ec8)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x557c9cb23140)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x557c9cd68ca0)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x557c9cbbd8d8)', 'Try::Tiny::Catch=REF(0x557c9cba5928)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x557c9cb44368)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x557c9cba9d70)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x557c9cba9ba8)', 'ARRAY(0x557c9cba9d70)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x557c9cba9d70)', 'CODE(0x557c9cba9ba8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x557c9cd691b0)', 'ARRAY(0x557c9cba9d70)', 'CODE(0x557c9cba9ba8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x557c9cd691b0)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x557c94305c68)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd2b2b8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x557c9cc13748)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd2b2b8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x557c9c732068)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd2b2b8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x557c9cba0740)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x557c9cba5688)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x557c9cdc79e0)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x557c9162f118)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x557c9162f160)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x557c9c73bdd8)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x557c9c72c420)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x557c90fbe8a0)', 'HASH(0x557c9cd2b2b8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x557c90fbe8a0)', 'Net::Server::Proto::UNIX=GLOB(0x557c9cc4dc68)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x557c90fbe8a0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'port', 'ARRAY(0x557c915c8eb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'CODE(0x557c90fbe750)', 'HASH(0x557c9101d370)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x557c90fbe768)', 'CODE(0x557c90fbe750)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x557c90de4008)', 'Plack::Handler::Starman=HASH(0x557c90fbe768)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x557c90ce2068)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_199897: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x557c9cd52728)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x557c9cb679a8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x557c9cb679a8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x557c923b9238)', 'HASH(0x557c9cc13688)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x557c923b9238)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cc13688)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x557c9cd692a0)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cc13688)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x557c9ccc5ec8)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x557c9cb23140)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x557c9cd68ca0)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x557c9ce06350)', 'Try::Tiny::Catch=REF(0x557c9cd497f0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x557c9cb44368)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x557c9cc64d28)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x557c9cb84f28)', 'ARRAY(0x557c9cc64d28)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x557c9cc64d28)', 'CODE(0x557c9cb84f28)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x557c9cd691b0)', 'ARRAY(0x557c9cc64d28)', 'CODE(0x557c9cb84f28)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x557c9cd691b0)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x557c94305c68)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cc13688)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x557c9cc13748)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cc13688)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x557c9c732068)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cc13688)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x557c9cba0740)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x557c9cba5688)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x557c9cdc79e0)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x557c9162f118)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x557c9162f160)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x557c9c73bdd8)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cc13688)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x557c9c72c420)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x557c90fbe8a0)', 'HASH(0x557c9cc13688)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x557c90fbe8a0)', 'Net::Server::Proto::UNIX=GLOB(0x557c9cb89a80)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x557c90fbe8a0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'port', 'ARRAY(0x557c915c8eb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'CODE(0x557c90fbe750)', 'HASH(0x557c9101d370)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x557c90fbe768)', 'CODE(0x557c90fbe750)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x557c90de4008)', 'Plack::Handler::Starman=HASH(0x557c90fbe768)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x557c90ce2068)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_199898: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x557c916cf8f0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x557c9cb3e020)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x557c9cb3e020)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x557c9238cef0)', 'HASH(0x557c9cd46260)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x557c9238cef0)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd46260)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x557c9cc4b660)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd46260)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x557c9cd3f5f8)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x557c9cca03c8)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x557c9ccc2e30)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x557c9cd08710)', 'Try::Tiny::Catch=REF(0x557c9ccc8198)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x557c9cbde110)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x557c9cd08548)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x557c9cd9e030)', 'ARRAY(0x557c9cd08548)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x557c9cd08548)', 'CODE(0x557c9cd9e030)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x557c9cdc7238)', 'ARRAY(0x557c9cd08548)', 'CODE(0x557c9cd9e030)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x557c9cdc7238)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x557c9c7f8a38)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd46260)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x557c9cb9ec40)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd46260)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x557c9cbb2f40)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd46260)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x557c9cd80a58)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x557c9cba3838)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x557c9cd69d00)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x557c9162f130)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x557c9162f178)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x557c9c738e50)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd46260)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x557c9c729e38)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x557c90fbe8a0)', 'HASH(0x557c9cd46260)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x557c90fbe8a0)', 'Net::Server::Proto::UNIX=GLOB(0x557c9cd667d8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x557c90fbe8a0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'port', 'ARRAY(0x557c915c8eb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'CODE(0x557c90fbe750)', 'HASH(0x557c9101d370)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x557c90fbe768)', 'CODE(0x557c90fbe750)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x557c90de4008)', 'Plack::Handler::Starman=HASH(0x557c90fbe768)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x557c90ce2068)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_199897: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x557c9cb5fa68)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x557c9cdf6440)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x557c9cdf6440)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x557c923b9238)', 'HASH(0x557c9cb84c28)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x557c923b9238)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb84c28)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x557c9cd692a0)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb84c28)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x557c9ccc5ec8)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x557c9cb23140)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x557c9cd68ca0)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x557c9cd0a910)', 'Try::Tiny::Catch=REF(0x557c9cb41950)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x557c9cb44368)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x557c9cd691b0)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x557c94305c68)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb84c28)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x557c9cc13748)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb84c28)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x557c9c732068)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb84c28)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x557c9cba0740)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x557c9cba5688)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x557c9cdc79e0)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x557c9162f118)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x557c9162f160)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x557c9c73bdd8)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb84c28)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x557c9c72c420)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x557c90fbe8a0)', 'HASH(0x557c9cb84c28)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x557c90fbe8a0)', 'Net::Server::Proto::UNIX=GLOB(0x557c9cd49700)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x557c90fbe8a0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'port', 'ARRAY(0x557c915c8eb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'CODE(0x557c90fbe750)', 'HASH(0x557c9101d370)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x557c90fbe768)', 'CODE(0x557c90fbe750)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x557c90de4008)', 'Plack::Handler::Starman=HASH(0x557c90fbe768)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x557c90ce2068)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_199898: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x557c9cd9e258)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x557c9cbd1f70)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x557c9cbd1f70)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x557c9238cef0)', 'HASH(0x557c9cbcdc08)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x557c9238cef0)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbcdc08)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x557c9cc4b660)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbcdc08)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x557c9cd3f5f8)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x557c9cca03c8)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x557c9ccc2e30)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x557c9cb41068)', 'Try::Tiny::Catch=REF(0x557c9ccc8b10)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x557c9cbde110)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x557c9cd4a568)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x557c9cda8738)', 'ARRAY(0x557c9cd4a568)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x557c9cd4a568)', 'CODE(0x557c9cda8738)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x557c9cdc7238)', 'ARRAY(0x557c9cd4a568)', 'CODE(0x557c9cda8738)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x557c9cdc7238)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x557c9c7f8a38)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbcdc08)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x557c9cb9ec40)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbcdc08)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x557c9cbb2f40)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbcdc08)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x557c9cd80a58)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x557c9cba3838)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x557c9cd69d00)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x557c9162f130)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x557c9162f178)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x557c9c738e50)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x557c9c729e38)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x557c90fbe8a0)', 'HASH(0x557c9cbcdc08)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x557c90fbe8a0)', 'Net::Server::Proto::UNIX=GLOB(0x557c9cd9e390)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x557c90fbe8a0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'port', 'ARRAY(0x557c915c8eb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'CODE(0x557c90fbe750)', 'HASH(0x557c9101d370)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x557c90fbe768)', 'CODE(0x557c90fbe750)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x557c90de4008)', 'Plack::Handler::Starman=HASH(0x557c90fbe768)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x557c90ce2068)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_199897: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x557c9cd64f58)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x557c9cc68b20)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x557c9cc68b20)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x557c923b9238)', 'HASH(0x557c9cbd89b0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x557c923b9238)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbd89b0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x557c9cd692a0)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbd89b0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x557c9ccc5ec8)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x557c9cb23140)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x557c9cd68ca0)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x557c9cd412f8)', 'Try::Tiny::Catch=REF(0x557c9cd945a8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x557c9cb44368)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x557c9cd691b0)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x557c94305c68)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbd89b0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x557c9cc13748)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbd89b0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x557c9c732068)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbd89b0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x557c9cba0740)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x557c9cba5688)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x557c9cdc79e0)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x557c9162f118)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x557c9162f160)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x557c9c73bdd8)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x557c9c72c420)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x557c90fbe8a0)', 'HASH(0x557c9cbd89b0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x557c90fbe8a0)', 'Net::Server::Proto::UNIX=GLOB(0x557c9cb5fb70)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x557c90fbe8a0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'port', 'ARRAY(0x557c915c8eb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'CODE(0x557c90fbe750)', 'HASH(0x557c9101d370)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x557c90fbe768)', 'CODE(0x557c90fbe750)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x557c90de4008)', 'Plack::Handler::Starman=HASH(0x557c90fbe768)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x557c90ce2068)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_199898: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x557c9cd94d18)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x557c9cd0d028)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x557c9cd0d028)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x557c9238cef0)', 'HASH(0x557c9cd8cbe8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x557c9238cef0)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd8cbe8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x557c9cc4b660)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd8cbe8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x557c9cd3f5f8)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x557c9cca03c8)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x557c9ccc2e30)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x557c9cd10830)', 'Try::Tiny::Catch=REF(0x557c9cb7b928)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x557c9cbde110)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x557c9cdc7238)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x557c9c7f8a38)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd8cbe8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x557c9cb9ec40)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd8cbe8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x557c9cbb2f40)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd8cbe8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x557c9cd80a58)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x557c9cba3838)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x557c9cd69d00)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x557c9162f130)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x557c9162f178)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x557c9c738e50)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x557c9c729e38)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x557c90fbe8a0)', 'HASH(0x557c9cd8cbe8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x557c90fbe8a0)', 'Net::Server::Proto::UNIX=GLOB(0x557c9cba2c38)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x557c90fbe8a0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'port', 'ARRAY(0x557c915c8eb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'CODE(0x557c90fbe750)', 'HASH(0x557c9101d370)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x557c90fbe768)', 'CODE(0x557c90fbe750)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x557c90de4008)', 'Plack::Handler::Starman=HASH(0x557c90fbe768)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x557c90ce2068)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_199897: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x557c9cd0a340)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x557c9ce02d88)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x557c9ce02d88)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x557c923b9238)', 'HASH(0x557c9cd6c868)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x557c923b9238)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd6c868)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x557c9cd692a0)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd6c868)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x557c9ccc5ec8)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x557c9cb23140)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x557c9cd68ca0)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x557c9cb22c18)', 'Try::Tiny::Catch=REF(0x557c9cd65a38)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x557c9cb44368)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x557c9cd691b0)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x557c94305c68)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd6c868)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x557c9cc13748)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd6c868)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x557c9c732068)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd6c868)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x557c9cba0740)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x557c9cba5688)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x557c9cdc79e0)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x557c9162f118)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x557c9162f160)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x557c9c73bdd8)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd6c868)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x557c9c72c420)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x557c90fbe8a0)', 'HASH(0x557c9cd6c868)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x557c90fbe8a0)', 'Net::Server::Proto::UNIX=GLOB(0x557c9cb6e9a0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x557c90fbe8a0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'port', 'ARRAY(0x557c915c8eb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'CODE(0x557c90fbe750)', 'HASH(0x557c9101d370)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x557c90fbe768)', 'CODE(0x557c90fbe750)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x557c90de4008)', 'Plack::Handler::Starman=HASH(0x557c90fbe768)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x557c90ce2068)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_199898: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x557c9cd0cf38)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dmain_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-main.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Parts Copyright (C) 2013 Mark Tompsett^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Quotes;^Juse C4::Members;^Juse C4::Overdues qw( checkoverdues );^Juse Koha::Checkouts;^Juse Koha::Holds;^Juse Koha::Patron::Messages;^J^Jmy $input = CGI->new;^Jmy $dbh = C4::Context->dbh;^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-main.tt",^J type => "opac",^J query => $input,^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $casAuthentication = C4::Context->preference(\'casAuthentication\');^J$template->param(^J casAuthentication => $casAuthentication,^J);^J^Jmy $homebranch = $ENV{OPAC_BRANCH_DEFAULT};^Jif ( C4::Context->userenv ) {^J $homebranch = C4::Context->userenv->{\'branch\'};^J}^Jif ( defined $input->param(\'branch\') and length $input->param(\'branch\') ) {^J $homebranch = $input->param(\'branch\');^J} elsif ( C4::Context->userenv and defined $input->param(\'branch\') and length $input->param(\'branch\') == 0 ) {^J $homebranch = "";^J}^J^Jmy $news_id = $input->param(\'news_id\');^J$template->param( news_id => $news_id );^J^J# For dashboard^Jmy $patron = Koha::Patrons->find($borrowernumber);^J^Jif ($patron) {^J my $checkouts = Koha::Checkouts->search( { borrowernumber => $borrowernumber } )->count;^J my ( $overdues_count, $overdues ) = checkoverdues($borrowernumber);^J my $holds_pending = Koha::Holds->count_holds( { borrowernumber => $borrowernumber, found => undef } );^J my $holds_waiting = Koha::Holds->search( { borrowernumber => $borrowernumber } )->waiting->count;^J my $patron_messages = Koha::Patron::Messages->search(^J {^J borrowernumber => $borrowernumber,^J message_type => \'B\',^J }^J );^J my $patron_note = $patron->opacnote;^J my $total = $patron->account->balance;^J my $saving_display = C4::Context->preference(\'OPACShowSavings\');^J my $savings = 0;^J if ( $saving_display =~ /summary/ ) {^J $savings = $patron->get_savings;^J }^J if ( $checkouts > 0^J || $overdues_count > 0^J || $holds_pending > 0^J || $holds_waiting > 0^J || $total > 0^J || $patron_note^J || $patron_messages->count^J || $savings > 0 )^J {^J $template->param(^J dashboard_info => 1,^J checkouts => $checkouts,^J overdues => $overdues_count,^J holds_pending => $holds_pending,^J holds_waiting => $holds_waiting,^J total_owing => $total,^J patron_messages => $patron_messages,^J opacnote => $patron_note,^J savings => $savings,^J );^J }^J}^J^J$template->param( branchcode => $homebranch ) if $homebranch;^J$template->param(^J daily_quote => Koha::Quotes->get_daily_quote(),^J);^J^Joutput_html_with_http_headers $input, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-main.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x557c9cb237d8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x557c9cb237d8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x557c9238cef0)', 'HASH(0x557c9cb40ed0)', '/kohadevbox/koha/opac/opac-main.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x557c9238cef0)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb40ed0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x557c9cc4b660)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb40ed0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x557c9cd3f5f8)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x557c9cca03c8)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x557c9ccc2e30)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x557c9cbbe4b0)', 'Try::Tiny::Catch=REF(0x557c9cb41cf8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x557c9cbde110)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x557c9cdc7238)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x557c9c7f8a38)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb40ed0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x557c9cb9ec40)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb40ed0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x557c9cbb2f40)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb40ed0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x557c9cd80a58)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x557c9cba3838)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x557c9cd69d00)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x557c9162f130)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x557c9162f178)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x557c9c738e50)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x557c9c729e38)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x557c90fbe8a0)', 'HASH(0x557c9cb40ed0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x557c90fbe8a0)', 'Net::Server::Proto::UNIX=GLOB(0x557c9cbb6670)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x557c90fbe8a0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'port', 'ARRAY(0x557c915c8eb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'CODE(0x557c90fbe750)', 'HASH(0x557c9101d370)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x557c90fbe768)', 'CODE(0x557c90fbe750)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x557c90de4008)', 'Plack::Handler::Starman=HASH(0x557c90fbe768)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x557c90ce2068)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_199897: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x557c9cc233d0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x557c9ccc5970)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x557c9ccc5970)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x557c923b9238)', 'HASH(0x557c9ccdca48)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x557c923b9238)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9ccdca48)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x557c9cd692a0)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9ccdca48)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x557c9ccc5ec8)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x557c9cb23140)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x557c9cd68ca0)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x557c9cc23658)', 'Try::Tiny::Catch=REF(0x557c9cd94950)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x557c9cb44368)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x557c9cd691b0)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x557c94305c68)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9ccdca48)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x557c9cc13748)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9ccdca48)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x557c9c732068)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9ccdca48)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x557c9cba0740)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x557c9cba5688)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x557c9cdc79e0)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x557c9162f118)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x557c9162f160)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x557c9c73bdd8)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9ccdca48)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x557c9c72c420)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x557c90fbe8a0)', 'HASH(0x557c9ccdca48)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x557c90fbe8a0)', 'Net::Server::Proto::UNIX=GLOB(0x557c9cb40ed0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x557c90fbe8a0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'port', 'ARRAY(0x557c915c8eb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'CODE(0x557c90fbe750)', 'HASH(0x557c9101d370)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x557c90fbe768)', 'CODE(0x557c90fbe750)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x557c90de4008)', 'Plack::Handler::Starman=HASH(0x557c90fbe768)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x557c90ce2068)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_199898: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x557c9cc447e0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x557c9cdcfa28)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x557c9cdcfa28)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x557c9238cef0)', 'HASH(0x557c9cd3ed58)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x557c9238cef0)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd3ed58)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x557c9cc4b660)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd3ed58)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x557c9cd3f5f8)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x557c9cca03c8)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x557c9ccc2e30)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x557c9cd13a80)', 'Try::Tiny::Catch=REF(0x557c9cda4cc8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x557c9cbde110)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x557c9cce5fd0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x557c9cb414b8)', 'ARRAY(0x557c9cce5fd0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x557c9cce5fd0)', 'CODE(0x557c9cb414b8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x557c9cdc7238)', 'ARRAY(0x557c9cce5fd0)', 'CODE(0x557c9cb414b8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x557c9cdc7238)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x557c9c7f8a38)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd3ed58)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x557c9cb9ec40)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd3ed58)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x557c9cbb2f40)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd3ed58)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x557c9cd80a58)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x557c9cba3838)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x557c9cd69d00)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x557c9162f130)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x557c9162f178)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x557c9c738e50)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x557c9c729e38)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x557c90fbe8a0)', 'HASH(0x557c9cd3ed58)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x557c90fbe8a0)', 'Net::Server::Proto::UNIX=GLOB(0x557c9cd94cd0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x557c90fbe8a0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x557c90fbe8a0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'port', 'ARRAY(0x557c915c8eb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'setsid', 1, 'log_file', '/var/log/koha/boundwith/plack-error.log', 'pid_file', '/var/run/koha/boundwith/plack.pid', 'background', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x557c90fbe8a0)', 'CODE(0x557c90fbe750)', 'HASH(0x557c9101d370)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x557c90fbe768)', 'CODE(0x557c90fbe750)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x557c90de4008)', 'Plack::Handler::Starman=HASH(0x557c90fbe768)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x557c90ce2068)') called at /bin/starman line 38 2026/08/11-23:05:37 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-23:05:37 Worker processes cleaned up 2026/08/11-23:05:37 Server closing! Process Backgrounded 2026/08/11-23:05:38 Starman::Server (type Net::Server::PreFork) starting! pid(202688) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_202690: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5569d6d2e890)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5569e24ef070)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5569e24ef070)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5569d7a19c28)', 'HASH(0x5569e1da5cb8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5569d7a19c28)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da5cb8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5569e2480470)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da5cb8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5569e2530e38)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5569e2530f88)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5569e2235188)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5569e2537e20)', 'Try::Tiny::Catch=REF(0x5569e21a2b98)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5569e24f1d60)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5569e25127e8)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5569e24a4b90)', 'ARRAY(0x5569e25127e8)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5569e25127e8)', 'CODE(0x5569e24a4b90)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5569e2519e10)', 'ARRAY(0x5569e25127e8)', 'CODE(0x5569e24a4b90)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5569e2519e10)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5569e1e5a8e8)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da5cb8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5569e254d110)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da5cb8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5569e24b8468)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da5cb8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5569e247b490)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5569e2530f28)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5569e247bb68)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5569d6c8e340)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5569d6c8e388)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5569e1d9aec8)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5569e1da0870)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5569d661ce80)', 'HASH(0x5569e1da5cb8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5569d661ce80)', 'Net::Server::Proto::UNIX=GLOB(0x5569e253b980)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5569d661ce80)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'port', 'ARRAY(0x5569d6c28fb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'CODE(0x5569d661cd30)', 'HASH(0x5569d667ba70)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5569d661cd48)', 'CODE(0x5569d661cd30)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5569d6443098)', 'Plack::Handler::Starman=HASH(0x5569d661cd48)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5569d62dd5a8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_202689: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5569d6d2e7f8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5569e256be38)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5569e256be38)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5569d7a25238)', 'HASH(0x5569e1da2978)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5569d7a25238)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da2978)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5569e2524c00)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da2978)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5569e24eb820)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5569e246ba28)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5569e248e0d8)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5569e23cfb88)', 'Try::Tiny::Catch=REF(0x5569e21edcb0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5569e249f230)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5569e24750c0)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5569d983d728)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da2978)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5569e2469548)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da2978)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5569e25348e8)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da2978)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5569e2378150)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5569e2377f58)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5569e24a0d48)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5569d6c8e328)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5569d6c8e370)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5569e1d98230)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1da2978)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5569e1d986b0)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5569d661ce80)', 'HASH(0x5569e1da2978)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5569d661ce80)', 'Net::Server::Proto::UNIX=GLOB(0x5569e2528568)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5569d661ce80)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'port', 'ARRAY(0x5569d6c28fb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'CODE(0x5569d661cd30)', 'HASH(0x5569d667ba70)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5569d661cd48)', 'CODE(0x5569d661cd30)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5569d6443098)', 'Plack::Handler::Starman=HASH(0x5569d661cd48)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5569d62dd5a8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_202690: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5569e253ae88)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5569e24a4a70)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5569e24a4a70)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5569d7a19c28)', 'HASH(0x5569e2474110)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5569d7a19c28)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2474110)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5569e2480470)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2474110)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5569e2530e38)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5569e2530f88)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5569e2235188)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5569e24fed68)', 'Try::Tiny::Catch=REF(0x5569e2483b10)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5569e24f1d60)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5569e2519e10)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5569e1e5a8e8)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2474110)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5569e254d110)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2474110)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5569e24b8468)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2474110)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5569e247b490)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5569e2530f28)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5569e247bb68)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5569d6c8e340)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5569d6c8e388)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5569e1d9aec8)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2474110)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5569e1da0870)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5569d661ce80)', 'HASH(0x5569e2474110)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5569d661ce80)', 'Net::Server::Proto::UNIX=GLOB(0x5569e25193d8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5569d661ce80)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'port', 'ARRAY(0x5569d6c28fb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'CODE(0x5569d661cd30)', 'HASH(0x5569d667ba70)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5569d661cd48)', 'CODE(0x5569d661cd30)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5569d6443098)', 'Plack::Handler::Starman=HASH(0x5569d661cd48)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5569d62dd5a8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_202689: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5569e23cfdc8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5569e248b4d8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5569e248b4d8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5569d7a25238)', 'HASH(0x5569e21ed878)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5569d7a25238)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e21ed878)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5569e2524c00)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e21ed878)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5569e24eb820)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5569e246ba28)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5569e248e0d8)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5569e2534288)', 'Try::Tiny::Catch=REF(0x5569e25250b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5569e249f230)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5569e24750c0)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5569d983d728)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e21ed878)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5569e2469548)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e21ed878)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5569e25348e8)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e21ed878)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5569e2378150)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5569e2377f58)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5569e24a0d48)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5569d6c8e328)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5569d6c8e370)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5569e1d98230)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e21ed878)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5569e1d986b0)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5569d661ce80)', 'HASH(0x5569e21ed878)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5569d661ce80)', 'Net::Server::Proto::UNIX=GLOB(0x5569e3260ab0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5569d661ce80)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'port', 'ARRAY(0x5569d6c28fb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'CODE(0x5569d661cd30)', 'HASH(0x5569d667ba70)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5569d661cd48)', 'CODE(0x5569d661cd30)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5569d6443098)', 'Plack::Handler::Starman=HASH(0x5569d661cd48)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5569d62dd5a8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_202690: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5569e251cec0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5569e24e6540)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5569e24e6540)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5569d7a19c28)', 'HASH(0x5569e248f820)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5569d7a19c28)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e248f820)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5569e2480470)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e248f820)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5569e2530e38)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5569e2530f88)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5569e2235188)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5569e2495e90)', 'Try::Tiny::Catch=REF(0x5569e24746b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5569e24f1d60)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5569e2508750)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5569e1dcf2e8)', 'ARRAY(0x5569e2508750)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5569e2508750)', 'CODE(0x5569e1dcf2e8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5569e2519e10)', 'ARRAY(0x5569e2508750)', 'CODE(0x5569e1dcf2e8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5569e2519e10)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5569e1e5a8e8)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e248f820)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5569e254d110)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e248f820)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5569e24b8468)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e248f820)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5569e247b490)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5569e2530f28)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5569e247bb68)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5569d6c8e340)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5569d6c8e388)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5569e1d9aec8)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e248f820)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5569e1da0870)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5569d661ce80)', 'HASH(0x5569e248f820)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5569d661ce80)', 'Net::Server::Proto::UNIX=GLOB(0x5569e254d0c8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5569d661ce80)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'port', 'ARRAY(0x5569d6c28fb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'CODE(0x5569d661cd30)', 'HASH(0x5569d667ba70)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5569d661cd48)', 'CODE(0x5569d661cd30)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5569d6443098)', 'Plack::Handler::Starman=HASH(0x5569d661cd48)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5569d62dd5a8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_202689: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5569e24b4658)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5569e24d3438)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5569e24d3438)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5569d7a25238)', 'HASH(0x5569e1893668)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5569d7a25238)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1893668)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5569e2524c00)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1893668)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5569e24eb820)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5569e246ba28)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5569e248e0d8)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5569e24ad2e0)', 'Try::Tiny::Catch=REF(0x5569e24b4538)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5569e249f230)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5569e24a5888)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5569e219f1e8)', 'ARRAY(0x5569e24a5888)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5569e24a5888)', 'CODE(0x5569e219f1e8)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5569e24750c0)', 'ARRAY(0x5569e24a5888)', 'CODE(0x5569e219f1e8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5569e24750c0)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5569d983d728)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1893668)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5569e2469548)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1893668)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5569e25348e8)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1893668)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5569e2378150)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5569e2377f58)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5569e24a0d48)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5569d6c8e328)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5569d6c8e370)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5569e1d98230)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e1893668)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5569e1d986b0)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5569d661ce80)', 'HASH(0x5569e1893668)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5569d661ce80)', 'Net::Server::Proto::UNIX=GLOB(0x5569e25345e8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5569d661ce80)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'port', 'ARRAY(0x5569d6c28fb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'CODE(0x5569d661cd30)', 'HASH(0x5569d667ba70)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5569d661cd48)', 'CODE(0x5569d661cd30)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5569d6443098)', 'Plack::Handler::Starman=HASH(0x5569d661cd48)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5569d62dd5a8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_202690: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5569e2483858)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5569e2512ad0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5569e2512ad0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5569d6c8e5f8)', 'HASH(0x5569e2506a68)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5569d6c8e5f8)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2506a68)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5569e242abe0)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2506a68)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5569e254ce70)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5569e256fe30)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5569e2234d20)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5569e24cbe38)', 'Try::Tiny::Catch=REF(0x5569e24963a0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5569e2237e50)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5569e2572868)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5569e1e5a8e8)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2506a68)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5569e254d110)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2506a68)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5569e24b8468)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2506a68)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5569e247b490)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5569e2530f28)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5569e247bb68)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5569d6c8e340)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5569d6c8e388)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5569e1d9aec8)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2506a68)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5569e1da0870)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5569d661ce80)', 'HASH(0x5569e2506a68)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5569d661ce80)', 'Net::Server::Proto::UNIX=GLOB(0x5569e2477a50)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5569d661ce80)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'port', 'ARRAY(0x5569d6c28fb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'CODE(0x5569d661cd30)', 'HASH(0x5569d667ba70)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5569d661cd48)', 'CODE(0x5569d661cd30)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5569d6443098)', 'Plack::Handler::Starman=HASH(0x5569d661cd48)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5569d62dd5a8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_202689: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5569e24f5dd0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5569e2512158)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5569e2512158)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5569d7a25238)', 'HASH(0x5569e2475318)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5569d7a25238)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2475318)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5569e2524c00)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2475318)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5569e24eb820)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5569e246ba28)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5569e248e0d8)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5569e25307c8)', 'Try::Tiny::Catch=REF(0x5569e251c620)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5569e249f230)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5569e2516210)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5569e24cf568)', 'ARRAY(0x5569e2516210)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5569e2516210)', 'CODE(0x5569e24cf568)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5569e24750c0)', 'ARRAY(0x5569e2516210)', 'CODE(0x5569e24cf568)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5569e24750c0)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5569d983d728)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2475318)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5569e2469548)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2475318)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5569e25348e8)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2475318)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5569e2378150)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5569e2377f58)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5569e24a0d48)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5569d6c8e328)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5569d6c8e370)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5569e1d98230)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e2475318)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5569e1d986b0)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5569d661ce80)', 'HASH(0x5569e2475318)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5569d661ce80)', 'Net::Server::Proto::UNIX=GLOB(0x5569e24753f0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5569d661ce80)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'port', 'ARRAY(0x5569d6c28fb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'CODE(0x5569d661cd30)', 'HASH(0x5569d667ba70)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5569d661cd48)', 'CODE(0x5569d661cd30)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5569d6443098)', 'Plack::Handler::Starman=HASH(0x5569d661cd48)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5569d62dd5a8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_202690: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5569e250fba0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5569e2562f58)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5569e2562f58)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5569d7a19c28)', 'HASH(0x5569e24c7a20)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5569d7a19c28)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a20)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5569e2480470)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a20)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5569e2530e38)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5569e2530f88)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5569e2235188)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5569e2569318)', 'Try::Tiny::Catch=REF(0x5569e24c72e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5569e24f1d60)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5569e24e2d68)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5569e2546480)', 'ARRAY(0x5569e24e2d68)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5569e24e2d68)', 'CODE(0x5569e2546480)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5569e2519e10)', 'ARRAY(0x5569e24e2d68)', 'CODE(0x5569e2546480)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5569e2519e10)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5569e1e5a8e8)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a20)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5569e254d110)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a20)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5569e24b8468)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a20)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5569e247b490)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5569e2530f28)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5569e247bb68)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5569d6c8e340)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5569d6c8e388)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5569e1d9aec8)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a20)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5569e1da0870)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5569d661ce80)', 'HASH(0x5569e24c7a20)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5569d661ce80)', 'Net::Server::Proto::UNIX=GLOB(0x5569e2491c20)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5569d661ce80)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'port', 'ARRAY(0x5569d6c28fb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'CODE(0x5569d661cd30)', 'HASH(0x5569d667ba70)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5569d661cd48)', 'CODE(0x5569d661cd30)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5569d6443098)', 'Plack::Handler::Starman=HASH(0x5569d661cd48)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5569d62dd5a8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_202689: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5569e251cef0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5569e23d00b0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5569e23d00b0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5569d7a25238)', 'HASH(0x5569e24bcef0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5569d7a25238)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24bcef0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5569e2524c00)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24bcef0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5569e24eb820)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5569e246ba28)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5569e248e0d8)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5569e2511f00)', 'Try::Tiny::Catch=REF(0x5569e24a6128)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5569e249f230)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5569e24750c0)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5569d983d728)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24bcef0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5569e2469548)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24bcef0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5569e25348e8)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24bcef0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5569e2378150)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5569e2377f58)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5569e24a0d48)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5569d6c8e328)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5569d6c8e370)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5569e1d98230)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24bcef0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5569e1d986b0)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5569d661ce80)', 'HASH(0x5569e24bcef0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5569d661ce80)', 'Net::Server::Proto::UNIX=GLOB(0x5569e24c8f08)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5569d661ce80)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'port', 'ARRAY(0x5569d6c28fb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'CODE(0x5569d661cd30)', 'HASH(0x5569d667ba70)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5569d661cd48)', 'CODE(0x5569d661cd30)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5569d6443098)', 'Plack::Handler::Starman=HASH(0x5569d661cd48)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5569d62dd5a8)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_202690: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5569e24c72a0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5569e2508c78)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5569e2508c78)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5569d7a19c28)', 'HASH(0x5569e24c7a98)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5569d7a19c28)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a98)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5569e2480470)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a98)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5569e2530e38)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5569e2530f88)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5569e2235188)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5569e24ac778)', 'Try::Tiny::Catch=REF(0x5569e250ffd8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5569e24f1d60)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5569e24b1500)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5569e24c7420)', 'ARRAY(0x5569e24b1500)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5569e24b1500)', 'CODE(0x5569e24c7420)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5569e2519e10)', 'ARRAY(0x5569e24b1500)', 'CODE(0x5569e24c7420)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5569e2519e10)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5569e1e5a8e8)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a98)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5569e254d110)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a98)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5569e24b8468)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a98)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5569e247b490)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5569e2530f28)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5569e247bb68)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5569d6c8e340)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5569d6c8e388)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5569e1d9aec8)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5569e24c7a98)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5569e1da0870)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5569d661ce80)', 'HASH(0x5569e24c7a98)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5569d661ce80)', 'Net::Server::Proto::UNIX=GLOB(0x5569e24e2d38)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5569d661ce80)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5569d661ce80)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'port', 'ARRAY(0x5569d6c28fb0)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5569d661ce80)', 'CODE(0x5569d661cd30)', 'HASH(0x5569d667ba70)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5569d661cd48)', 'CODE(0x5569d661cd30)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5569d6443098)', 'Plack::Handler::Starman=HASH(0x5569d661cd48)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5569d62dd5a8)') called at /bin/starman line 38 2026/08/11-23:31:16 Received QUIT. Running a graceful shutdown Sending children hup signal 2026/08/11-23:31:16 Worker processes cleaned up 2026/08/11-23:31:16 Server closing! Process Backgrounded 2026/08/11-23:31:17 Starman::Server (type Net::Server::PreFork) starting! pid(212297) Binding to UNIX socket file "/var/run/koha/boundwith/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/boundwith/plack.sock/ Could not mkdir /tmp/cgi_compile_212299: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5637b63cdbd8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5637c1ad83e0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5637c1ad83e0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5637b70e48f0)', 'HASH(0x5637c1a4b268)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5637b70e48f0)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4b268)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5637c1824868)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4b268)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5637c1a46bf0)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5637c17fc408)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5637c1946fc8)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5637c199d598)', 'Try::Tiny::Catch=REF(0x5637c199d880)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5637c1a53fc8)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5637c184b990)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5637c1a540a0)', 'ARRAY(0x5637c184b990)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5637c184b990)', 'CODE(0x5637c1a540a0)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5637c18fac90)', 'ARRAY(0x5637c184b990)', 'CODE(0x5637c1a540a0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5637c18fac90)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5637c13f6498)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4b268)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5637c182f6e0)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4b268)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5637c1a43c88)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4b268)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5637c1a24d38)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5637c1a26b50)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5637c17fc7b0)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5637b6330728)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5637b6330770)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5637c141fe90)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4b268)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5637c141a2c0)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5637b5cbd3b0)', 'HASH(0x5637c1a4b268)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5637b5cbd3b0)', 'Net::Server::Proto::UNIX=GLOB(0x5637c1981988)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5637b5cbd3b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5637b5cbd3b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5637b5cbd3b0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5637b5cbd3b0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5637b5cbd3b0)', 'port', 'ARRAY(0x5637b62c7e10)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5637b5cbd3b0)', 'CODE(0x5637b5cbd260)', 'HASH(0x5637b5d1bf50)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5637b5cbd278)', 'CODE(0x5637b5cbd260)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5637b5ae35f8)', 'Plack::Handler::Starman=HASH(0x5637b5cbd278)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5637b59ebf10)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_212300: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5637b63cdda0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5637c1a58a98)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5637c1a58a98)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5637b70c0710)', 'HASH(0x5637c1a882d8)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5637b70c0710)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a882d8)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5637c19ebb58)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a882d8)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5637c18eee90)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5637c18bf088)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5637c1a8c838)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5637c18c2930)', 'Try::Tiny::Catch=REF(0x5637c1a97a60)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5637c1ad9f30)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5637c1aaf530)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5637bfce9528)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a882d8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5637c19f8348)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a882d8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5637c1928758)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a882d8)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5637c1aaef30)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5637c19f3548)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5637c1858a70)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5637b6330740)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5637b6330788)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5637c141f118)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a882d8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5637c141f5c8)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5637b5cbd3b0)', 'HASH(0x5637c1a882d8)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5637b5cbd3b0)', 'Net::Server::Proto::UNIX=GLOB(0x5637c1aaf050)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5637b5cbd3b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5637b5cbd3b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5637b5cbd3b0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5637b5cbd3b0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5637b5cbd3b0)', 'port', 'ARRAY(0x5637b62c7e10)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5637b5cbd3b0)', 'CODE(0x5637b5cbd260)', 'HASH(0x5637b5d1bf50)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5637b5cbd278)', 'CODE(0x5637b5cbd260)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5637b5ae35f8)', 'Plack::Handler::Starman=HASH(0x5637b5cbd278)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5637b59ebf10)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_212299: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5637c1a1ffd8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5637c18d7cd8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5637c18d7cd8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5637b70e48f0)', 'HASH(0x5637c2206f68)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5637b70e48f0)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c2206f68)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5637c1824868)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c2206f68)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 55 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5637c1a46bf0)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5637c17fc408)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5637c1946fc8)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5637c1a53b48)', 'Try::Tiny::Catch=REF(0x5637c1a1fc18)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5637c1a53fc8)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 38 Plack::Middleware::ErrorDocument::__ANON__('ARRAY(0x5637c19471c0)') called at /usr/share/perl5/Plack/Util.pm line 290 Plack::Util::__ANON__('CODE(0x5637c1857400)', 'ARRAY(0x5637c19471c0)') called at /usr/share/perl5/Plack/Util.pm line 316 Plack::Util::response_cb('ARRAY(0x5637c19471c0)', 'CODE(0x5637c1857400)') called at /usr/share/perl5/Plack/Component.pm line 56 Plack::Component::response_cb('Plack::Middleware::ErrorDocument=HASH(0x5637c18fac90)', 'ARRAY(0x5637c19471c0)', 'CODE(0x5637c1857400)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 82 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5637c18fac90)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5637c13f6498)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c2206f68)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5637c182f6e0)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c2206f68)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5637c1a43c88)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c2206f68)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5637c1a24d38)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5637c1a26b50)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5637c17fc7b0)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5637b6330728)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5637b6330770)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5637c141fe90)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c2206f68)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5637c141a2c0)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5637b5cbd3b0)', 'HASH(0x5637c2206f68)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5637b5cbd3b0)', 'Net::Server::Proto::UNIX=GLOB(0x5637c18fac00)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5637b5cbd3b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5637b5cbd3b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5637b5cbd3b0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5637b5cbd3b0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5637b5cbd3b0)', 'port', 'ARRAY(0x5637b62c7e10)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5637b5cbd3b0)', 'CODE(0x5637b5cbd260)', 'HASH(0x5637b5d1bf50)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5637b5cbd278)', 'CODE(0x5637b5cbd260)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5637b5ae35f8)', 'Plack::Handler::Starman=HASH(0x5637b5cbd278)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5637b59ebf10)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_212300: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5637c199bb90)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5637c1984070)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5637c1984070)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5637b70c0710)', 'HASH(0x5637c18beb78)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5637b70c0710)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c18beb78)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5637c19ebb58)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c18beb78)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5637c18eee90)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5637c18bf088)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5637c1a8c838)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5637c1a58c30)', 'Try::Tiny::Catch=REF(0x5637c19ff228)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5637c1ad9f30)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5637c1aaf530)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5637bfce9528)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c18beb78)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5637c19f8348)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c18beb78)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5637c1928758)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c18beb78)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5637c1aaef30)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5637c19f3548)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5637c1858a70)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5637b6330740)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5637b6330788)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5637c141f118)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c18beb78)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5637c141f5c8)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5637b5cbd3b0)', 'HASH(0x5637c18beb78)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5637b5cbd3b0)', 'Net::Server::Proto::UNIX=GLOB(0x5637c18eeea8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5637b5cbd3b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5637b5cbd3b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5637b5cbd3b0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5637b5cbd3b0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5637b5cbd3b0)', 'port', 'ARRAY(0x5637b62c7e10)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5637b5cbd3b0)', 'CODE(0x5637b5cbd260)', 'HASH(0x5637b5d1bf50)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5637b5cbd278)', 'CODE(0x5637b5cbd260)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5637b5ae35f8)', 'Plack::Handler::Starman=HASH(0x5637b5cbd278)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5637b59ebf10)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_212299: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5637c18bb4f0)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dlibrary_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-library.pl^J#!/usr/bin/perl^J^J# Copyright 2020 Athens County Public Libraries^J#^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^J^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Context;^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Libraries;^J^Jmy $query = CGI->new();^J^Jmy $branchcode = $query->param(\'branchcode\');^J^J# if OPACShowLibraries is disabled, leave immediately^Jif ( !C4::Context->preference(\'OPACShowLibraries\') ) {^J print $query->redirect("/cgi-bin/koha/errors/404.pl");^J exit;^J}^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-library.tt",^J query => $query,^J type => "opac",^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $library;^Jmy $libraries = Koha::Libraries->search( { public => 1 }, { order_by => [\'branchname\'] } );^J$template->param( public_count => $libraries->count );^Jif ( $template->{VARS}->{singleBranchMode} || $libraries->count == 1 ) {^J $library = $libraries->next;^J} elsif ($branchcode) {^J $library = $libraries->search( { branchcode => $branchcode } )->next;^J}^J^Jif ($library) {^J $template->param( library => $library );^J} else {^J $template->param(^J libraries => $libraries,^J branchcode => C4::Context->userenv ? C4::Context->userenv->{branch} : q{},^J );^J}^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5637c1981628)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5637c1981628)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5637b70e48f0)', 'HASH(0x5637c1a4e8c0)', '/kohadevbox/koha/opac/opac-library.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5637b70e48f0)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4e8c0)') called at /kohadevbox/koha/Koha/Middleware/ContentSecurityPolicy.pm line 44 Koha::Middleware::ContentSecurityPolicy::call('Koha::Middleware::ContentSecurityPolicy=HASH(0x5637c1824868)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4e8c0)') called at /kohadevbox/koha/Koha/Middleware/CSRF.pm line 113 Koha::Middleware::CSRF::call('Koha::Middleware::CSRF=HASH(0x5637c1a46bf0)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5637c17fc408)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5637c1946fc8)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5637c185a0b8)', 'Try::Tiny::Catch=REF(0x5637c19187d8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5637c1a53fc8)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5637c18fac90)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5637c13f6498)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4e8c0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 65 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5637c182f6e0)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4e8c0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 113 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5637c1a43c88)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4e8c0)') called at /kohadevbox/koha/Koha/Middleware/UserEnv.pm line 27 Koha::Middleware::UserEnv::call('Koha::Middleware::UserEnv=HASH(0x5637c1a24d38)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5637c1a26b50)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5637c17fc7b0)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5637b6330728)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5637b6330770)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5637c141fe90)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5637c141a2c0)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5637b5cbd3b0)', 'HASH(0x5637c1a4e8c0)') called at /usr/share/perl5/Starman/Server.pm line 299 Starman::Server::process_request('Starman::Server=HASH(0x5637b5cbd3b0)', 'Net::Server::Proto::UNIX=GLOB(0x5637c187cf68)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5637b5cbd3b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 226 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 226 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5637b5cbd3b0)') called at /usr/share/perl5/Net/Server/PreFork.pm line 184 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5637b5cbd3b0)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5637b5cbd3b0)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5637b5cbd3b0)', 'port', 'ARRAY(0x5637b62c7e10)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'boundwith-koha', 'group', 'boundwith-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'background', 1, 'setsid', 1, 'pid_file', '/var/run/koha/boundwith/plack.pid', 'log_file', '/var/log/koha/boundwith/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5637b5cbd3b0)', 'CODE(0x5637b5cbd260)', 'HASH(0x5637b5d1bf50)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5637b5cbd278)', 'CODE(0x5637b5cbd260)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5637b5ae35f8)', 'Plack::Handler::Starman=HASH(0x5637b5cbd278)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5637b59ebf10)') called at /bin/starman line 38 Could not mkdir /tmp/cgi_compile_212300: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5637c19c7510)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param(^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^J^J#NOTE: We\'re not setting/updating the cookie here^J$cookie = \'\';^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {