Сайт находится в разработке и тестировании. Возможны недоработки и ошибки

Природа

← Показать все фотографии

Сортировка и категории
Photo-Samara
Internal Server Error

UnexpectedValueException

vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:195

Writing to the log file failed: Write of 433 bytes failed with errno=122 Disk quota exceeded The exception occurred while attempting to log: Не удалось закрыть соединение с БД: mysql Context: {"error":"Writing to the log file failed: Write of 182 bytes failed with errno=122 Disk quota exceeded\nThe exception occurred while attempting to log: \u0421\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441 \u0411\u0414 \u0437\u0430\u043a\u0440\u044b\u0442\u043e: mysql\nContext: {\"connection\":\"mysql\",\"url\":\"https:\\\/\\\/www.photo-samara.ru\\\/photo\\\/category\\\/priroda?page=12\"}"}

LARAVEL 12.53.0
PHP 8.4.27
UNHANDLED
CODE 0
500
GET
https://www.photo-samara.ru/photo/category/priroda?page=12

Exception trace

9 vendor frames
Monolog\Handler\StreamHandler->write(object(Monolog\LogRecord))
vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:195
Monolog\Handler\StreamHandler->write(object(Monolog\LogRecord))
vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:113
Monolog\Handler\RotatingFileHandler->write(object(Monolog\LogRecord))
vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:44
Monolog\Handler\AbstractProcessingHandler->handle(object(Monolog\LogRecord))
vendor/monolog/monolog/src/Monolog/Logger.php:391
Monolog\Logger->addRecord(object(Monolog\Level), string, array)
vendor/monolog/monolog/src/Monolog/Logger.php:594
Monolog\Logger->debug(string, array)
vendor/laravel/framework/src/Illuminate/Log/Logger.php:187
Illuminate\Log\Logger->writeLog(string, string, array)
vendor/laravel/framework/src/Illuminate/Log/Logger.php:144
Illuminate\Log\Logger->debug(string, array)
vendor/laravel/framework/src/Illuminate/Log/LogManager.php:756
Illuminate\Log\LogManager->debug(string, array)
vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:363
Illuminate\Support\Facades\Facade::__callStatic(string, array)
app/Http/Middleware/CloseDatabaseConnections.php:60
55                    ]);56                }57            } catch (\Throwable $e) {58                // Игнорируем ошибки при закрытии59                if (config('app.debug')) {60                    Log::debug("Не удалось закрыть соединение с БД: {$name}", [61                        'error' => $e->getMessage(),62                    ]);63                }64            }65        }66    }67}68
3 vendor frames
App\Http\Middleware\CloseDatabaseConnections->terminate(object(Illuminate\Http\Request), object(Illuminate\Http\Response))
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:260
Illuminate\Foundation\Http\Kernel->terminateMiddleware(object(Illuminate\Http\Request), object(Illuminate\Http\Response))
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:215
Illuminate\Foundation\Http\Kernel->terminate(object(Illuminate\Http\Request), object(Illuminate\Http\Response))
vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1222
Illuminate\Foundation\Application->handleRequest(object(Illuminate\Http\Request))
public/index.php:20
1516// Bootstrap Laravel and handle the request...17/** @var Application $app */18$app = require_once __DIR__.'/../bootstrap/app.php';1920$app->handleRequest(Request::capture());21

Queries

mysql
select * from `sessions` where `id` = 'U2cl8BzIdfvUJBIF8cEsrpr0yGuYyjZCtMSE56Ui' limit 1
1.27ms
mysql
select * from `categories` where `slug` = 'priroda' limit 1
0.4ms
mysql
select category_id,
            COUNT(*) as total_count,
            SUM(CASE WHEN created_at >= '2026-10-30 21:00:00' THEN 1 ELSE 0 END) as new_count from `photos` group by `category_id`
11.05ms
mysql
select * from `categories` order by `sort_order` asc
0.34ms
mysql
select count(*) as aggregate from `photos` where `category_id` = 7 and `moderation_status` = 'approved' and `is_deleted` = 0 and exists (select * from `users` where `photos`.`user_id` = `users`.`id` and `is_banned` = 0 and (`is_hidden` = 0 or `is_hidden` is null))
2ms
mysql
select `photos`.*, (select count(*) from `comments` where `photos`.`id` = `comments`.`photo_id` and `moderation_status` != 'rejected' and `moderation_status` != 'pending') as `comments_count`, (select count(*) from `users` inner join `favorites` on `users`.`id` = `favorites`.`user_id` where `photos`.`id` = `favorites`.`photo_id`) as `favorites_count` from `photos` where `category_id` = 7 and `moderation_status` = 'approved' and `is_deleted` = 0 and exists (select * from `users` where `photos`.`user_id` = `users`.`id` and `is_banned` = 0 and (`is_hidden` = 0 or `is_hidden` is null)) order by `created_at` desc limit 24 offset 264
7.77ms
mysql
select * from `users` where `users`.`id` in (62, 65, 77, 83, 91, 98, 122, 126, 135)
1.05ms
mysql
select * from `categories` where `categories`.`id` in (7)
0.31ms
mysql
select * from `daily_contests` where `is_winner` = 1 and `daily_contests`.`photo_id` in (856, 910, 1011, 1061, 1102, 1111, 1138, 1141, 1164, 1184, 1187, 1192, 1219, 1239, 1243, 1251, 1262, 1273, 1290, 1296, 1314, 1343, 1405, 1424)
0.43ms
mysql
select * from `daily_contests` where `daily_contests`.`photo_id` in (856, 910, 1011, 1061, 1102, 1111, 1138, 1141, 1164, 1184, 1187, 1192, 1219, 1239, 1243, 1251, 1262, 1273, 1290, 1296, 1314, 1343, 1405, 1424)
0.42ms
mysql
select * from `photos` where exists (select * from `users` where `photos`.`user_id` = `users`.`id` and `is_banned` = 0) and `moderation_status` = 'approved' order by `created_at` desc limit 1
0.44ms
mysql
select * from `users` where `users`.`id` in (167)
0.3ms
mysql
select * from `categories` where `categories`.`id` in (1)
0.18ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.27ms
mysql
select * from `photos` where exists (select * from `users` where `photos`.`user_id` = `users`.`id` and `is_banned` = 0) and `moderation_status` = 'approved' order by RAND() limit 1
55.17ms
mysql
select * from `users` where `users`.`id` in (78)
0.43ms
mysql
select * from `categories` where `categories`.`id` in (9)
0.19ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.29ms
mysql
select count(*) as aggregate from `photos` where `moderation_status` = 'approved' and exists (select * from `users` where `photos`.`user_id` = `users`.`id` and `is_banned` = 0)
15.63ms
mysql
select count(*) as aggregate from `users`
0.27ms
mysql
select count(*) as aggregate from `users` where `created_at` between '2026-10-30 21:00:00' and '2026-10-31 21:00:00'
0.45ms
mysql
select count(*) as aggregate from `photos` where `moderation_status` = 'approved' and `created_at` between '2026-10-30 21:00:00' and '2026-10-31 21:00:00' and exists (select * from `users` where `photos`.`user_id` = `users`.`id` and `is_banned` = 0)
0.65ms
mysql
select count(*) as aggregate from `comments` where `created_at` between '2026-10-30 21:00:00' and '2026-10-31 21:00:00' and `is_deleted` = 0 and `moderation_status` = 'approved'
0.77ms
mysql
select `tags`.*, (select count(*) from `photos` inner join `photo_tag` on `photos`.`id` = `photo_tag`.`photo_id` where `tags`.`id` = `photo_tag`.`tag_id`) as `photos_count` from `tags` having `photos_count` > 0 order by `name` asc
30.54ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.39ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.31ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.39ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.31ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.41ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.32ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.42ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.4ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.39ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.41ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.3ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.3ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.29ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.28ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.27ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.29ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.29ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.28ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.28ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.28ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.29ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.28ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.28ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.29ms
mysql
select * from `settings` where `key` = 'blur_enabled' limit 1
0.3ms
mysql
select * from `settings` where `key` = 'development_banner_enabled' limit 1
0.24ms
mysql
select * from `settings` where `key` = 'development_banner_text' limit 1
0.24ms
mysql
select * from `sessions` where `id` = 'U2cl8BzIdfvUJBIF8cEsrpr0yGuYyjZCtMSE56Ui' limit 1
0.25ms
mysql
insert into `sessions` (`payload`, `last_activity`, `user_id`, `ip_address`, `user_agent`, `id`) values ('YTo0OntzOjY6Il90b2tlbiI7czo0MDoiRVNmYllhS2trWVI1c2IzTHM2UDdkZ01mbHZDdXZXTnJUbjkxSWtnRiI7czoxMzoibGFzdF9hY3Rpdml0eSI7TzoyNToiSWxsdW1pbmF0ZVxTdXBwb3J0XENhcmJvbiI6Mzp7czo0OiJkYXRlIjtzOjI2OiIyMDI2LTEwLTMxIDA1OjUxOjA2LjIxOTE1NSI7czoxMzoidGltZXpvbmVfdHlwZSI7aTozO3M6ODoidGltZXpvbmUiO3M6MTM6IkV1cm9wZS9TYW1hcmEiO31zOjk6Il9wcmV2aW91cyI7YToyOntzOjM6InVybCI7czo1ODoiaHR0cHM6Ly93d3cucGhvdG8tc2FtYXJhLnJ1L3Bob3RvL2NhdGVnb3J5L3ByaXJvZGE/cGFnZT0xMiI7czo1OiJyb3V0ZSI7czoxNDoicGhvdG8uY2F0ZWdvcnkiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', 1793411466, NULL, '216.73.216.135', 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'U2cl8BzIdfvUJBIF8cEsrpr0yGuYyjZCtMSE56Ui')
0.32ms

Headers

host
www.photo-samara.ru
x-server-addr
87.236.16.109
x-forwarded-proto
https
x-real-ip
216.73.216.135
accept
*/*
user-agent
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
accept-encoding
gzip, br, zstd, deflate

Body

{
    "page": "12"
}

Routing

controller
App\Http\Controllers\PhotoController@category
route name
photo.category
middleware
web

Routing parameters

{
    "slug": "priroda"
}