Giter Site home page Giter Site logo

Comments (3)

sammy-kariuki avatar sammy-kariuki commented on August 12, 2024 1

I have been able to seed even without configuring the email system first.
Thank you very much for the quick response.

from laravel-enterprise-starter-kit.

sroutier avatar sroutier commented on August 12, 2024

Hey @sammyhash,

Thanks for logging the issue. Found a couple of problems actually.
Please refresh your copy of the project and try again, let me know if you have any other problems.

FYI: The error that you are seeing is probably because your mail system is not properly configured, this combined with a couple coding mistakes and you are left with an error that make no sense.
I made a newbie mistake and had the password change code in the model fire off an notification email instead of putting that code in the controller. That is why when the seed command is invoked it tries to send an email notification.
Because of your issue, I changed a few things around

  1. Move the email notification code in the controller, that will prevent the seed command from crashing if the mail system is not configured.
  2. Added a new configuration setting to enable/disable email notifications. With a default to false, it allows the administrator to build and use the system before having the entire mail system configured.

Thanks again.
/S

from laravel-enterprise-starter-kit.

sroutier avatar sroutier commented on August 12, 2024

You are Welcome.
Enjoy.

from laravel-enterprise-starter-kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.