Questions tagged as 'laravel-5'

1
answer

laravel Eloquent: Relationships error to print the data in the view

I'm making a query with elounque and I'm using the with () here is the code, the idea is that the field id_estado is a key forania and and that key attract more data, I make the query the problems is when I print it out error $Solicitude = Sol...
asked by 17.03.2018 / 17:30
2
answers

Delete and update do not work in apijson error MethodNotAllowedHttpException

I am developing an api json. I'm finding that I miss the following error: MethodNotAllowedHttpException I have executed the php artisan route:list and the routes are well defined. The problem I find that the update and the...
asked by 01.04.2018 / 14:27
1
answer

new routes in controller

Good morning I have added a new method to a resouce controller, but it does not look like the other preset methods. it stays that way panel/registros/tareas | | App\Http\Controllers\RegistrosController@tareas , I would like to...
asked by 19.10.2018 / 04:54
1
answer

Trying to get property of non-object laravel 5.2

   ErrorException in SitioController.php line 16: Trying to get property   of non-object I have a problem with the code. Any help please? These are the errors that you get when trying with the code that you have given m...
asked by 31.10.2018 / 18:35
1
answer

Upload a project to 000webhost

You see, I need clarifications to upload my laravel project to the web through 000webhost. I'm supposed to upload my project to public_html , but I've only found an option to upload individual files, not the entire folder. Should I c...
asked by 26.07.2018 / 17:57
1
answer

Why can not I access the laravel pages on an Apache server?

I just uploaded a laravel project to an apache server install the packages, install laravel and everything that has to do, then when I login to my site it shows me the login, but when I enter the data and to access, it enters but says    Not...
asked by 14.03.2018 / 17:27
1
answer

Factory and seeds in laravel

Greetings guys, I want to do the following: Relate users with profiles Relate posts to users Relate categories to posts I have created 4 tables Usuarios , Perfiles , Posts and Categorias And I want to fill...
asked by 15.03.2017 / 02:36
1
answer

Show errors in Laravel

Laravel 5.4 does not show the errors, only error 500 occurs when something fails. How do I make it so that instead of being shown 500 errors tell me where is the error? I have done everything and I do not succeed, I do not know what they will ha...
asked by 22.10.2017 / 00:02
1
answer

500 Internal Server Error with Socialite Google when calling user () [closed]

I break the connection on the line: $user = Socialite::driver('google')->user(); All the settings are correct because in my local XAMPP server works perfectly; but right now I am migrating it to my server and it returns error in that par...
asked by 30.11.2016 / 20:26
1
answer

Load data in specific columns

I have a collection that brings me data from the station table, equipment table related to that station and the parameters that each team can measure. This is obtained through the relationships in the models. Estacion Equipo Equipo_estacio...
asked by 26.04.2017 / 16:33