I have a destroy method in my controller and I call it from a view to delete a record, but after confirming that I want to delete, the window remains blank and does not erase anything at all and does not redirect me to another view.
The drive...
Hello I request your support in order to implement security to a website in laravel, to make a log of all the accesses of a user, but I do not know how to capture the url to which a user accessed or the action he has executed. What do you recomm...
I have a question regarding the sessions that are due in Laravel, as they will know in the file session.php there is a variable called lifetime that there is configured the time in which you want a session to be alive.
The issue that I do not...
You see, in my project I have this code for the user bar:
<header style="width: 100%; position: fixed; z-index: 100;">
<nav class="navbar navbar-expand-md navbar-laravel" style="background-color: #0077FF;">
<div clas...
I have a problem with Dropzone.js to delete images after being encrypted and upload with Laravel 5 I have the following code:
$file = $request->file('image');
$extension = $file->getClientOriginalExtension() ?: 'png';...
I have this error in laravel since when I make the request I send the user's data and it generates the token but I try to add this and it tells me token not provided
$user = JWTAuth::toUser();
This is the code of my controller
<?php...
I have a problem when I want to show data in a CRUD for users. The user table has the id of the teaching table as a foreign key.
This is the User model:
class User extends Authenticatable{
use Notifiable;
/**
* The attributes that are mass a...
I have a small problem with an exception, which is with a route, for example.
I have this route, which loads well.
link
but if I make a change like this.
link
I'm loading an error
Now, in the other modules and routes,...
Thank you to hire a hosting that does not let me access beyond the public_html. I must put the whole project there, using public_html as root. Then separate in a folder called laravel, the whole project and leave loose in public_html everything...
I'm making this query
$ventas = VentasProductos::select('id_factura','=' ,$id);
to a database table from a FacturaController Controller and when I check the number of elements, it returns me that there are elements but at the time of showin...