Re: [Observium] Customer billing search
![](https://secure.gravatar.com/avatar/70d494c9e8246209845c085033f8ffe6.jpg?s=120&d=mm&r=g)
Hi Adam,
I found the issue after looking up the source code:
mysql> SELECT * FROM `entity_permissions` WHERE `entity_type` = 'bill' GROUP BY `user_id` ORDER BY `user_id` ;
+---------+---------+-------------+-----------+--------------+
| perm_id | user_id | entity_type | entity_id | access_level |
+---------+---------+-------------+-----------+--------------+
| 1 | 2 | bill | 0 | 0 |
……
Strange enough the first record pointed to user_id 2 and this user isn’t in de user table. After changing user_id 2 to 1 (admin account) everything is working again. I don’t know what caused this.
Thanks,
Jan Kuiper
Date: Thu, 12 May 2016 15:16:50 +0100
From: "Adam Armstrong" <adama@memetic.orgmailto:adama@memetic.org>
To: "" <observium@observium.orgmailto:observium@observium.org>
Subject: Re: [Observium] Customer billing search
Message-ID: <31e01c31-15c4-4750-aa3c-64677cb4ddff@getmailbird.commailto:31e01c31-15c4-4750-aa3c-64677cb4ddff@getmailbird.com>
Content-Type: text/plain; charset="utf-8"
I mean, your problem is that you have a blank user. You probably want to remove this from the user management area.
adam.
On 12/05/2016 15:08:01, Jan Kuiper <j.kuiper@piramide.nlmailto:j.kuiper@piramide.nl> wrote:
Hi Adam,
Thanks for the assist :-(.
I really can't find the place to delete the blank user in the traffic accounting search, nor can't find the place to alter this. It seems to me that this is an issue in the stable version (build 0.16.5.7833), because the 'All Types' filter is working correctly, but the User dropbox is empty and selects an non existing blank user (deselecting the blank user solves the problem).
Best regards,
Jan Kuiper
Date: Thu, 12 May 2016 14:44:46 +0100
From: "Adam Armstrong"
To: ""
Subject: Re: [Observium] FW: observium Digest, Vol 70, Issue 63
Message-ID:
Content-Type: text/plain; charset="utf-8"
I've no idea why you have a blank user, that's your problem!
adam.
On 12/05/2016 14:41:55, Jan Kuiper wrote:
Hi Adam,
I didn't select anything. Also I found out if I manually deselect the given blank user the search is working again. How can we save the query without the automatic selected blank user?
Best regards,
Jan Kuiper
Date: Thu, 12 May 2016 12:11:28 +0100
From: "Adam Armstrong"
To: ""
Subject: Re: [Observium] Customer billing search
Message-ID:
Content-Type: text/plain; charset="utf-8"
You have a blank named user selected?
adam.
On 12/05/2016 12:08:44, Jan Kuiper wrote:
Hi Adam,
Is there a way to debug it?
If I enter a word in the Billing Name nothing is found but I am sure that there are records matching the search string. Also the User dropdown box contains an empty record, could this be the problem because the ‘All Types’ first match is "All Types". See attached snippets.
Best regards,
Jan Kuiper
Date: Thu, 12 May 2016 11:29:06 +0100
From: "Adam Armstrong"
To: ""
Subject: Re: [Observium] Customer billing search
Message-ID:
Content-Type: text/plain; charset="utf-8"
This seems to work fine for me.
adam.
On 12/05/2016 09:33:45, Jan Kuiper wrote:
Hi,
I want to search for a bill, but the bill search function seems to be broken again, even when we clear the search settings no records are found. A refresh (F5) of the page show all records again.
Is it possible to fix this? We are running version 0.16.5.7833.
Best regards,
Jan Kuiper
From: Jan Kuiper
Sent: maandag 10 augustus 2015 17:11
To: observium@observium.orgmailto:observium@observium.org [mailto:observium@observium.org]
Subject: Customer billing
Hi,
I want to search for bills, but the bill search function does only give all bills instead of the requested Bill Name. Has anyone the same issue, if no what can I do wrong or fix it? I am running the stable version 6833.
Met vriendelijke groet / Kind Regards,
Jan Kuiper
[cid:image001.jpg@01CF62F0.6DBAB760 [cid:image001.jpg@01CF62F0.6DBAB760cid:image001.jpg@01CF62F0.6DBAB760%20[cid:image001.jpg@01CF62F0.6DBAB760]]
Piramide ICT Services | Kollergang 9 | 7773 NG Hardenberg | Postbus 220 | 7770 AE Hardenberg info@piramide.nlmailto:info@piramide.nl [mailto:info@piramide.nl] [mailto:info@piramide.nl [mailto:info@piramide.nlmailto:info@piramide.nl%20[mailto:info@piramide.nl]] | http://www.piramide.nl [http://www.piramide.nl] [http://www.piramide.nl] | +31 (0)523 261 387
Disclaimer
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet toegestaan. Piramide sluit iedere aansprakelijkheid uit die voortvloeit uit elektronische verzending.
_______________________________________________
observium mailing list
observium@observium.orgmailto:observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://postman.memetic.org/pipermail/observium/attachments/20160512/aac259f9/attachment-0001.html
participants (1)
-
Jan Kuiper