Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

LARAVEL - Error con la página de registros y los formularios de usuarios y roles.


Existe un error de programación al momento de registrar a alguien nuevo desde el Sign Up. Arroja el error: Sorry, looks like there are some errors detected, please try again. Realice una solicitud hace tres semanas atrás por una solución porque al revisar el foro de preguntas existen otros usuarios con el mismo problema. He realizado la creación de base de datos y la instalación correctamente, pero este problema no permite el funcionamiento de la plantilla para poderla adaptar a mis necesidades.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (7)


Hi Shamtrex,

I'm sorry for the inconvenience. The issue is when Laravel tries to log in and redirect to the dashboard, but the email is not yet verified after signup.

You can try to modify this JS file and then rebuild it.

https://gist.github.com/KeenthemesHub/ade4342bca4b8afe240e59da2c2e4ca9#file-general-js-L258-L272

/starterkit/app/Http/Controllers/Auth/RegisteredUserController.php
In the above file path, please remove these lines:


// Auth::login($user);
// return redirect(RouteServiceProvider::HOME);


After making this modification, rebuild the application, and you should be able to register new users without the mentioned issue. I hope this resolves your issue!



Buenas noches, no resolvió el problema. Sigue arrojando error. Hice todo lo solicitado. He reconstruido todo y el problema sigue. No sé qué más debo hacer porque siempre me piden modificar el código y el problema también lo tienen en el demo de laravel de Keenthemes. Se debe corregir de verdad esto para una próxima actualización porque varios usuarios tienen el mismo problema.

Le adjunto el enlace para que revise: https://p.shamtrex.com/

La solución ya debe venir desde el demo de Laravel como lo hacen themesbrand



Hi Shamtrex,

Thank you and we appreciate your feedback. We will make sure to include the necessary bug fixes in the upcoming updates.

Thank you



Gracias. Que así sea.



Buenos días, ¿Cuando estará corregido el registro de usuarios en Laravel? En estas nuevas actualizaciones aun no lo esta.



Hi Shamtrex,

After a user signs up, they need to verify their email before they can log in by clicking a link in the email. To set up email verification, you can configure Laravel to send emails using a service like Mailtrap (https://mailtrap.io) for testing. Here's how you can do it:

Add Mailtrap credentials to your .env file:

MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=your_mailtrap_username
MAIL_PASSWORD=your_mailtrap_password
MAIL_ENCRYPTION=tls


To test email verification locally, run "php artisan serve" in your terminal and then register a new user. And then run "php artisan queue:work". You should receive an email with a verification link.

If you encounter an error because the email is not verified yet, it's likely due to the email verification requirement. If you want to disable this requirement temporarily, you can remove the "implements MustVerifyEmail" code from your User model.

Thanks



Hola,

En primer lugar, queremos expresar nuestras más sinceras disculpas por los inconvenientes que experimentó con nuestro soporte.

Le agradeceríamos mucho si pudiera actualizar su reseña https://themeforest.net/ratings/3564404 ya que reseñas tan bajas pueden afectar negativamente nuestras ventas, lo que no es bueno para el futuro de Metronic.

Por nuestra parte, haremos todo lo posible para brindar respuestas más rápidas a sus solicitudes.

¡Muchas gracias por su tiempo y comprensión!


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(