Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PHP]TCG Voyager - Problem z wielopoziomowym menu
Generic
post 16.01.2019, 16:20:40
Post #1





Grupa: Zarejestrowani
Postów: 224
Pomógł: 0
Dołączył: 31.10.2012

Ostrzeżenie: (10%)
X----


Witam, czy jest tutaj ktoś kto korzystał z panelu administracyjnego TCG Voyager w Laravelu? Mam dość nietypowy problem, mianowicie gdy przesuwam elementy aby utworzyć wysuwane menu to po odświeżeniu strony zmiany nie zostają zachowane. Chcę wykonać wielopoziomowe menu jak na obrazku poniżej, jednak zmiany nie zapisują się. Co może być nie tak?



Ten post edytował Generic 16.01.2019, 16:21:28
Go to the top of the page
+Quote Post
markonix
post 16.01.2019, 16:23:14
Post #2





Grupa: Zarejestrowani
Postów: 2 707
Pomógł: 290
Dołączył: 16.12.2008
Skąd: Śląsk

Ostrzeżenie: (0%)
-----


Nie korzystałem ale... logi? konsola?


--------------------
Go to the top of the page
+Quote Post
Generic
post 16.01.2019, 16:49:08
Post #3





Grupa: Zarejestrowani
Postów: 224
Pomógł: 0
Dołączył: 31.10.2012

Ostrzeżenie: (10%)
X----


Logi wyglądają następująco.
  1. [2019-01-16 15:43:10] local.ERROR: Argument 1 passed to TCG\Voyager\Http\Controllers\VoyagerMenuController::orderMenu() must be of the type array, null given, called in /Library/WebServer/Documents/projekt/vendor/tcg/voyager/src/Http/Controllers/VoyagerMenuController.php on line 106 {"userId":1,"email":"admin@projekt.local","exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Argument 1 passed to TCG\\Voyager\\Http\\Controllers\\VoyagerMenuController::orderMenu() must be of the type array, null given, called in /Library/WebServer/Documents/projekt/vendor/tcg/voyager/src/Http/Controllers/VoyagerMenuController.php on line 106 at /Library/WebServer/Documents/projekt/vendor/tcg/voyager/src/Http/Controllers/VoyagerMenuController.php:109)
  2. [stacktrace]


Ten post edytował Generic 16.01.2019, 16:49:53
Go to the top of the page
+Quote Post
markonix
post 16.01.2019, 17:11:37
Post #4





Grupa: Zarejestrowani
Postów: 2 707
Pomógł: 290
Dołączył: 16.12.2008
Skąd: Śląsk

Ostrzeżenie: (0%)
-----


A konsola...


--------------------
Go to the top of the page
+Quote Post
Generic
post 16.01.2019, 20:05:03
Post #5





Grupa: Zarejestrowani
Postów: 224
Pomógł: 0
Dołączył: 31.10.2012

Ostrzeżenie: (10%)
X----


Cytat(markonix @ 16.01.2019, 17:11:37 ) *
A konsola...


  1. [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See <URL>
  2. app.js:24
  3.  
  4. POST <a href="http://projekt.local/voyager/menus/15/order" target="_blank">http://projekt.local/voyager/menus/15/order</a> 500 (Internal Server Error)

Go to the top of the page
+Quote Post
markonix
post 16.01.2019, 23:13:02
Post #6





Grupa: Zarejestrowani
Postów: 2 707
Pomógł: 290
Dołączył: 16.12.2008
Skąd: Śląsk

Ostrzeżenie: (0%)
-----


Bardziej chodzi o to co idzie do skryptu, a nie pod jaki url.


--------------------
Go to the top of the page
+Quote Post
Generic
post 17.01.2019, 09:23:46
Post #7





Grupa: Zarejestrowani
Postów: 224
Pomógł: 0
Dołączył: 31.10.2012

Ostrzeżenie: (10%)
X----


Okazało się jednak że przypadkowo został usunięty fragment kodu w pliku kernel.php. Przywrócenie z kopii zapasowej rozwiązało problem.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 28.03.2024 - 11:55