Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

PS C:\xampp\htdocs\documentsystem> composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Nothing to install or update Generating optimized autoload files > Illuminate\Foundation\ComposerScripts::postInstall > php artisan optimize [Illuminate\Database\QueryException] SQLSTATE[HY000] [1049] Unknown database 'dms' (SQL: select * from users where status = 0) [PDOException] SQLSTATE[HY000] [1049] Unknown database 'dms' Script php artisan optimize handling the post-install-cmd event returned with error code 1 PS C:\xampp\htdocs\documentsystem> #1

Open
TARIEPEACE opened this issue Aug 10, 2018 · 6 comments

Comments

@TARIEPEACE
Copy link

Hpbyte Please can you kindly assist on this error i am trying to set up the project however even if i use homestead it starts to request for user table , what might be the problem

@judyanntaniegra
Copy link

hello how I am getting the same error have you figured out how to fix it?

@TARIEPEACE
Copy link
Author

TARIEPEACE commented Aug 20, 2018 via email

@emailsample24
Copy link

same error cant fix it

@AkshayBaldia
Copy link

Comment these lines from /app/Providers/AppServiceProvider.php

// requests number
$numReq = count(User::where('status',false)->get());
View::share('requests',$numReq);
// trash noti
$trash = count(Document::where('isExpire',2)->get());
View::share('trashfull',$trash);

@TARIEPEACE
Copy link
Author

TARIEPEACE commented Sep 3, 2019 via email

@jamalextends25
Copy link

in AppServiceProvider comment the fuction boot

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants