Questions tagged as 'laravel'

1
answer

Key file permissions are not correct, should be 600 or 660 instead of 644

The error returned is as follows: Key file permissions are not correct, should be 600 or 660 instead of 644 Can someone help me solve this error? I know I have to switch to 600 or 644, but I do not know how to     
asked by 11.02.2018 / 16:11
1
answer

Parser error in Laravel 5.5

In my view , welcome.blade.php I'm getting a parser error in the following HTML snippet: <div class="single_service_left"> <img src="{{ asset('images/flaticon4.png') }}" alt="" /> </div> Until then it seem...
asked by 29.12.2017 / 21:12
1
answer

Laravel - JQuery preventDefault event not allowed to insert the records in the database?

I used the following code JQuery to avoid reloading the page when inserting a record in the database. actually stopped reloading, but it is not allowing you to save the records to the bank. $( "#btnAtividades" ).click(function( event )...
asked by 02.01.2019 / 21:29
1
answer

help with get laravel

I need to get a parameter passed in the url. Ex: lugar.php?city=São Paulo . I need to get to São Paulo. I tried but it is not working, with the code below: $data['items'] = $results['query'] ->where('city',Reques...
asked by 03.04.2018 / 21:01
1
answer

Validation laravel compare 2 fields not to repeat in the database?

I need an if to verify 2 values of the register and 2 of the bank, if both are equal should not occur the registration. <div class="container-fluid"> <form action="adiciona" method="post" > <div class="form-group has...
asked by 30.10.2017 / 14:00
1
answer

JavaScript - Error loading new popover

I have a page that contains mosaic of images with a button and when I click I open a popover. Until then okay, because this mosaic is generated by blade.php , of laravel 5. But I change the mosaic from the filters on the page itself and the pop...
asked by 24.10.2017 / 01:45
2
answers

Popular select with result plus a null element

I have a method that invokes the view as follows: return view('auth.register',[ 'teachers' => $this->user->mentors()->lists('name','id'), ]); And in the view, select using {{ Form::select() }} occurs perfectly....
asked by 23.05.2016 / 20:49
1
answer

Encrypt passwords

I need to generate a default password for users of my login table. The password must be the same for all users for first access to the system. The registration already exists, but I have to modify the passwords. The problem happens when I upda...
asked by 02.06.2016 / 18:15
2
answers

Laravel does not return variable passed by with

Hello, how are you? Why Laravel is not picking up the object in the view. Searching the session I can get the data. /* ProdutoController */ public function deleta($id){ $prod = Produto::find($id); $prod->delete(); return redire...
asked by 11.07.2016 / 03:26
1
answer

Select multiple checkboxes with foreach, coming from the bank in laravel?

I'm populating a checkbox with the bank information, I'm trying to get it to read all checked checkboxes. Controller public function store(RequestProduto $request) { $data = new Produtos; $data->nome_visivel = $request->no...
asked by 25.11.2016 / 14:22