Questions tagged as 'laravel'

1
answer

Fill a textarea with different texts assigned to different buttons

What I am trying to achieve is quite simple to explain. I have a form, in which I have a common textarea, but I want that above this textarea there are diverse buttons that when pressing them load predefined data to the textarea, and in the same...
asked by 18.10.2018 / 04:20
2
answers

Laravel API - Access files from my server using a url

Very good people, Today I have the following doubt; I have a server that as soon as I log in as a regular user, I redirect it to a specific route ("/front/resources/Timmy/hello.txt"). I would like this to be able to see certain files on my se...
asked by 24.07.2018 / 10:53
1
answer

Url friendly on requests get laravel

How can I make the urls that result from get requests and receive friendly parameters, that is, I have this request: Route::get('buscarParticipante','CarreraController@buscarParticipante')->name('buscar.participante'); And I send the...
asked by 16.07.2018 / 02:03
1
answer

Reset password laravel 5.5

I created my own model and modified the provider to use my model called Admin in config & auth.php 'providers' => [ 'users' => [ 'driver' => 'eloquent', 'model' => App\Admin::class, ], and...
asked by 05.03.2018 / 13:19
1
answer

MethodNotAllowedHttpException path without CSRF

I put a route in laravel which is called by a function in JS and I do not have control of it because it is external, this route is a post method since I need it to be that way but it generates a MethodNotAllowedHttpException as I do to exclude c...
asked by 01.03.2018 / 01:21
1
answer

Copy cascade in Laravel

Good afternoon, Let's say that I want to cascade a user with all its contents present in other tables. These tables linked to users. User   - Favorite pages   - Services In laravel, how could that user and his linked tables be copied. T...
asked by 14.12.2017 / 15:08
1
answer

Laravel error please help

Good afternoon. I am working on an application in laravel and I get the following error: ErrorException Trying to get property of non-object (View: C:\wamp64\www\app- shop\resources\views\home.blade.php) How can I solve it...
asked by 07.12.2017 / 20:33
1
answer

How to return a compound array

I'm trying to put in a variable all the data I need to make a table, I mean, I have a database with a table of equipment, a table area, and a classification table, I need an area marked with an X the months in which the equipment carries mainten...
asked by 27.03.2018 / 17:52
1
answer

Dynamic Select in Laravel 5.6, the second select is not loaded even though in the console I can see that the data is being brought

$(function(){ $("#user_select").on('change', function (e) { console.log(e); var user_id=e.target.value; $.get('http://localhost/helpdesk/public/userasset/'+ user_id,function (data) { console.log(data);...
asked by 18.09.2018 / 19:57
2
answers

Error laravel blank page in hosting

I have the files of my web page developed in laravel in my hosting, for some reason when I address the index.php that is inside the folder public_html, the page is not loaded, it is blank. I check and the network tab in browser developer tools a...
asked by 17.07.2017 / 05:35