Posts by MarceloSnts • 33 points
7 posts
-
0
votes1
answer95
viewsQ: Authorize AJAX in Laravel’s Register.blade.php form
I am using Laravel methods to register users, but I would like to use Javascript and Ajax events in the form to add specific information according to the information selected in the city combobox. I…
-
1
votes2
answers681
viewsQ: Error: Trying to get a Property of non-object
I am running the following iteration and getting the error Trying to get Property of non-object, being the code: @if(isset($propostas)) @foreach($propostas as $p) <tr>…
-
0
votes1
answer629
viewsA: Auth::guest() always returns true | Laravel 5.4
I managed to solve otherwise, I stopped using the middleware and added to my constructor controllers being: public function __construct(){ $this->middleware('auth'); } In each controller. Thank…
-
1
votes1
answer629
viewsQ: Auth::guest() always returns true | Laravel 5.4
I’m using the features offered by Standard for authentication, but even logged in the Auth::guest() command returns true, as if you were a guest. Follow the code of mine middleware <?php…
-
0
votes1
answer862
viewsA: How to run php Artisan migrate on the web server
I contacted my hosting and enabled ssh, after which it was only necessary to execute the commands of php Artisan that everything worked perfectly. I thank everyone who collaborated and @Anderson…
-
1
votes2
answers2424
viewsQ: Trying to get Property of non-object?
This is my View: <tbody> @if(isset($pessoas)) @foreach($pessoas as $p) <tr> <td>{{$p->nome}}</td> <td>{{$p->idade}}</td>…
-
0
votes1
answer862
viewsQ: How to run php Artisan migrate on the web server
I passed the project of Laravel 5.4 for hosting, but now I do not know a way to use the php Artisan migrate to create my tables in the database. I created a file in the public folder named after…