Closed FionaLH4E closed 1 year ago
config file is incorrectly linked?
Try not using single quote symbols, maybe they were parsed as part of the key - see debug log output
The issue with the missing config file has been resolved by changing the following code:
if (isset($options['config'])) { $this->readConfig(realpath($options['config'])); } elseif (file_exists(ROOT . "/config.cfg")) { $this->readConfig(ROOT . "/config.cfg"); }
to
if (isset($options['config'])) { $this->readConfig(realpath($options['config'])); } elseif (file_exists(ROOT . "/src/config.cfg")) { $this->readConfig(ROOT . "/src/config.cfg"); }
This change ensures that the default config file (config.cfg) is located in the /src folder, which is where it is expected to be found.
You're not supposed to run it from the src/app.php
file, you're supposed to use phar from the releases or build it yourself with build.php
.
Got it. Thanks!
I am encountering an issue when running the program and obtaining the following log:
I have confirmed that my configuration is set up correctly:
I was wondering if you could assist me in understanding why I am receiving this "Authentication required" error.