4jean / lav_sms

Laravel School Management System (LAVSMS)
MIT License
769 stars 475 forks source link

help #43

Closed PavanKumar-18 closed 2 years ago

PavanKumar-18 commented 2 years ago

i did alll but still showing php artisan queue:restart after running php artisan key:generate Illuminate\Encryption\MissingAppKeyException No application encryption key has been specified.

yungifez commented 2 years ago

Check your .env file

See if app key is set

PavanKumar-18 commented 2 years ago

APP_NAME=Laravel APP_ENV=local APP_KEY=base64:v1DRIao6AXykpdiKfyMffR2D/Vg7BkxR6qL4/iTLp9U=base64:e3ZZyop6NpO4tKoNywKhRLbhj4HatYRWlr3NwvUVlHo=base64:ZQuNd4sGC1U/2e/z1kS+tGM/Zx9k6+3o4+9tfBghML4=base64:rarkDdlzQTXDYYpbkr2b2d5KjNI6Rb/T2H4OK00WTuE=base64:1j8e/4n1TLPvJclbgLtKMsHCTKvAU8GaLYe5m5x7+nU= APP_DEBUG=true APP_URL=http://localhost

LOG_CHANNEL=stack

DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=SMS DB_USERNAME=root DB_PASSWORD=

BROADCAST_DRIVER=log CACHE_DRIVER=file QUEUE_CONNECTION=sync SESSION_DRIVER=file SESSION_LIFETIME=120

REDIS_HOST=127.0.0.1 REDIS_PASSWORD=null REDIS_PORT=6379

MAIL_DRIVER=smtp MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null

PUSHER_APP_ID= PUSHER_APP_KEY= PUSHER_APP_SECRET= PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

yungifez commented 2 years ago

Can you post what you tried running and the errors you got

PavanKumar-18 commented 2 years ago

D:\xampp\htdocs\lav_sms-master\ Illuminate\Encryption\MissingAppKeyException No application encryption key has been specified. http://127.0.0.1:8000/

PavanKumar-18 commented 2 years ago

Illuminate\Encryption\EncryptionServiceProvider::Illuminate\Encryption{closure} D:\xampp\htdocs\lav_sms-master\vendor\laravel\framework\src\Illuminate\Encryption\EncryptionServiceProvider.php:101

yungifez commented 2 years ago

Please run this query

Php artisan config:clear

PavanKumar-18 commented 2 years ago

I did it earlier its doing same

yungifez commented 2 years ago

Try doing it again

Because your configuration is most likely cached

PavanKumar-18 commented 2 years ago

yes your right this time i did delete and create again (.env) file .I followed your method now login page opened. thanks

yungifez commented 2 years ago

You are truly welcome

yungifez commented 2 years ago

@4jean this issue can be closed

PavanKumar-18 commented 2 years ago

GET http://localhost/global_assets/images/user.png 404 (Not Found) in register page iam getting same where i go to solove

yungifez commented 2 years ago

Post a SCREENSHOT please

And did your .env file change

yungifez commented 2 years ago

Try running php artisan storage:link

PavanKumar-18 commented 2 years ago

image

yungifez commented 2 years ago

Your url seems to not match your .env

I notice you are running this in a local environment most probably xampp

Use the built in laravel server

Close down xampp and run

Php artisan serve

Then copy the given url and test the app like that

PavanKumar-18 commented 2 years ago

image

PavanKumar-18 commented 2 years ago

both doing same error

yungifez commented 2 years ago

Go to your .env and change

APP_URL to

http://localhost:8000

PavanKumar-18 commented 2 years ago

GET http://127.0.0.1:8000/js/app.js net::ERR_ABORTED 404 (Not Found)

PavanKumar-18 commented 2 years ago

APP_NAME=Laravel APP_ENV=local APP_KEY=base64:wjUzQlENU5Bb04kN3ZqhVndcaBZswK3xXj+BHPXmVEk= APP_DEBUG=true APP_URL=http://localhost:8000

LOG_CHANNEL=stack

DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=SMS DB_USERNAME=root DB_PASSWORD=

BROADCAST_DRIVER=log CACHE_DRIVER=file QUEUE_CONNECTION=sync SESSION_DRIVER=file SESSION_LIFETIME=120

REDIS_HOST=127.0.0.1 REDIS_PASSWORD=null REDIS_PORT=6379

MAIL_DRIVER=smtp MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null

PUSHER_APP_ID= PUSHER_APP_KEY= PUSHER_APP_SECRET= PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

PavanKumar-18 commented 2 years ago

still facing same problem

yungifez commented 2 years ago

Hmmmm send a screenshot