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

Generate app key not working #3509

Closed
1 task
Koen-ilvo opened this issue Apr 21, 2017 · 2 comments
Closed
1 task

Generate app key not working #3509

Koen-ilvo opened this issue Apr 21, 2017 · 2 comments

Comments

@Koen-ilvo
Copy link

Expected Behavior (or desired behavior if a feature request)

according to https://snipe-it.readme.io/docs/generate-your-app-key the following command should generate a key and set the APP_KEY value in the .env file:
php artisan key:generate

Actual Behavior

Nothing happens. The command produces no output and .env is not altered. This is the content of PHP71x64_errors.log
I refer to issue 3377. Accoring to the answer I tried several changes.
The php_mysql.dll warning is gone after adapting php.ini. However, I keep running into the no file found error:
'C:\inetpub\wwwroot\snipe-it\bootstrap/../vendor/autoload.php'
in all variations of forward and back slashes, depending on changing the value of require DIR."/../vendor/autolaod.php in line 17 of autoload.php. Shouldn't there be a 'vendor' directory in the snipe-it root in order for this to work?


Please confirm you have done the following before posting your bug report:


Please provide answers to these questions before posting your bug report:

  • Version of Snipe-IT you're running
    3.6.4
  • What OS and web server you're running Snipe-IT on
    Windows Server 2012 R2 - IIS
  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc)
    Manual installation
  • WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error
  • What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error
  • If a stacktrace is provided in the error, include that too.
  • Any errors that appear in your browser's error console.
  • Confirm whether the error is reproduceable on the demo.
  • Include any additional information you can find in app/storage/logs and your webserver's logs.
  • Include what you've done so far in the installation, and if you got any error messages along the way.
  • Indicate whether or not you've manually edited any data directly in the database
@Koen-ilvo
Copy link
Author

I (finally) figured out how to get the key. Thanks for all the help.

@eldashjay
Copy link

eldashjay commented May 22, 2024

I (finally) figured out how to get the key. Thanks for all the help.

So you ask for help. Then don't provide help for anyone else once you figured it out. Nice.

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