-
-
Notifications
You must be signed in to change notification settings - Fork 218
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
Simplify configuration file structure #253
Simplify configuration file structure #253
Conversation
This removes most of the legacy upstream config madness by not using weird config files spread all over the place. This isn't the solution to other config reading fragility issues, but it does move the whole config back to the central airtime.conf file.
I was testing this out and ran into a CORS issue. It no longer showed the localhost:8080?config page but instead gave a white screen and the following was in the /var/log/zendphp.log 2017-08-05T22:27:52+00:00 INFO (6): localhost You must explicitly start the session with Zend_Session::start() when session options are set to strict. |
CORS should already be ok on master, this change was branched before we merged the recent CORS rework. If it's affecting you on localhost it looks like CORS rules are getting stricter in browsers 😕 I think the CORS Forbidden is a red herring here since you actually shouldn't get to the ErrorController in the first place. I don't really understand where the db error at the top of the trace is coming from, it seems to be responsible for what I'm assuming to be a sad tape.
It looks like #122 is acting up for some reason. Could you double check if clearing the local storage or using a private browser window changes anything? I'll give this another try to see if I can get it to break locally as well. |
OK, so I tried again and didn't have an issue. Perhaps I just needed to reload my web browser and so the error isn't related to this change at all. |
This removes most of the legacy upstream config madness by not using
weird config files spread all over the place.
This isn't the solution to other config reading fragility issues, but
it does move the whole config back to the central airtime.conf file.