![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 191 Pomógł: 7 Dołączył: 3.04.2013 Ostrzeżenie: (0%) ![]() ![]() |
Stworzyłem nowy projekt na symfony 4 i chciałem skorzystać z adnotacji dla routingu.
Podążając za dokumentacją, niestety po instalacji tychże i próbie uruchomienia jakiegoś routingu z tych adnotacji pojawia się błąd: Exception thrown when handling an exception (Symfony\Component\Config\Exception\FileLoaderLoadException: Warning: strtoupper() expects parameter 1 to be string, array given in D:\xampp\htdocs\projekt\config/routes\../../src/Controller/ (which is being imported from "D:\xampp\htdocs\projekt\config/routes/annotations.yaml"). Make sure annotations are installed and enabled.) Czy ktoś miał już taki problem? Ten post edytował Crash89 26.05.2018, 09:24:11 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 8 068 Pomógł: 1414 Dołączył: 26.10.2005 Ostrzeżenie: (0%) ![]() ![]() |
Z ciekawości zainstalowałem jeszcze raz twoim sposobem i działa. Odpalam serwer przez
Kod php -S 127.0.0.1:8000 -t public
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 13.10.2025 - 14:22 |