Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config is not working on new installation #151

Closed
qunabu opened this issue Aug 17, 2022 · 0 comments
Closed

config is not working on new installation #151

qunabu opened this issue Aug 17, 2022 · 0 comments
Assignees

Comments

@qunabu
Copy link
Contributor

qunabu commented Aug 17, 2022

Reproduce steps

  1. install demo or use the link https://h5p-laravel-demo.stage.etd24.pl/config
  2. try to change any config

error appears

{message: "Config file 'services' does not exist or doesn't have key 'facebook.client_id'",…}
exception: "Exception"
file: "/var/www/html/vendor/escolalms/settings/src/ConfigRewriter/ConfigRewriter.php"
line: 57 

cURL

curl 'https://h5p-laravel-demo.stage.etd24.pl/api/admin/config' \
  -H 'authority: h5p-laravel-demo.stage.etd24.pl' \
  -H 'accept: application/json' \
  -H 'accept-language: pl-PL,pl;q=0.9,en-US;q=0.8,en;q=0.7' \
  -H 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxIiwianRpIjoiN2NkNGZjZTI1YmFjYTc0NDhkNGIwM2EyZWYxMGNkZTU1Njg4OTU1MGNjZDhhN2M4ZmJjNmNlNWY2MjJjNWE5YzVlZTJhYTdmZjY0NjI4MTUiLCJpYXQiOjE2NjA3NjA2NjguMDA4NDMxLCJuYmYiOjE2NjA3NjA2NjguMDA4NDQsImV4cCI6MTY2MzQzOTA2OC4wMDE1Miwic3ViIjoiMiIsInNjb3BlcyI6W119.Kk-3ZCkz7glaxsKB2dOVv4swncwVQXxqyVvawsjxs9PlZDvwcviRFdPkfMOwZxtbjnXBxYH6ZF2AasMQBfeGw0Fq4mpRgdG15P3uuO5fuOgQUdic96OKZNZXi_SXkLmqPHHvPwjX8RRU9gK2mdupLp5lou5wEj9r9E2yNfs0HOZzW66zRSaIs0QvKK8Gvx7m_P_a9hWZ_2jZq6cmLCUnCBIsUlj43DXoGOiVw6W9GQDYsalzOcFUywsuwnW1nPZA6ikohHVLrAb0728iaPz84Hj4dFa4Dcb--uhrOMwFNVFggvFlFnwjp8ZtBnErloj4wqFQK6fWjrBjmHOkAyavDha2pNKj63Mq-msNGi4TPzT2nvYF5U21LkVYCeJU2d618OKSnjrCsTMZ_d4WwxCY1Al3cWQIoobQMnGT2vL8tPcAJISt7dUKmKhWm95_ynwZP4Gh0yatxjG6Abz1uC6l4JNtBq2e6rXpnD1dkMNP-Y_ZlrY5k-7pzfEeQxx-fUDQVNIqa87XuInWkvUJDp28oeQRh98EvR0IwnQZyZ_8PCXK4yT4Ws1ApuicoGUTxvPz9j877rBMTxvJlm561_0RA6KT9ju9sKW6lzeQVzrLSzfLHg6eKtJ7BC-d61FnYugj_8MRWd8OZyjtLt6BjG2lAzOdcbjgbvEJ535urukqxl4' \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'cookie: rl_page_init_referrer=RudderEncrypt%3AU2FsdGVkX19rAVFJz4BuCvcgJZviUwngV2KlFHLuKBE%3D; rl_page_init_referring_domain=RudderEncrypt%3AU2FsdGVkX19RMkOXPIyZ8%2BfZ%2Ffnx0SbPl3qBH7NuFXE%3D; rl_anonymous_id=RudderEncrypt%3AU2FsdGVkX1%2BVX7GlnWjqsVDWs82sD65xQMwzfRurK5XMOOU8NmwR%2B%2FPxbM2cMi%2BwmAi9xgy2qEPyn676FtsplQ%3D%3D; rl_user_id=RudderEncrypt%3AU2FsdGVkX19CG%2Blktd4tuG41Rjd4%2FQIS9XP%2FfAHS2cxhv%2BKm1FS8SUKcQkA0cPKS; rl_trait=RudderEncrypt%3AU2FsdGVkX19rcWOwxplQgYC8onHmqg5ulUiQo7%2BHzQY%3D; _gcl_au=1.1.983641089.1658933327; _ga=GA1.1.1063570509.1658933327; _clck=1tokk77|1|f3p|0; SL_C_23361dd035530_DOMAIN=true; SL_C_23361dd035530_DOMAIN=true; _ga_4HBW0EKX4F=GS1.1.1659517037.3.1.1659517045.0; _ga_455800TF6E=GS1.1.1659517038.3.0.1659517045.0; XSRF-TOKEN=eyJpdiI6InFYRGlQeFFpejNnSGc0QjJSOXRMb3c9PSIsInZhbHVlIjoiTVg1ZXBYQ2IxRW55U0tOTDRBVWx6SDFyNjZvUGtscFQyY3NJbmJRRlhlbDJaMm9ZR3I2b2NTS04zTkZkZ0x2ZXhIczI1L0R6Y29vMFBBelFVWkp2dE1OOWRDWVlBdmV5eEJsYWlOT2tHUldwd21hZkxtcXB3QWpBM0ZEUHJxQm4iLCJtYWMiOiJlMWJhNGM3NmE5NjVkMjkzNmY1NjI5NzdlNDcwNWFlYjQzMWUxZDA3YmQ2ODFmMzViYzc3YjMwZTY1MGEzNjllIiwidGFnIjoiIn0%3D; laravel_session=eyJpdiI6Ing3ZC9PLzZEMHJwaVFjNHpwd3orWXc9PSIsInZhbHVlIjoicEpybGFmak1Yc3pwQnhQZXk0ZEV1TnlUUDVPenFpTnpNbzlEVGQwcXhXSnNEUEFVa2thdDlqbmNtQTBWQWRxbE5lbXJzOXhOVHdneUpnYWFZUlRZanVpYVlvNTduTldlVEoxRFI2U1FvYW1vUGRFUFBNYlZYdDZxZm4xd0RHanQiLCJtYWMiOiJmMTUxZDliM2I0MDFmNDMxOTU3YWRlM2IyM2YzMzM0YWNjOTNjNWNhNTQwNThjMjBhNTBhMDk0NTA3MmU5YTg1IiwidGFnIjoiIn0%3D' \
  -H 'origin: https://h5p-laravel-demo.stage.etd24.pl' \
  -H 'pragma: no-cache' \
  -H 'referer: https://h5p-laravel-demo.stage.etd24.pl/config' \
  -H 'sec-ch-ua: ".Not/A)Brand";v="99", "Google Chrome";v="103", "Chromium";v="103"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "macOS"' \
  -H 'sec-fetch-dest: empty' \
  -H 'sec-fetch-mode: cors' \
  -H 'sec-fetch-site: same-origin' \
  -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36' \
  --data-raw '{"config":[{"key":"hh5p.h5p_show_display_option","value":false}]}' \
  --compressed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants