hpbyte / edms

An Electronic Document Management System for Universities using Laravel
51 stars 39 forks source link

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 6 years ago

TARIEPEACE commented 6 years ago

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 commented 6 years ago

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

TARIEPEACE commented 6 years ago

not yet please advice if you get any way out of this problem

On Sun, Aug 19, 2018 at 3:35 AM judyanntaniegra notifications@github.com wrote:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hpbyte/edms/issues/1#issuecomment-414096840, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae4uNBwheCii2hF1mZkH4f4KTriN8CyMks5uSMDtgaJpZM4V3wdG .

emailsample24 commented 6 years ago

same error cant fix it

AkshayBaldia commented 5 years ago

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 commented 5 years ago

Hello there,

I just signed the petition "Chinhoyi University of Technology: Chinhoyi University of Technology 2019 Graduation Fees must fall!" and wanted to see if you could help by adding your name.

Our goal is to reach 500 signatures and we need more support. You can read more and sign the petition here:

http://chng.it/fRSNhYb2hv

Thanks! Tariro

jamalextends25 commented 4 years ago

in AppServiceProvider comment the fuction boot