{"action":"created","issue":{"url":"https://api.github.com/repos/piwik/piwik/issues/9282","labels_url":"https://api.github.com/repos/piwik/piwik/issues/9282/labels{/name}","comments_url":"https://api.github.com/repos/piwik/piwik/issues/9282/comments","events_url":"https://api.github.com/repos/piwik/piwik/issues/9282/events","html_url":"https://github.com/piwik/piwik/issues/9282","id":118975000,"number":9282,"title":"problem after upgrade 2.2.0 -> 2.15.0 and specific dual setup","user":{"login":"dev-101","id":5383059,"avatar_url":"https://avatars.githubusercontent.com/u/5383059?v=3","gravatar_id":"","url":"https://api.github.com/users/dev-101","html_url":"https://github.com/dev-101","followers_url":"https://api.github.com/users/dev-101/followers","following_url":"https://api.github.com/users/dev-101/following{/other_user}","gists_url":"https://api.github.com/users/dev-101/gists{/gist_id}","starred_url":"https://api.github.com/users/dev-101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dev-101/subscriptions","organizations_url":"https://api.github.com/users/dev-101/orgs","repos_url":"https://api.github.com/users/dev-101/repos","events_url":"https://api.github.com/users/dev-101/events{/privacy}","received_events_url":"https://api.github.com/users/dev-101/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-26T05:37:08Z","updated_at":"2015-11-29T22:33:57Z","closed_at":null,"body":"Hi, I am experiencing some issues with angular.js and 403 access forbidden, so the top menus with date etc. are not displaying in first domain (website comes with 2 unique domains, tracked as one).\r\n\r\nSetup:\r\n\r\n>domain # 1 + own piwik installation + js tracking code A => one common database (issue below)\r\n>domain # 2 + own piwik installation + js tracking code B => one common database (working fine)\r\n\r\nSame server, database, php, browser, everything. All visits are tracked together, there are no 2 different installations technically (except on the file sys level). Everything was working fine with 2.2.0 versions, until yesterday when I decided to upgrade.\r\n\r\nThe complex setup was done to avoid issues with cross-domain scripting protection and firewall used in my hosting. Also, for historical reasons, once they were a single domain, now separated. No separate prefixes in db, just to be clear.\r\n\r\nScrenshoot:\r\n\r\n![piwik-toolbar](https://cloud.githubusercontent.com/assets/5383059/11415952/656baa28-9409-11e5-944f-16b965a7be39.png)\r\n\r\nConsole:\r\n\r\n![piwik-console-errors](https://cloud.githubusercontent.com/assets/5383059/11424615/e25838b8-944e-11e5-840b-ac29e87d90bd.png)\r\n\r\nAfter the upgrade was performed via domain # 2 (and database was updated from there), when I visit domain # 1/piwik, the above 403 and issue with angular occurs, generating thousands of repetitive/cycling errors in console. domain # 2/piwik is working perfectly fine. Files were unzipped directly on the server multiple times, and checked offline via d/l, everything matches (except different configs), so that is not the issue.\r\n\r\nAlso interesting, when I try from admin to edit Websites table, and add multiple domains in new lines, it now does not work properly, it replaces the domain # 1 with domain # 2 cloned version. Only way I can do this is to restore it directly in database. But, now does not make any difference, anyway.\r\n\r\nRe-installation on domain # 1 is not gonna solve this, when I temporarily renamed config, angular.js still failed to load on setup pages.\r\n\r\n```\r\n\"...\" is domain # 1\r\n\r\nGET http:// ... /403.php 403 (Access Forbidden)(anonymous function) @ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:191s\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:186f\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:183J\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:213J\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:213(anonymous function)\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:214h.$eval\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:225h.$digest\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:222h.$apply\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:225(anonymous function)\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:130d\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:147c\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:130dc\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:130Wc\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:129(anonymous function)\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:328j @ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:4k.fireWith\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:4m.extend.ready\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:4J\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:4\r\nindex.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:204\r\n\r\nError: [$compile:tpload] http://errors.angularjs.org/1.2.28/$compile/tpload?p0=plugins%2FCoreHome%2F…ctor%2Fsiteselector.directive.html%3Fcb%3De75ca39379e91361b8a9f29d815e9f82\r\n    at Error (native)\r\n    at http:// ... /piwik/index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:118:450\r\n    at http:// ... /piwik/index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:173:148\r\n    at http:// ... /piwik/index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:184:286\r\n    at w (http:// ... /piwik/index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:213:167)\r\n    at w (http:// ... /piwik/index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:213:167)\r\n    at http:// ... /piwik/index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:214:428\r\n    at h.$eval (http:// ... /piwik/index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:225:32)\r\n    at h.$digest (http:// ... /piwik/index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:222:117)\r\n    at h.$apply (http:// ... /piwik/index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:225:362)(anonymous function)\r\n\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:204(anonymous function)\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:180w\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:213w\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:213(anonymous function)\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:214h.$eval\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:225h.$digest\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:222h.$apply\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:225m\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:184w\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:189B.onreadystatechange\r\n@ index.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:191\r\nindex.php?module=Proxy&action=getCoreJs&cb=e75ca39379e91361b8a9f29d815e9f82:191\r\n```\r\n\r\nErrors infinitely repeats afterwards several times per second. Why is it 403 forbidden on this domain (when it points to it, not the other one), and works fine on second domain?\r\n\r\nI mean, it is not such a big deal in the end, both domains access and reads same data, only I am curious why in the first domain # 1 scripts w date selection are not loaded, and some settings in admin pages which depend on those scripts.\r\n\r\nDiagnostics shows couple of performance issues, nothing related.\r\n\r\nWhat could be wrong with 2.15.0 and this setup? Why it was fine in old version?\r\nThanks"},"comment":{"url":"https://api.github.com/repos/piwik/piwik/issues/comments/160478230","html_url":"https://github.com/piwik/piwik/issues/9282#issuecomment-160478230","issue_url":"https://api.github.com/repos/piwik/piwik/issues/9282","id":160478230,"user":{"login":"tsteur","id":273120,"avatar_url":"https://avatars.githubusercontent.com/u/273120?v=3","gravatar_id":"","url":"https://api.github.com/users/tsteur","html_url":"https://github.com/tsteur","followers_url":"https://api.github.com/users/tsteur/followers","following_url":"https://api.github.com/users/tsteur/following{/other_user}","gists_url":"https://api.github.com/users/tsteur/gists{/gist_id}","starred_url":"https://api.github.com/users/tsteur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsteur/subscriptions","organizations_url":"https://api.github.com/users/tsteur/orgs","repos_url":"https://api.github.com/users/tsteur/repos","events_url":"https://api.github.com/users/tsteur/events{/privacy}","received_events_url":"https://api.github.com/users/tsteur/received_events","type":"User","site_admin":false},"created_at":"2015-11-29T22:33:57Z","updated_at":"2015-11-29T22:33:57Z","body":"One thing to try would be to compare whether both servers contain the same files. Eg download the Piwik directory from both servers, clear the `piwik/tmp` directory and compare the content with a `diff` tool or so. Maybe server one is missing something"}}