Unable to login to admin after fresh install
Just installed Koken on a fresh install of Ubuntu 16.04 LTS. Install completes successfully but I can't get past the admin login unless I check the "keep me signed in" box. Once I login with that checked, I just get a blank, black screen with some unclickable links at the top.
Google developer console shows these errors:
GET http://koken.alderaan.pw/api.php?/plugins/cache:false 401 (Unauthorized)
Uncaught TypeError: Cannot read property 'length' of undefined
at Object.finished (koken-core.js:3045)
at Object.r.request.length.e.request.length.n.success (koken-core.js:891)
at j (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at x (jquery.min.js:4)
at XMLHttpRequest.<anonymous> (jquery.min.js:4)
POST http://koken.alderaan.pw/api.php?/settings 401 (Unauthorized)
GET https://store.koken.me/installs//updates 500 (Internal Server Error)
XMLHttpRequest cannot load https://store.koken.me/installs//updates. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://koken.alderaan.pw' is therefore not allowed access. The response had HTTP status code 500.
Upon a refresh of the page it redirects back to login.
I read through other similar issue pages to no avail.
From the above it seams as there is more then one thing going on here.
The first thing to ensure is that you have turned of MySQL strict mode, since Koken is not compatible with that yet.
(Ubuntu 16.04 ships with MySQL 5.7 where strict mode is default)
To disable strict mode you can follow the instructions here:
The second issue seams to be related to your CORS settings and that is the error 500 you get
Koken Community Support - http://kokensupport.com/
This question has received the maximum number of answers.