Skip to content

"Whoops, looks like something went wrong." when finishing setup #552

@JohnChu101

Description

@JohnChu101

Expected Behavior

Expecting it to finish setup. And expecting it to provide more details since by copying .env.setup to .env, the app_debug flag should be still true, but it doesn't show log on the page

Current Behavior

It says "Whoops, looks like something went wrong."
The url can be shorten if i allow public user to shorten urls during setup.
And when i turn register mode on, i can register new user, but i cant login my admin account provided in the setup page. When i look into my database the user table was empty after setup.
I also referred to the manual setup guide and ran $ sudo php artisan migrate --force
The error message is:

  [Illuminate\Database\QueryException]
  SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error i
  n your SQL syntax; check the manual that corresponds to your MariaDB server
   version for the right syntax to use near 'CHARACTER SET utf8 DEFAULT 0 NOT
   NULL COLLATE `utf8_unicode_ci`' at line 1 (SQL: ALTER TABLE links CHANGE c
  licks clicks INT CHARACTER SET utf8 DEFAULT 0 NOT NULL COLLATE `utf8_unicod
  e_ci`)
  [PDOException]
  SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error i
  n your SQL syntax; check the manual that corresponds to your MariaDB server
   version for the right syntax to use near 'CHARACTER SET utf8 DEFAULT 0 NOT
   NULL COLLATE `utf8_unicode_ci`' at line 1

Possible Solution

Steps to Reproduce (for bugs)

  1. I followed the guide here: https://github.com/cydrobolt/polr/blob/master/docs/user-guide/installation.md
  2. I created database using following command:
CREATE DATABASE polr;
GRANT ALL ON polr.* to 'polr'@'localhost' IDENTIFIED BY 'uf6Fi3SaL5Mt';
FLUSH PRIVILEGES;
EXIT;

Context

Your Environment

  • Version or latest commit hash (git rev-parse HEAD):commit f9622d7
  • Environment name and version (e.g. Chrome 39, PHP 7.0, etc):Oracle Linux 7 + nginx + php7.3
  • Instance link (optional):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions