-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
While clicking on Asset icon getting error #7010
Comments
Hi there - If you're seeing the error "Whoops. Something went wrong" with no other output on the screen and a status code of 500, you'll need to enable debug mode. There are many reasons why you might trigger a 500 error (misconfigured To enable debug mode:
It is quite literally impossible for us to be able to assist you with a 500 "Whoops" error without additional information. The stack trace tells us where the error is occurring, and what might have triggered it. When debug is enabled, you'll see a long stack trace on your screen: In order to be able to see what's happening on your install (what specific errors you're triggering), we need the entire stack trace from that page, or as much of the app error log as is possible. Paste Only, Please!When opening/updating a Github issue and providing the stack trace, please copy+paste the errors into the Github issue. Do not attach them as files. If you're not familiar with GH Markdown, we'll reformat it for you to make it more readable. If for some reason you cannot enable debug but you have access to the app logs, the easiest way to provide us with ONLY the relevant information (which will make it easier for us to troubleshoot your issue), is to tail the log file and then trigger the error. Tailing a Log File in Linux/OSX:Type the following into a Linux command line prompt from your Snipe-IT project root:
Then trigger the error again, which would give you output like this: Or you can tail it and output the relevant information into a file:
Tailing the Log File on IIS:To tail a log file on IIS, you can use Powershell:
If you're not comfortable with Powershell, see the other options available to Windows users at this StackOverflow article. Then copy and paste the contents of that file into the Github issue. (Remember, don't attach it, paste it in.) Be sure to redact any personal or sensitive data before including it in Github. Information such as database passwords, email passwords, app keys, etc should NEVER be exposed on Github. Once your issue is resolved, do not forget to turn debugging OFF, or you could expose sensitive information about your system!(If you need to bookmark this information for easy access, it can be found in the Snipe-IT documentation here.) |
wwroot\snipe-it\vendor\laravel\framework\src\Illuminate\View\View.php(120): Illuminate\View\View->getCo Next ErrorException: compact(): Undefined variable: operator (View: C:\inetpub\wwwroot\snipe-it\resources\views\hardwar Next ErrorException: compact(): Undefined variable: operator (View: C:\inetpub\wwwroot\snipe-it\resources\views\hardwar Next ErrorException: compact(): Undefined variable: operator (View: C:\inetpub\wwwroot\snipe-it\resources\views\hardwar Next ErrorException: compact(): Undefined variable: operator (View: C:\inetpub\wwwroot\snipe-it\resources\views\hardwar Next ErrorException: compact(): Undefined variable: operator (View: C:\inetpub\wwwroot\snipe-it\resources\views\hardwar Next ErrorException: compact(): Undefined variable: operator (View: C:\inetpub\wwwroot\snipe-it\resources\views\hardwar Next ErrorException: compact(): Undefined variable: operator (View: C:\inetpub\wwwroot\snipe-it\resources\views\hardwar |
What version of PHP are you using? You didn't complete the issue template, so we don't have enough info. |
php-7.0.33-src
Thanks & Regards,
Akash Verma
From: snipe [mailto:notifications@github.com]
Sent: Wednesday, May 8, 2019 6:12 PM
To: snipe/snipe-it
Cc: Akash G Verma; Author
Subject: Re: [snipe/snipe-it] While clicking on Asset icon getting error (#7010)
What version of PHP are you using? You didn't complete the issue template, so we don't have enough info.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#7010 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AMASYGAKXFT3FTHMKN7OCD3PULDBPANCNFSM4HLREL6A>.
|
Based on the error in those logs, it looks like you're running the wrong version of PHP, per the requirements (PHP >= 5.6.4, PHP < 7.3). https://snipe-it.readme.io/docs/installation-issues#section-php-version-issues
|
php-7.3.4-nts-Win32-VC15-x64 this is using.
Thanks & Regards,
Akash Verma
StayinFront India Pvt Ltd
301 3rd floor IT Tower 1 Infocity | Gandhinagar | India 382009
M: +91 6359588088
www.stayinfront.com<http://www.stayinfront.com/>
From: snipe [mailto:notifications@github.com]
Sent: Wednesday, May 8, 2019 6:15 PM
To: snipe/snipe-it
Cc: Akash G Verma; Author
Subject: Re: [snipe/snipe-it] While clicking on Asset icon getting error (#7010)
Based on the error in those logs, it looks like you're running the wrong version of PHP, per the requirements<https://snipe-it.readme.io/docs/requirements> (PHP >= 5.6.4, PHP < 7.3).
https://snipe-it.readme.io/docs/installation-issues#section-php-version-issues
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#7010 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AMASYGBRLUFS5GIVXBS7UU3PULDORANCNFSM4HLREL6A>.
|
php-7.3.4-nts-Win32-VC15-x64 this version |
Well there's your problem. |
While clicking on Asset icon getting error
The text was updated successfully, but these errors were encountered: