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

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

Closed
jakemcgraw opened this issue Jan 8, 2014 · 4 comments
Closed

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

jakemcgraw opened this issue Jan 8, 2014 · 4 comments
Assignees

Comments

@jakemcgraw
Copy link

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.

@snipe
Copy link
Owner

snipe commented Jan 8, 2014

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]?

@ghost ghost assigned snipe Jan 8, 2014
@baughj
Copy link

baughj commented Jan 8, 2014

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.

@snipe
Copy link
Owner

snipe commented Jan 8, 2014

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

@snipe
Copy link
Owner

snipe commented Jun 9, 2014

This was fixed with 4b4eefb

@snipe snipe closed this as completed Jun 9, 2014
@rkayutkin rkayutkin mentioned this issue Jun 14, 2019
2 tasks
rajeshcanaris pushed a commit to canaris-in/caniset that referenced this issue Jul 1, 2023
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

3 participants