Questions tagged as 'laravel'

1
answer

Someone could please tell me what is my mistake

hello knows I try to do a crud with laravel 5.6 and with table called t_areaFuncional but my model is AreaFuncional and my controller AreaFuncionaController, deactivate .. the convention that laravel has. with respect to migrations ... my tab...
asked by 31.08.2018 / 01:14
1
answer

how to do so that when I log in laravel I return the user's data and it is stored in a session or a localstorage

Hi, I am new to laravel, I use laravel 5.6 I am implementing a login with function __construct(){$this->middleware('auth.basic');} is a basic authentication, this builder inserted it in canda controller. what I need is that every time...
asked by 31.08.2018 / 23:47
1
answer

Call to undefined function money_format ()

I'm doing my project in php version 7.1.8 in laravel framework but I get this error when I use Call to undefined function App \ Http \ Controllers \ money_format () can someone help me?     
asked by 16.09.2018 / 02:13
1
answer

Query with Join that works in Phpmyadmin does not work in Laravel

I have problems passing a traditional query to laravel. It works on phpmyadmin, but when I pass it to Laravel, it returns 0 records. TALUMNOS TABLE provincia (int) dni (int) nombre (varchar) TESCUELAS TABLE: provincia (int) dni (in...
asked by 29.07.2018 / 01:00
1
answer

@if inside @foreach where is the error?

Where is the error? when the empty variable is full it works perfect but when it comes empty it does not show me the other part neither the image nor the link where the error can be ?? @foreach($products as $product) <div> @foreach($...
asked by 21.10.2018 / 19:07
2
answers

make consultation with three tables in Eloquent Laravel

I have three tables that are the following users , maps , bookmarks A user has several maps a map has several markers What I am trying to do is show the markers that belong to the maps of the user who has logged in. This is...
asked by 22.10.2018 / 16:47
2
answers

Routes of Laravel

Thank you in advance, I am working on a CMS and I want to separate the backend routes and the front routes but I have conflicts. The backend is currently in / admin and whatever follows, for example / admin / users / etc ... The proble...
asked by 25.10.2018 / 01:39
1
answer

Read reply json at Axios Laravel Vue

I have a method that captures the information sent by the vue view (Profile.vue) through a PUT generated by Axios, the problem lies in the following, when the data is updated (using the myProfile method of the UserController driver), axios it ca...
asked by 14.04.2018 / 20:46
2
answers

get all the values of a select when loading the page

I have the following code, it turns out that I want to capture all the Values of a Select hidden once the page is loaded in Html , capture them in Javascript and send them by means of a JSON to the controller of 'laravel....
asked by 28.03.2018 / 23:45
1
answer

redirect view with @if in laravel

I am trying to redirect to a view in laravel if the user fulfills a membership (membership = stage), but this only returns text to me instead of the view, my code is as follows: @if (Auth::check()) @if(Auth::user()->etapa == 1) @retur...
asked by 14.06.2018 / 04:02