SERVER ERROR UPDATING SETTINGS

Laraship QuestionsCategory: ConfigurationSERVER ERROR UPDATING SETTINGS
info6 asked 5 years ago
I seem to be getting an error every time I try to update or change any contents on the settings page. How can i solve this error so that i can update my system
Question Tags:
1 Answers
laraship Staff answered 5 years ago

Hello,

We are not able to reproduce the issue on our side, please send us the log file under storage/logs

info6 replied 5 years ago

HERE IS THE ERROR I AM GETTING ON THE LOG FILE,

[2019-05-08 12:06:04] production.ERROR: SQLSTATE[HY000] [1045] Access denied for user ‘forge’@’localhost’ (using password: NO) (SQL: select * from `settings` where `code` = active_admin_theme limit 1) {“exception”:”[object] (Illuminate\\Database\\QueryException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ‘forge’@’localhost’ (using password: NO) (SQL: select * from `settings` where `code` = active_admin_theme limit 1) at /home/markcwp/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664, PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ‘forge’@’localhost’ (using password: NO) at /home/markcwp/public_html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70)
[stacktrace]

I have tried changing the variables under config/database.php

and now i am getting the error
[2019-05-08 12:46:58] local.ERROR: Key path “file:///home/markcwp/public_html/storage/oauth-public.key” does not exist or is not readable {“userId”:1,”email”:”superuser@corals.io”,”exception”:”[object] (LogicException(code: 0): Key path \”file:///home/markcwp/public_html/storage/oauth-public.key\” does not exist or is not readable at /home/markcwp/public_html/vendor/league/oauth2-server/src/CryptKey.php:48)
[stacktrace]

still i am unable to edit the settings options

info6 replied 5 years ago

i think i finally figured what the problem was.

i had not irun php artisan passport:install