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

Fatal error: Uncaught exception #6

Closed
ps7is opened this issue Jul 26, 2016 · 1 comment
Closed

Fatal error: Uncaught exception #6

ps7is opened this issue Jul 26, 2016 · 1 comment

Comments

@ps7is
Copy link

ps7is commented Jul 26, 2016

I am having some issues

Fatal error: Uncaught exception 'Dotenv\Exception\InvalidPathException' with message 'Unable to read the environment file at C:\xampp\htdocs\poke\src\Kernels/../...env.' in C:\xampp\htdocs\poke\vendor\vlucas\phpdotenv\src\Loader.php:75 Stack trace: #0 C:\xampp\htdocs\poke\vendor\vlucas\phpdotenv\src\Loader.php(52): Dotenv\Loader->ensureFileIsReadable() #1 C:\xampp\htdocs\poke\vendor\vlucas\phpdotenv\src\Dotenv.php(90): Dotenv\Loader->load() #2 C:\xampp\htdocs\poke\vendor\vlucas\phpdotenv\src\Dotenv.php(48): Dotenv\Dotenv->loadData() #3 C:\xampp\htdocs\poke\src\Kernels\Kernel.php(105): Dotenv\Dotenv->load() #4 C:\xampp\htdocs\poke\src\Kernels\Kernel.php(84): NicklasW\PkmGoApi\Kernels\Kernel->loadEnvironmentVariables() #5 C:\xampp\htdocs\poke\src\Kernels\ApplicationKernel.php(60): NicklasW\PkmGoApi\Kernels\Kernel->initialize() #6 C:\xampp\htdocs\poke\src\Kernels\Kernel.php(40): NicklasW\PkmGoApi\Kernels\ApplicationKernel->initialize() #7 C:\xampp\htdocs\poke\src\Kernels\ApplicationKernel.php(46): NicklasW\PkmGoApi\Kernels\ in C:\xampp\htdocs\poke\vendor\vlucas\phpdotenv\src\Loader.php on line 75

Please Help me !

@NicklasWallgren
Copy link
Owner

Have you created the environment file?

  1. Rename the ".env.example" to ".env"
  2. Set the LOG_FILE_PATH (the full path to the file)

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

2 participants