Questions tagged as 'laravel'

2
answers

Why is my view not presenting the css design?

<html> <head> <link href="/css/app.css" rel="stylesheet"> <title>Controle de estoque</title> </head> <body> <h1>Listagem de Produtos</h1> <table class="table"> <?php foreach...
asked by 06.08.2018 / 16:51
1
answer

My url does not get the id parameter in the show? id =. Because?

Question: My url does not get the id parameter in mostra?id=. Code: <table class="table table-striped table-bordered table-hover"> <?php foreach($produtos as $p): ?> <tr> <td><?= $p->nom...
asked by 09.08.2018 / 14:49
1
answer

I can not correctly pass the arguments to the function that updates data in the database (Laravel)

I'm using Laravel 5.6 and I ran into a problem when I try to edit database records:   Too few arguments to function   App \ Http \ Controllers \ PagesController :: update (), 0 passed and   exactly 2 expected Function public fu...
asked by 02.08.2018 / 15:10
1
answer

laravel- artistic key error when trying to generate

I pulled an example of a laravel project and when I give a php artisan generat:key it returns me the following error [Dotenv\Exception\InvalidFileException] Dotenv values containing spaces must be surrounded by quotes. .env: APP...
asked by 23.07.2018 / 18:57
1
answer

Error uninstalling Passport Laravel [closed]

I had installed Laravel Passport, but I decided to work with JWT (I removed it via composer) Now Laravel is not locating my functions in the controller What should I do? It looks like I have to change some configuration BadMethodCallException:...
asked by 09.07.2018 / 17:30
1
answer

can not add or update a child row a foreign key constraint fails laravel

I'm having this error in my laravel system: cannot add or update a child row a foreign key constraint fails laravel It informs you that the ID does not exist, only that it exists. Even when I try to perform the insertion manually this error...
asked by 09.07.2018 / 17:20
1
answer

Compare two tables in mysql by grouping the main table and listing the result of the second table

Hello! I will explain from the beginning .. I am comparing the following tables accounts with clientes  select uses user_id to find all clients with same users_id2 in table clientes as described below, right th...
asked by 16.08.2018 / 09:06
1
answer

Laravel activitylog, implementation error

I'm following the site documentation: link , but I'm not getting it implement the option below: Setting a subject You can specify on which object the activity is performed by using performedOn: activity() ->performedOn($someContent...
asked by 07.08.2018 / 20:23
1
answer

Laravel - View [.site.Home.index] not found

I opened my localhost today to continue giving start to my project and I will get this error in all the pages that I try to access, yesterday before closing the pages was working, can anyone help me? error View [.site.Home.index] not found....
asked by 05.07.2018 / 20:59
1
answer

Error logging in to Laravel

Personally I'm having a login error in Laravel: AuthenticationController.php public function logar(Request $request){ $dados = $request->all(); $cpf = $dados['cpf']; $senha = $dados['senha']; $usuario = Usuario::where('c...
asked by 07.09.2018 / 20:38