snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

I got 500 Internal Error While Installing the Snipe-IT

Open 6sumitv96 opened this issue 11 years ago • 23 comments

I use wamp server for install the Snipe-it in www folder,In Snipe-IT folder i install composer but when i am trying run that code i get 500 internal server error.I dont know where i have to give database connection and how i run this open source Snipe-IT in wamp server.

6sumitv96 avatar Sep 22 '15 12:09 6sumitv96

image

6sumitv96 avatar Sep 22 '15 12:09 6sumitv96

In your /app/config/production/app.php there is a "debug" option. Set that to true to get a more detailed error message.

ddreier avatar Sep 22 '15 13:09 ddreier

Yes I try that also it's showing database is not connected,, where I have to mention database connection and how

6sumitv96 avatar Sep 22 '15 14:09 6sumitv96

Sorry, I missed that. The "Edit Database Settings" section covers how to set up the database connection: http://docs.snipeitapp.com/installation/configuration.html.

ddreier avatar Sep 22 '15 14:09 ddreier

have you create database user and table in mysql ?

imie avatar Sep 22 '15 23:09 imie

yes i have created database & connected also,please check the screen shot same error is shown on index.php.

image

6sumitv96 avatar Sep 23 '15 01:09 6sumitv96

As @ddreier mentioned, you have to set your debug option to true, as is detailed in the Getting Help documentation: http://docs.snipeitapp.com/getting-help.html

snipe avatar Sep 23 '15 01:09 snipe

Yes its showing connection failed.

6sumitv96 avatar Sep 23 '15 02:09 6sumitv96

Please provide the specific error message. Paraphrasing isn't particularly helpful when trying to remotely debug someone's system.

snipe avatar Sep 23 '15 02:09 snipe

hi please check image

6sumitv96 avatar Sep 23 '15 02:09 6sumitv96

Looks like your database user is wrong in your database.php

snipe avatar Sep 23 '15 02:09 snipe

ok, but i am trying to correct username its how another error in database factory.php and how i will resolve this

6sumitv96 avatar Sep 23 '15 03:09 6sumitv96

Another error, another screenshot. :)

ddreier avatar Sep 23 '15 03:09 ddreier

@6sumitv96 " its how another error in database factory.php" <-- I don't know what that means

snipe avatar Sep 23 '15 03:09 snipe

yup

6sumitv96 avatar Sep 23 '15 03:09 6sumitv96

ok i"ll try to make new database & then check once. thanks

6sumitv96 avatar Sep 23 '15 03:09 6sumitv96

image

6sumitv96 avatar Sep 23 '15 05:09 6sumitv96

i got an error of this.after creating new database with id, username & password.

6sumitv96 avatar Sep 23 '15 05:09 6sumitv96

Looks like you're missing a table, and if you're missing one table you're probably missing them all.

http://docs.snipeitapp.com/installation/command-line.html

I recommend you give the whole set of install documentation a read before continuing.

ddreier avatar Sep 23 '15 06:09 ddreier

can you please suggest that where i missed that table.

6sumitv96 avatar Sep 23 '15 06:09 6sumitv96