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

Debug mode override and add error/debug log path to README.md

Open jakemcgraw opened this issue 12 years ago • 4 comments

After a fresh install of Snipe-IT, I got the following message:

"Error in exception handler."

Which was probably generated by:

vendor/laravel/framework/src/Illuminate/Exception/Handler.php (ln 323)

In that block, if I'm understanding this correctly, if the site is in debug mode, I should get a full report, but it looks like using a non-local domain may override debug mode?

I've set "debug"=>true in config/local/app.php

So, there may be a bug with debug override, and I'd also like all of the log paths for this app documented in README.md.

jakemcgraw avatar Jan 08 '14 18:01 jakemcgraw

Hi Jake - the log paths are standard to Laravel, but I guess we could add that to the docs. app/storage/logs should be what you're looking for.

Did you add your dev/local url to bootstrap/start.php (starting line 31), and set the your local settings in app/config/[dev or local or whatever]?

snipe avatar Jan 08 '14 18:01 snipe

There are two missing directories - app/storage/logs and app/storage/views. These don't seem to be created by default (PHP user does have write permissions on app/storage). Once you create these, it starts up just fine.

baughj avatar Jan 08 '14 18:01 baughj

The app:install should be creating those directories for you. I'll look into it.

snipe avatar Jan 08 '14 18:01 snipe

This was fixed with 4b4eefb4ccc5994a0073c5de2f19e96a79898d3a

snipe avatar Jun 09 '14 05:06 snipe