claudehohl / Stikked

An advanced and beautiful pastebin written in PHP
991 stars 219 forks source link

Database Error #505

Closed joelft closed 5 years ago

joelft commented 6 years ago

Version: 0.13.0

I brought up a new docker instance following the instructions on the README.

I get a bunch of database errors.

The only thing I changed was

ports: 8083:80

and I changed the base URL to reflect the port change

EDIT: Here are the errors I'm seeing:

A PHP Error was encountered
Severity: Warning

Message: mysqli::real_connect(): The server requested authentication method unknown to the client [caching_sha2_password]

Filename: mysqli/mysqli_driver.php

Line Number: 201

Backtrace:

File: /var/www/html/application/controllers/Main.php
Line: 41
Function: __construct

File: /var/www/html/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Warning

Message: mysqli::real_connect(): (HY000/2054): The server requested authentication method unknown to the client

Filename: mysqli/mysqli_driver.php

Line Number: 201

Backtrace:

File: /var/www/html/application/controllers/Main.php
Line: 41
Function: __construct

File: /var/www/html/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /var/www/html/application/controllers/Main.php
Line: 41
Function: __construct

File: /var/www/html/index.php
Line: 315
Function: require_once
Unable to connect to your database server using the provided settings.

Filename: controllers/Main.php

Line Number: 41
joelft commented 5 years ago

nevermind, i'm giving up on this

Happyfeet01 commented 5 years ago

Have the same error