orchidsoftware / platform

Orchid is a @laravel package that allows for rapid application development of back-office applications, admin/user panels, and dashboards.
https://orchid.software
MIT License
4.26k stars 631 forks source link

Issue with BS icons #2789

Closed marcin-sadowski closed 5 months ago

marcin-sadowski commented 5 months ago

Describe the bug When following the installation steps https://orchid.software/en/docs/installation/ everything went smoothly. I was able to access the admin panel login screen and I successfully logged in. Unfortunately, after the successfull login process, instead of a dashboard I got the php error.

file_exists(): File name is longer than the maximum allowed path length on this platform (1024) public_html/resources/views/<svg xmlns="http://www/w3/org/2000/svg" width="1em" height="1em" fill="currentColor" class="me-2 overflow-visible" viewBox="0 0 16 16" role="img" path="bs/shield" componentName="orchid-icon"> <path d="M5/338 1/59a61 61 0 0 0-2/837/856/48/48 0 0 0-/328/39c-/554 4/157/726 7/19 2/253 9/188a10/7 10/7 0 0 0 2/287 2/233c/346/244/652/42/893/533q/18/085/293/118a1 1 0 0 0 /101/025 1 1 0 0 0 /1-/025q/114-/034/294-/118c/24-/113/547-/29/893-/533a10/7 10/7 0 0 0 2/287-2/233c1/527-1/997 2/807-5/031 2/253-9/188a/48/48 0 0 0-/328-/39c-/651-/213-1/75-/56-2/837-/855C9/552 1/29 8/531 1/067 8 1/067c-/53 0-1/552/223-2/662/524zM5/072/56C6/157/265 7/31 0 8 0s1/843/265 2/928/56c1/11/3 2/229/655 2/887/87a1/54 1/54 0 0 1 1/044 1/262c/596 4/477-/787 7/795-2/465 9/99a11/8 11/8 0 0 1-2/517 2/453 7 7 0 0 1-1/048/625c-/28/132-/581/24-/829/24s-/548-/108-/829-/24a7 7 0 0 1-1/048-/625 11/8 11/8 0 0 1-2/517-2/453C1/928 10/487/545 7/169 1/141 2/692A1/54 1/54 0 0 1 2/185 1/43 63 63 0 0 1 5/072/56"></path> </svg>.blade.php

I found out that the problem is with the rendering function for menu and specifically the icon "bs.shield", when I change it to any other it works fine.

Menu::make(__('Roles')) ->icon('bs.shield') ->route('platform.systems.roles') ->permission('platform.systems.roles') ->divider(),

To Reproduce Steps to reproduce the behavior:

  1. https://orchid.software/en/docs/installation/
  2. Open admin panel page
  3. Log in

Expected behavior Orchid dashboard should appear.

Screenshots image

Server (please complete the following information):