Giter Site home page Giter Site logo

laravel-store's People

Contributors

dependabot[bot] avatar yakoffka avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

phatbk

laravel-store's Issues

Memory size errore where call 'php artisan route:list' in CLI

vagrant@homestead:/projects/laravel_store$ php artisan route:list
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /home/vagrant/projects/laravel_store/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 615
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in /home/vagrant/projects/laravel_store/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php on line 133
vagrant@homestead:
/projects/laravel_store$

notifications do not work

Notifications do not work when registering and confirming email

app/Http/Controllers/Auth/LoginController.php:
/** * Overriding the parent method to disable login without confirm email */ public function authenticated(Request $request, $user) { if ($user->status !== User::STATUS_ACTIVE) { $this->guard()->logout(); return back()->with('error', 'You need to confirm your account. Please check your email.'); } return redirect()->intended($this->redirectPath()); }
app/Http/Controllers/Auth/RegisterController.php
` /**
* Overriding the parent method to disable automatic login
*/
public function register()
{
$this->validator(request()->all())->validate();
event(new Registered($user = $this->create(request()->all())));

    return redirect()->route('login')
        ->with('success', 'Check your email and click on the link to verify.');
}

public function verify($token)
{
    if (!$user = User::where('verify_token', $token)->first()) {
        return redirect()->route('login')
            ->with('error', 'Sorry your link cannot be identified.');
    }

    $user->status = User::STATUS_ACTIVE;
    $user->verify_token = null;
    $user->email_verified_at = date('Y-m-d H:i:s');

    $user->save();

    return redirect()->route('login')
        ->with('success', 'Your e-mail is verified. You can now login.');
}

`

Search form does not work

When trying to perform a search, the site gives an error:
SQLSTATE[42000]: Syntax error or access violation: 1055

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.