I'm creating a development environment using Vagrant with the following dependencies:
PHP7;
PostgreSQL 9.3;
Nginx 1.9;
Git.
The problem is that when I access the url http://advodocs.local.com/ Chrome returns me:
The a...
I'm trying to pull the information out of this relationship as you can see below:
Template:
public function endereco(){
return $this->belongsTo('App\Models\End\Logradouro_Bairro');
}
public function local(){
return $this->has...
Person, I noticed that whenever I reload the page, while page is being loaded, it shows all the keys {{}} of the scopes of my project, is it normal? the page containing the scopes coming from a get json is in php ....
I have the form below, in which a button deletes the record of the current line.
<form class="form-inline" method="POST" action="/servidores/{{ $serve->id }}">
{{ method_field('DELETE') }}
<input type="hidden" name="_t...
I have a problem reading a Word file in laravel, the situation is as follows:
I have a form where a person adds a word file into an input type file field. I want to get the text of this word, separate it into a variable to later write to the...
I am trying to connect to the pgsql database by Laravel 5.1 but an error is appearing:
PDOException in Connector.php line 55:
SQLSTATE [HY000] [1045] Access denied for user 'root' @ 'localhost' (using password: YES)
-
in Connec...
The model only gives NOT FOUND in a controller that manages News.
ERROR: Fatal error: Class 'App \ Models \ Site \ NewsModel' not found in C: \ xampp \ htdocs \ ManagerContent \ App \ Controllers \ Site \ HomeController.php on line 13...
I ran the make: auth of laravel 5.3 but when I am creating new users I lose my session and the new user is logged in. Does anyone know how I can create a new user and stay signed in with my account?
I created a second connection in my config / database.php file and I will also create a third one, I wanted to know how I can switch between these connections according to the logged in user.
config / database.php
'connections' => [...
I'm in a dilemma in Laravel that I can not solve, and I've tried a lot of things and now I've stuck here: What I want is to give% of a column value of my table by echo .
Code no input :
public function retorna_curso()
{...