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

Error while creating a new segment with specific filter #4497

Closed
anonymous-matomo-user opened this issue Jan 9, 2014 · 11 comments
Closed

Error while creating a new segment with specific filter #4497

anonymous-matomo-user opened this issue Jan 9, 2014 · 11 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@anonymous-matomo-user
Copy link

Adding new segment with filter "Visitor IP" "NOT EQUALS" "XXX.XXX.XXX.XXX" (a specific IP) will not be saved. The other way around works fine: "Visitor IP" "EQUALS" "XXX.XXX.XXX.XXX"

Keywords: Segment Editor

@anonymous-matomo-user
Copy link
Author

It seems, nothing except "EQUALS" can be saved with the Segment Editor

@mattab
Copy link
Member

mattab commented Jan 13, 2014

Please test with 2.0.3-beta, it works for me there. If it still does not work for you in 2.0.3 beta what browser are you using?

@anonymous-matomo-user
Copy link
Author

Updated to 2.0.3 (it's not beta anymore) no success.

Tried in any browser: IE11, Chrome, Opera, Firefox, all the same. The new segment is not saved, but the dashboard starts loading in the background.

Am I doing something wrong? This installation has been updated from 1.x to the latest over the frontend ... we also did a database update for the system, but did not solve the issue.

@anonymous-matomo-user
Copy link
Author

Attachment: Screenshot shows the segment editor in the moment when you submit/save the new segment
segment-editor.png

@mattab
Copy link
Member

mattab commented Jan 16, 2014

If you look at the Visitors>Visitor log and then create the segment, do you see the same behavior?

@anonymous-matomo-user
Copy link
Author

Attachment: Same error appears under visitor log.
segment-editor-visitor-log.png

@anonymous-matomo-user
Copy link
Author

Yes, same error. The only thing that is going to work is any filter with the operator "equals", this is loaded instantly (btw. it's not a heavy traffic page)

@mattab
Copy link
Member

mattab commented Jan 21, 2014

can you open the Firebug tool, NET panel, and see the http request done when you create the segment. Can you "copy the URL" and paste here?

And when you open this URL, do you see an error displayed on the screen?

@anonymous-matomo-user
Copy link
Author

Replying to matt:

can you open the Firebug tool, NET panel, and see the http request done when you create the segment. Can you "copy the URL" and paste here?

http://<domain-removed>/index.php?date=2014-01-21&name=&definition=visitIp!%3D<ip-removed>&enabledAllUsers=0&autoArchive=0&idSite=1&module=API&format=json&method=SegmentEditor.add&period=day&token_auth=d80c9aa9468d38515c9ae45e9d453beb

And when you open this URL, do you see an error displayed on the screen?

I see a 403 and now I think I know where this comes from. We have mod_Security enabled and this URL looks like this module will not like the pattern.

I will check this and come back to close this issue.

1 similar comment
@anonymous-matomo-user
Copy link
Author

Replying to matt:

can you open the Firebug tool, NET panel, and see the http request done when you create the segment. Can you "copy the URL" and paste here?

http://<domain-removed>/index.php?date=2014-01-21&name=&definition=visitIp!%3D<ip-removed>&enabledAllUsers=0&autoArchive=0&idSite=1&module=API&format=json&method=SegmentEditor.add&period=day&token_auth=d80c9aa9468d38515c9ae45e9d453beb

And when you open this URL, do you see an error displayed on the screen?

I see a 403 and now I think I know where this comes from. We have mod_Security enabled and this URL looks like this module will not like the pattern.

I will check this and come back to close this issue.

@anonymous-matomo-user
Copy link
Author

Ticket can be closed. Issue raised due to security restrictions of our own installation. This was fixed.

@anonymous-matomo-user anonymous-matomo-user added this to the 2.1 - Piwik 2.1 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants