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

Admin not working? #2

Open
jiserra opened this issue Oct 9, 2020 · 3 comments
Open

Admin not working? #2

jiserra opened this issue Oct 9, 2020 · 3 comments

Comments

@jiserra
Copy link

jiserra commented Oct 9, 2020

Hi! I manage to follow the installer and it told me everything went well, but when I go to my domain/admin, there's just a black blank page and nothing else. If I go to the domain, the site appears to be up, but with no photos of course.

Do you know anything I can try to make it work? Thanks!

@cat-a-flame
Copy link

image
I get this for admin :(

@octavian-nita
Copy link

Is the database up? The only time I got this was when, for some reason, my DB was down. I restarted it, and it worked miraculously.

@Accudio
Copy link

Accudio commented Dec 11, 2020

Sorry to bump, for those looking for a solution to this in future if you are using PHP 7.3 or 7.4 a few file edits are required.
You can view an article I have written about them here: https://dev.to/accudio/fixes-for-koken-problems-in-2020-32eo

I have removed line numbers as I have found that for some reason these differ depending on the original installation version and updates.

The changes:

In /app/database/DB_Driver.php, replace:

$args = (func_num_args() > 1) ? array_splice(func_get_args(), 1) : null;

with

$func_args = func_get_args();
$args = (func_num_args() > 1) ? array_splice($func_args, 1) : null;

In /i.php, replace:

require $root . '/app/koken/Shutter/Shutter.php';
require $root . '/app/koken/Utils/KokenAPI.php';

with

require_once $root . '/app/koken/Shutter/Shutter.php';
require_once $root . '/app/koken/Utils/KokenAPI.php';

In /app/koken/Shutter/Shutter.php replace:

include dirname(__DIR__) . '/Utils/KokenAPI.php';

with

include_once dirname(__DIR__) . '/Utils/KokenAPI.php';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants