Not able to login with default login credentials

I am trying to run this project via docker. After deployment, I am trying to login with default login credentials i.e. admin/12345678, sadly I am not able to log in.

  1. Branch used
https://github.com/BillRun/system.git [master]
  1. The command used to run the docker
 docker-compose -f docker-compose-php80.yml build
 docker-compose -f docker-compose-php80.yml up
  1. login details
URL: https://localhost:8080
username: admin
password: 12345678

Error

[19-Apr-2023 19:32:02] WARNING: [pool www] child 190 said into stderr: "NOTICE: PHP message: PHP Fatal error:  Declaration of ApiController::render(string $tpl, ?array $parameters = null) must be compatible with Yaf_Controller_Abstract::render(string $tpl, array $parameters = NULL): string|bool|null in /billrun/application/controllers/Api.php on line 174"
10.103.0.4 -  19/Apr/2023:19:32:02 +0000 "POST /index.php" 500
[19-Apr-2023 19:32:14] WARNING: [pool www] child 191 said into stderr: "NOTICE: PHP message: Xdebug: [Step Debug] Could not connect to debugging client. Tried: 10.103.0.1:9091 (through xdebug.client_host/xdebug.client_port)."

Error Log from bill run container

Note: If I try to build docker image from 7.3 or 7.4 docker compose files it gives me build failure exception stating PHP version 8 is required found 7.x

Hey @ketan,

Seems that you are using php 8.0 as the base the current main branch only support up to v7.4.
Changing the php version to 7.x should solve it.

What errors do you get during the docker build stage ?

hey @eranu I am attaching the error log while building docker image

❯ docker-compose -f docker-compose-php74.yml build

@eranu I was able to get it working by doing following

  1. In the Docker file under folder billrun-php74 I change
`pecl install xdebug` to `pecl install xdebug-3.1.5`
  1. Rebuild the Images
docker-compose -f docker-compose-php74.yml build
  1. The build was successful and the application was accessible at http://localhost:8074

  2. I was also able to log in with default credentials

username: admin
password: 12345678

resolved from my end thanks for your response @eranu

@eranu getting this error while saving subscribers.

[21-Apr-2023 07:15:24] WARNING: [pool www] child 68 said into stderr: "NOTICE: PHP message: Xdebug: [Step Debug] Could not connect to debugging client. Tried: 10.103.0.1:9090 (through xdebug.client_host/xdebug.client_port) :-("

[21-Apr-2023 07:15:24] WARNING: [pool www] child 68 said into stderr: "NOTICE: PHP message: PHP Warning: Declaration of BillapiController::render($tpl, ?array $parameters = NULL) should be compatible with Yaf_Controller_Abstract::render($tpl, $parameters = NULL) in /billrun/application/modules/Billapi/controllers/Billapi.php on line 224"

10.103.0.2 - 21/Apr/2023:07:15:24 +0000 "POST /index.php" 200

[21-Apr-2023 07:15:24] WARNING: [pool www] child 68 said into stderr: "NOTICE: PHP message: Xdebug: [Step Debug] Could not connect to debugging client. Tried: 10.103.0.1:9090 (through xdebug.client_host/xdebug.client_port) :-("