Current Behavior
In the server file manager, when a file is open in the editor (e.g. resources/agora/fxmanifest.lua), clicking the file name itself in the breadcrumb (Files » resources » agora » fxmanifest.lua) navigates to the file list view with the file path as the "directory".
A red toast appears briefly ("Impossible de charger les fichiers ! HTTP request returned status code 500: {"error":"An unexpected error was encountered while processing this request","request_id":"6ed903bf-…"}"), then disappears, and the list shows "No files" (empty table). It happens with every file, not a specific one.
Panel log for that request:
Illuminate\Http\Client\RequestException(code: 500): HTTP request returned status code 500:
{"error":"An unexpected error was encountered while processing this request","request_id":"6ed903bf-bcfb-4062-a3e0-a4dc9…"}
#7 /var/www/html/app/Repositories/Daemon/DaemonFileRepository.php(76): Illuminate\Http\Client\PendingRequest->get()
#8 /var/www/html/app/Models/File.php(207): App\Repositories\Daemon\DaemonFileRepository->getDirectory()
#9 /var/www/html/vendor/calebporzio/sushi/src/Sushi.php(151): App\Models\File->getRows()
So the panel asks Wings to list a directory whose path is actually a file, and Wings answers 500.
Expected Behavior
The last breadcrumb segment (the current file) should either not be a link, or keep the editor open / reload the file. Clicking it should never request a directory listing for a file path.
Steps to Reproduce
- Open any server → Files.
- Open any file in the editor (e.g.
resources/agora/fxmanifest.lua).
- In the breadcrumb at the top, click the last segment (the file name).
- A 500 toast flashes and the file list is empty ("No files").
Panel Version
1.0.0-beta38
Wings Version
v1.0.0-beta29
Games and/or Eggs Affected
FiveM (not egg-specific: the file manager itself)
Docker Image
Panel: ghcr.io/pelican/panel (1.0.0-beta38)
Is there an existing issue for this?

Current Behavior
In the server file manager, when a file is open in the editor (e.g.
resources/agora/fxmanifest.lua), clicking the file name itself in the breadcrumb (Files » resources » agora » fxmanifest.lua) navigates to the file list view with the file path as the "directory".A red toast appears briefly ("Impossible de charger les fichiers ! HTTP request returned status code 500: {"error":"An unexpected error was encountered while processing this request","request_id":"6ed903bf-…"}"), then disappears, and the list shows "No files" (empty table). It happens with every file, not a specific one.
Panel log for that request:
So the panel asks Wings to list a directory whose path is actually a file, and Wings answers 500.
Expected Behavior
The last breadcrumb segment (the current file) should either not be a link, or keep the editor open / reload the file. Clicking it should never request a directory listing for a file path.
Steps to Reproduce
resources/agora/fxmanifest.lua).Panel Version
1.0.0-beta38
Wings Version
v1.0.0-beta29
Games and/or Eggs Affected
FiveM (not egg-specific: the file manager itself)
Docker Image
Panel: ghcr.io/pelican/panel (1.0.0-beta38)
Is there an existing issue for this?