Questions tagged as 'laravel'

0
answers

Compare a column of an Array with 1 row in another table using Laravel 5.7

I hope I can explain in the best way I am developing a project in Laravel 5.7 and I have a problem which I describe below: I have the statusprestamos table id | idprestamo | totalprestamo | status 1 1 500 pendien...
asked by 20.10.2018 / 20:51
0
answers

Eloquent query does not bring me the record with the specific filter

I have tried to make a query that brings me all the articles that are in Active but I have not got any results. It always brings me all so the state is inactive and is what I do not want. These are the questions I have so far: First que...
asked by 28.09.2018 / 00:37
0
answers

eloquent query does not bring me records when I make a select

I have the following query in eloquent that shows me the records Usuario::with(['rutas'=> function($query){ $query ->select('rutas.*','puntosDeVenta.id_puntodeventa','puntosDeVenta.codigo') ->join('puntosDeVenta...
asked by 26.09.2018 / 17:11
0
answers

Error calling a stored procedure (MariaDB) with parameter in Laravel 5.6

I have not managed to execute a stored procedure with parameter. Specifically I get this error: "SQLSTATE [42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB...
asked by 04.10.2018 / 23:18
1
answer

Error Class App \ Repositories \ Messages does not exist

I am trying to create a repository for my queries but it tells me that the class does not exist. I show you the code snippets to see if anyone knows what the error is: MessagesControler.php <?php namespace App\Http\Controllers; use...
asked by 27.08.2018 / 08:04
1
answer

I want to make a CRUD relating these tables in Laravel

The database is called: spreadsheet Category php artisan make: migration create_table_table public function up() { Schema::create('categoria', function(Blueprint $table){ $table->increments('id_categoria');...
asked by 24.08.2018 / 16:38
2
answers

because of a tag a with path "path / {{$ var}} / edit" and an 'action': "path / {{$ var}} my final path is:" "path / {{$ var }} / "Path / {{$ var}}"?

I have a view in Laravel with the following code: <h1>Edicion</h1> @foreach ($usuarios as $usu) <h4>{{$usu->nombre}}</h4> <a href="prurequests/{{$usu->slug}}/edit">editar</a> @endforeach A contr...
asked by 12.08.2018 / 05:37
2
answers

SQLSTATE [HY000] [1045] ProxySQL Error: Access denied for user deploy laravel on 000webhost

I have the following error when deploying laravel in 000webhost Database.php <?php return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |---------...
asked by 14.08.2018 / 18:40
1
answer

Error in Laravel Mysql 5.6

Someone help me please to resolve this error:     
asked by 23.08.2018 / 05:43
1
answer

how to edit and delete in laravel?

hi friends I am a beginner in Laravel and I would like you to help with this code to be able to edit and delete, since the create and the list I have. controller <?php namespace App\Http\Controllers; use App\Repositories\ProductRepos...
asked by 03.08.2018 / 09:36