Closed PavanKumar-18 closed 2 years ago
Check your .env file
See if app key is set
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}"
Can you post what you tried running and the errors you got
D:\xampp\htdocs\lav_sms-master\ Illuminate\Encryption\MissingAppKeyException No application encryption key has been specified. http://127.0.0.1:8000/
Illuminate\Encryption\EncryptionServiceProvider::Illuminate\Encryption{closure} D:\xampp\htdocs\lav_sms-master\vendor\laravel\framework\src\Illuminate\Encryption\EncryptionServiceProvider.php:101
Please run this query
Php artisan config:clear
I did it earlier its doing same
Try doing it again
Because your configuration is most likely cached
yes your right this time i did delete and create again (.env) file .I followed your method now login page opened. thanks
You are truly welcome
@4jean this issue can be closed
GET http://localhost/global_assets/images/user.png 404 (Not Found) in register page iam getting same where i go to solove
Post a SCREENSHOT please
And did your .env file change
Try running php artisan storage:link
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
both doing same error
GET http://127.0.0.1:8000/js/app.js net::ERR_ABORTED 404 (Not Found)
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}"
still facing same problem
Hmmmm send a screenshot
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.