Questions tagged as 'laravel-5'

2
answers

How to send two data with Laravel lists?

I want to send 2 values to the view with lists of laravel admin.horarios.create The question is this, I have this code: public function create() { $docente = Docente::orderBy('nombre','ASC') ->...
asked by 02.12.2016 / 03:56
2
answers

problems installing the npm to use Vue.js in laravel 5.5

I try to install npm to use vue.js in my laravel project but I get this error when I execute the npm install command: npm ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! network request to https://registry.npmjs.org/lodash failed,...
asked by 17.04.2018 / 20:27
1
answer

Error executing laravel project cloned from git

I cloned a project of a repo git. When I try to open it ( link ) it tells me the following:    Fatal error: Uncaught Error: Class 'Illuminate \ Foundation \ Application' not found in C: \ xampp \ htdocs \ pikum.mapu \ bootstrap \ app.php: 14...
asked by 13.02.2018 / 13:01
1
answer

Error removing dependency from laravel

When I removed a dependency of composer.json and executed composer update , the packete caffeinated/shinobi was eliminated, which weighed to replace it with a similar one since it gave me a lot of problems. But now when I...
asked by 29.11.2018 / 00:02
1
answer

Redirect to login in Laravel 5.4 if the token fails

When I'm on the login page for a while without activity and I try to login, I get the error TokenMismatchException and I know it has to do with the token that is in the access form and that being so long without activity the token become...
asked by 04.05.2018 / 14:43
1
answer

How to update a db without losing data in the tables of these in Laravel?

Every time I need to add a field, another modification I have to execute the php artisan migrate: refresh command but in doing so I update the db but it deletes the data already inserted. Is there a way to avoid that?     
asked by 19.04.2017 / 17:02
1
answer

BadMethodCallException Method [show] does not exist. Laravel

I have been doing a CRUD in Laravel and you are giving me an error that can not be found since I do not have any function that is called Show . Userscontroller: public function destroy($id_usuario) { $user = Usua...
asked by 31.08.2017 / 11:09
1
answer

Column not found: 1054 Unknown column 'id' in 'where clause' Laravel 5.3

Greetings, I am updating a table called tbl_articles using the same view where the Primary key = idArticulo, the insert performs me impeccably the problem is when I want to update it generates the error I AM WORKING WITH LARAVEL 5.3 QueryExcep...
asked by 23.05.2017 / 03:56
1
answer

error 405 POST ajax laravel MethodNotAllowedHttpException

I have a form in which I try to add a category by means of ajax and whenever I try to create a category I get POST 405 error, and it never reaches Controller category and obviously does not enter anything in the database I use windows 7 and X...
asked by 21.11.2016 / 17:11
1
answer

Use {{asset ()}} in an echo

I have the following problem: I need to make a query of images saved on the server to show them in a view echo "<img src={{asset ('images/producto/{$producto->imagen}'}} title='{$producto->imagen}'/>";     
asked by 05.10.2016 / 17:28