-
-
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
Issue log-in into the app #664
Comments
I created 3 SuperUsers for the three guys on our IT department but we are getting this error when loggin in with users we created. |
getting this 👍 Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_ERROR)
Server/Request Data SERVER_SOFTWARE Apache/2.4.7 (Ubuntu) SERVER_NAME assets.carecloud.com SERVER_ADDR 192.168.123.20 SERVER_PORT 80 REMOTE_ADDR 192.168.123.57 DOCUMENT_ROOT /var/www/html/public REQUEST_SCHEME http CONTEXT_PREFIX CONTEXT_DOCUMENT_ROOT /var/www/html/public SERVER_ADMIN [no address given] SCRIPT_FILENAME /var/www/html/public/index.php REMOTE_PORT 24702 GATEWAY_INTERFACE CGI/1.1 SERVER_PROTOCOL HTTP/1.1 REQUEST_METHOD GET QUERY_STRING REQUEST_URI / SCRIPT_NAME /index.php PHP_SELF /index.php REQUEST_TIME_FLOAT 1426531014.098 REQUEST_TIME 1426531014 GET Data empty POST Data empty Files empty Cookies __qca P0-246190778-1422969438889 km_ai dt+t2Z4CQybex74JTqIlz+b9S64= __cdrop .D6RR3V. _mkto_trk id:403-KYL-804&token:_mch-carecloud.com-1422969438757-89046 km_lv x km_uq _ga GA1.2.1037859684.1422966587 __CT_Data gpv=14&apv_16363_www03=14 WRUID 0 laravel_session eyJpdiI6IkQ2SXVBYVB4ckVhT3lpdTcxYytyUVNIWEk4NDcxTEJHMGNTTjFxeE4rcjA9IiwidmFsdWUiOiJlVzEyZG9RaWFcL2YxSVRiaXdoem14XC81TVNxRlJyV004YUZHVW1UQzVKM1lIT1BnNmVcL2lrTTVXcVRMeHAzb0FzSkxXU2crZ05PWDZkODlLUFZnbzZoQT09IiwibWFjIjoiNjkxZGU0NmM4YmIyMmQ0ZGU0ZWM0NjVhMWUzMTQzZTNhY2NmMDgyMzkxOGE0ZjQzYWE2YmVhNWExMzhhYjgwMSJ9 Session empty Environment Variables empty Registered Handlers 0. Whoops\Handler\PrettyPageHandler |
from /app/storage/logs root@cc-bl-snipe:/var/www/html/app/storage/logs# vim log-apache2handler-2015-03-16.txt |
Which version of PHP is this on? |
root@cc-bl-snipe: On Mon, Mar 16, 2015 at 5:35 PM, Dave notifications@github.com wrote:
Thank you, CARECLOUD |
I just noticed if I press back im able to get in and takes me to the edition of my profile. I have been trying creating new profiles but same result. It was no happening before start happening since created this profiles. |
@rnovo1983 are you able to attempt it with PHP 5.4.x? I am running it on a CentOS 6.6 VM:
|
Snipe-IT should run fine on any version of PHP higher than the required one. I test here with 5.4.34, 5.5.18, and 5.6.2. Can you tell me anything about your data? We typically see that error when an entry (or user) has been deleted. Are there any deleted users in your data? |
[image: Inline image 1] On Mon, Mar 16, 2015 at 11:03 PM, snipe notifications@github.com wrote:
Thank you, CARECLOUD |
@rnovo1983 image did not come through. |
have 3 users on user table |
In the database table? Are any of them deleted? |
No, all of them are active users |
Please try deleting the contents (NOT the directories, just the contents) of |
You're logging in as yourself when you see this? It looks like the second user is not actually a superadmin. Looks like a -1 there instead of a 1 in that column |
Is this only happening on the homepage? (Which would really be the dashboard). If you browse to other pages manually, do you still see errors? |
Same issue here. Happens only at dashboard page. |
@jotafurtado Can I see the data for your |
I found the problem. At my asset_log I had some records without user. I ran this query and got some null users.
Then I deleted the relationships and voilà! |
Do you have any idea how those bad records got there in the first place? |
Someone in my team had deleted an user directly on database. I instruct them not to do that again. So in my case was not a code issue. |
That makes sense (and was sort of what I suspected). Thanks for confirming. |
Installed on ubuntu, was working fine but now im trying login and I got this Exception. Using an Admin Account previously created.
The text was updated successfully, but these errors were encountered: