@anonymous-piwik-user opened this Issue on January 9th 2014

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-piwik-user commented on January 15th 2014

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

@anonymous-piwik-user commented on January 16th 2014

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

@anonymous-piwik-user commented on January 9th 2014

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

@mattab commented on January 13th 2014 Owner

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-piwik-user commented on January 15th 2014

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.

@mattab commented on January 16th 2014 Owner

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

@anonymous-piwik-user commented on January 16th 2014

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 commented on January 21st 2014 Owner

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-piwik-user commented on January 21st 2014

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-piwik-user commented on January 21st 2014

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-piwik-user commented on January 21st 2014

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

This Issue was closed on January 21st 2014
Powered by GitHub Issue Mirror